/* ==========================================================================
   Externo - Pricing page (xp-*)
   Loads after style.css; touches only xp- classes. Light page, one ink focal
   point (the quote panel), gold reserved for the number itself.
   ========================================================================== */

.xp-main {
  overflow-x: clip;
}

.xp-container {
  max-width: var(--ext-site-max-width, 1500px);
  margin: 0 auto;
  padding: 0 var(--ext-site-gutter, 60px);
}

.xp-ink {
  --xp-ink: #0b0b0d;
  --xp-ink-2: #16161a;
  --xp-snow: #f6f4f1;
  --xp-dim: rgba(246, 244, 241, 0.66);
  --xp-line: rgba(246, 244, 241, 0.13);
}

/* screen-reader-only live region */
.xp-sr-live {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* -------------------------------- hero ---------------------------------- */
.xp-hero {
  position: relative;
  padding: clamp(56px, 9vh, 110px) 0 clamp(32px, 5vh, 56px);
  text-align: center;
}

.xp-hero > * {
  position: relative;
}

.xp-eyebrow {
  display: inline-block;
  margin: 0 0 16px;
  padding: 9px 18px;
  border: 1px solid rgba(17, 19, 21, 0.12);
  border-radius: 999px;
  background: #fff;
  font: 700 12.5px/1 var(--ext-font-secondary);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ext-muted);
}

.xp-hero h1 {
  margin: 0 auto 18px;
  max-width: 18ch;
  font: 600 clamp(38px, 5vw, 68px)/1.05 var(--ext-font-primary);
  letter-spacing: -0.03em;
  color: var(--ext-ink);
}

/* an underline, not a rotated highlighter box */
.xp-hero h1 em {
  position: relative;
  font-style: normal;
  white-space: nowrap;
}

.xp-hero h1 em::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0.02em;
  left: 0;
  height: 0.14em;
  border-radius: 999px;
  background: var(--ext-accent);
}

.xp-hero-sub {
  margin: 0 auto;
  max-width: 60ch;
  font: 500 clamp(16px, 1.35vw, 19px)/1.6 var(--ext-font-secondary);
  color: var(--ext-muted);
}

.xp-hero-note {
  margin: 22px auto 0;
  font: 600 14px/1.4 var(--ext-font-secondary);
  color: var(--ext-muted);
}

.xp-hero-note strong {
  color: var(--ext-ink);
}

/* ----------------------------- configurator ------------------------------ */
.xp-config {
  padding: 0 0 clamp(56px, 8vh, 100px);
}

.xp-config-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px 24px;
  padding-bottom: clamp(20px, 2.4vw, 30px);
}

.xp-config-title {
  margin: 0;
  font: 600 clamp(22px, 2.2vw, 30px)/1.2 var(--ext-font-primary);
  letter-spacing: -0.02em;
  color: var(--ext-ink);
}

/* --- region switch (segmented) --- */
.xp-region {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(17, 19, 21, 0.1);
  border-radius: 999px;
  background: #fff;
}

.xp-region-label {
  padding: 0 10px 0 12px;
  font: 600 12.5px/1 var(--ext-font-secondary);
  letter-spacing: 0.04em;
  color: var(--ext-muted);
  white-space: nowrap;
}

.xp-region-btn {
  padding: 9px 16px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font: 600 13.5px/1 var(--ext-font-secondary);
  color: var(--ext-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.xp-region-btn:hover {
  color: var(--ext-ink);
}

.xp-region-btn.is-on {
  background: var(--ext-ink);
  color: #fff;
}

/* --- layout --- */
/* stretch, not start: both columns end on the same line */
.xp-config-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(16px, 2vw, 30px);
  align-items: stretch;
}

/* --- service picker --- */
.xp-picker {
  display: flex;
}

.xp-picker-list {
  display: grid;
  align-content: space-between;
  gap: 4px;
  width: 100%;
  padding: 10px;
  border: 1px solid rgba(17, 19, 21, 0.1);
  border-radius: 22px;
  background: #fff;
}

.xp-picker-item {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding: 14px 16px;
  border: 0;
  border-radius: 14px;
  background: transparent;
  font: 600 15.5px/1.3 var(--ext-font-primary);
  letter-spacing: -0.01em;
  color: var(--ext-ink);
  text-align: left;
  cursor: pointer;
  transition: background-color 0.25s ease, color 0.25s ease;
}

.xp-picker-item:hover {
  background: rgba(17, 19, 21, 0.045);
}

.xp-picker-n {
  flex: 0 0 auto;
  font: 700 12px/1 var(--ext-font-secondary);
  letter-spacing: 0.1em;
  color: #8f6400;
  transition: color 0.25s ease;
}

.xp-picker-item.is-on {
  background: var(--ext-ink);
  color: #fff;
}

.xp-picker-item.is-on .xp-picker-n {
  color: var(--ext-accent);
}

/* the native control only exists below the breakpoint */
.xp-picker-select {
  display: none;
}

/* --- quote panel ---
   Soft grey against the white picker, the same relationship the contact card
   uses (.ext-contact-panel). No radial glow: on a light surface it just reads
   as a smudge. */
.xp-quote {
  display: flex;
  flex-direction: column;
  padding: clamp(26px, 3vw, 40px);
  border: 1px solid rgba(17, 19, 21, 0.1);
  border-radius: 26px;
  background: linear-gradient(160deg, #fafbfc 0%, #f1f2f4 100%);
  color: var(--ext-ink);
}

.xp-quote-eyebrow {
  margin: 0 0 10px;
  font: 700 12px/1 var(--ext-font-secondary);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8f6400;
}

.xp-quote-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 8px;
}

/* Ink, not gold: at this size gold on a light panel fails contrast, and the
   number is the thing that has to be unambiguous. */
.xp-quote-amount {
  font: 600 clamp(38px, 5vw, 62px)/1 var(--ext-font-primary);
  letter-spacing: -0.035em;
  color: var(--ext-ink);
  font-variant-numeric: tabular-nums;
}

.xp-quote-period {
  font: 600 clamp(15px, 1.4vw, 18px)/1 var(--ext-font-secondary);
  color: var(--ext-muted);
}

.xp-quote-billing {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: start;
  margin: 0 0 clamp(22px, 2.6vw, 30px);
  padding: 8px 14px;
  border: 1px solid rgba(17, 19, 21, 0.12);
  border-radius: 999px;
  background: #fff;
  font: 600 12.5px/1 var(--ext-font-secondary);
  color: var(--ext-ink);
}

.xp-quote-billing::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--ext-accent);
}

.xp-quote-billing[data-billing="month"]::before {
  background: #1f9d55;
}

.xp-quote-body {
  padding-top: clamp(22px, 2.6vw, 30px);
  border-top: 1px solid rgba(17, 19, 21, 0.1);
}

.xp-quote-name {
  margin: 0 0 8px;
  font: 600 clamp(19px, 1.9vw, 25px)/1.2 var(--ext-font-primary);
  letter-spacing: -0.02em;
  color: var(--ext-ink);
}

.xp-quote-blurb {
  margin: 0 0 20px;
  max-width: 46ch;
  font: 500 15px/1.6 var(--ext-font-secondary);
  color: var(--ext-muted);
}

.xp-quote-includes {
  display: grid;
  gap: 11px;
  margin: 0 0 clamp(24px, 3vw, 32px);
  padding: 0;
  list-style: none;
}

.xp-quote-includes li {
  position: relative;
  padding-left: 28px;
  font: 500 15px/1.5 var(--ext-font-secondary);
  color: var(--ext-ink);
}

.xp-quote-includes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 193, 61, 0.28);
}

.xp-quote-includes li::after {
  content: "";
  position: absolute;
  left: 5.5px;
  top: 7.5px;
  width: 7px;
  height: 4px;
  border-left: 2px solid #8f6400;
  border-bottom: 2px solid #8f6400;
  transform: rotate(-45deg);
}

.xp-quote-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px 20px;
}

.xp-quote-actions .ext-capsule-meet-btn {
  width: auto;
  padding: 0 28px;
  border-color: var(--ext-ink);
  background: var(--ext-ink);
  color: #fff;
}

.xp-quote-actions .ext-capsule-meet-btn:hover {
  background: var(--ext-accent);
  border-color: var(--ext-accent);
  color: var(--ext-ink);
}

.xp-quote-more {
  font: 600 14px/1 var(--ext-font-secondary);
  color: var(--ext-muted);
  border-bottom: 1px solid rgba(17, 19, 21, 0.24);
  padding-bottom: 3px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.xp-quote-more:hover {
  color: var(--ext-ink);
  border-color: var(--ext-ink);
}

/* pinned to the bottom so both columns end on the same line */
.xp-quote-note {
  margin: clamp(20px, 2.4vw, 28px) 0 0;
  padding-top: clamp(18px, 2vw, 22px);
  border-top: 1px solid rgba(17, 19, 21, 0.1);
  font: 500 13px/1.55 var(--ext-font-secondary);
  color: var(--ext-muted);
}

/* ------------------------------ custom scope ----------------------------- */
.xp-custom {
  padding: clamp(48px, 7vh, 90px) 0;
  background: #fff8ec;
}

.xp-custom-head h2 {
  margin: 0 0 8px;
  text-align: center;
  font: 600 clamp(28px, 3.2vw, 44px)/1.1 var(--ext-font-primary);
  letter-spacing: -0.02em;
  color: var(--ext-ink);
}

.xp-custom-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
}

.xp-custom-card {
  padding: 24px 26px;
  background: #fff;
  border: 1px solid rgba(17, 19, 21, 0.08);
  border-radius: 18px;
}

.xp-custom-card h3 {
  margin: 0 0 8px;
  font: 600 17px/1.3 var(--ext-font-primary);
  color: var(--ext-ink);
}

.xp-custom-card p {
  margin: 0;
  font: 500 14px/1.6 var(--ext-font-secondary);
  color: var(--ext-muted);
}

.xp-custom-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding-top: clamp(28px, 3.5vw, 42px);
}

.xp-custom-actions .ext-capsule-meet-btn {
  width: auto;
  padding: 0 30px;
}

.xp-custom-note {
  margin: 0;
  font: 500 13.5px/1.4 var(--ext-font-secondary);
  color: var(--ext-muted);
}

/* --------------------------- included strip ------------------------------ */
.xp-included {
  padding: clamp(48px, 7vh, 90px) 0;
}

.xp-included h2,
.xp-steps h2,
.xp-faq h2 {
  margin: 0 0 8px;
  text-align: center;
  font: 600 clamp(28px, 3.2vw, 44px)/1.1 var(--ext-font-primary);
  letter-spacing: -0.02em;
  color: var(--ext-ink);
}

.xp-section-sub {
  margin: 0 auto clamp(28px, 4vh, 48px);
  max-width: 54ch;
  text-align: center;
  font: 500 clamp(15px, 1.2vw, 17px)/1.6 var(--ext-font-secondary);
  color: var(--ext-muted);
}

.xp-included-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
}

.xp-included-card {
  padding: 22px 24px;
  background: #fff;
  border: 1px solid rgba(17, 19, 21, 0.08);
  border-radius: 18px;
}

.xp-included-card h3 {
  margin: 0 0 6px;
  font: 600 17px/1.3 var(--ext-font-primary);
  color: var(--ext-ink);
}

.xp-included-card p {
  margin: 0;
  font: 500 14px/1.55 var(--ext-font-secondary);
  color: var(--ext-muted);
}

/* ------------------------------- steps ----------------------------------- */
.xp-steps {
  padding: 0 0 clamp(56px, 8vh, 100px);
}

.xp-steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 1.6vw, 24px);
}

.xp-step {
  padding: 26px 28px;
  border: 1px solid rgba(17, 19, 21, 0.1);
  border-radius: 20px;
  background: #fff;
}

.xp-step-tag {
  display: inline-block;
  margin: 0 0 12px;
  padding: 6px 14px;
  background: rgba(255, 193, 61, 0.18);
  border-radius: 999px;
  font: 700 12px/1 var(--ext-font-secondary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8f6400;
}

.xp-step h3 {
  margin: 0 0 8px;
  font: 600 20px/1.25 var(--ext-font-primary);
  color: var(--ext-ink);
}

.xp-step p {
  margin: 0;
  font: 500 15px/1.55 var(--ext-font-secondary);
  color: var(--ext-muted);
}

/* -------------------------------- faq ------------------------------------ */
.xp-faq {
  padding: 0 0 clamp(56px, 8vh, 96px);
}

.xp-faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.xp-faq-item {
  background: #fff;
  border: 1px solid rgba(17, 19, 21, 0.1);
  border-radius: 16px;
  overflow: hidden;
}

.xp-faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px 22px;
  cursor: pointer;
  list-style: none;
  font: 600 clamp(15.5px, 1.2vw, 17.5px)/1.4 var(--ext-font-primary);
  color: var(--ext-ink);
}

.xp-faq-item summary::-webkit-details-marker {
  display: none;
}

.xp-faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 19, 21, 0.16);
  border-radius: 50%;
  font: 500 18px/1 var(--ext-font-primary);
  color: var(--ext-ink);
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.xp-faq-item[open] summary::after {
  content: "\2212";
  background: var(--ext-accent);
  border-color: var(--ext-accent);
}

.xp-faq-item p {
  margin: 0;
  padding: 0 22px 20px;
  font: 500 15px/1.65 var(--ext-font-secondary);
  color: var(--ext-muted);
  max-width: 68ch;
}

/* -------------------------------- cta ------------------------------------
   A contained ink card on a white surround. It used to be a full-bleed gold
   band, which trapped a white strip between it and the footer's gold - the
   footer opens with a white curve because it assumes a white page above. */
.xp-cta {
  padding: 0 0 clamp(64px, 9vh, 110px);
}

.xp-cta .xp-container > * {
  position: relative;
}

.xp-cta-inner,
.xp-cta > .xp-container {
  position: relative;
}

.xp-cta > .xp-container::before {
  content: "";
  position: absolute;
  inset: 0 var(--ext-site-gutter, 60px);
  border-radius: 28px;
  background: #14161a;
}

.xp-cta h2 {
  margin: 0 0 12px;
  padding-top: clamp(48px, 6vw, 76px);
  text-align: center;
  font: 600 clamp(28px, 3.4vw, 48px)/1.08 var(--ext-font-primary);
  letter-spacing: -0.025em;
  color: #f6f4f1;
}

.xp-cta p {
  margin: 0 auto 30px;
  max-width: 46ch;
  text-align: center;
  font: 500 clamp(15px, 1.3vw, 18px)/1.6 var(--ext-font-secondary);
  color: rgba(246, 244, 241, 0.66);
}

.xp-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-bottom: clamp(48px, 6vw, 76px);
}

.xp-cta-actions .ext-capsule-meet-btn {
  width: auto;
  padding: 0 28px;
  border-color: var(--ext-accent);
  background: var(--ext-accent);
  color: #0b0b0d;
}

.xp-cta-actions .ext-capsule-meet-btn:hover {
  background: #fff;
  border-color: #fff;
}

.xp-cta-wa {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(246, 244, 241, 0.3);
  border-radius: 50%;
  color: #f6f4f1;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease,
    border-color 0.25s ease;
}

.xp-cta-wa svg {
  width: 24px;
  height: 24px;
}

.xp-cta-wa:hover,
.xp-cta-wa:focus-visible {
  background: var(--ext-accent);
  border-color: var(--ext-accent);
  color: #0b0b0d;
  transform: scale(1.06);
}

/* ----------------------------- responsive -------------------------------- */
@media (max-width: 1100px) {
  .xp-config-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  /* below this the list becomes a native select: nine tall rows above the
     answer pushes the price off-screen on a phone */
  .xp-picker-list {
    display: none;
  }

  .xp-picker-select {
    display: grid;
    gap: 8px;
    padding: 16px 18px;
    border: 1px solid rgba(17, 19, 21, 0.1);
    border-radius: 18px;
    background: #fff;
  }

  .xp-picker-select-label {
    font: 700 11.5px/1 var(--ext-font-secondary);
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--ext-muted);
  }

  .xp-picker-select select {
    width: 100%;
    padding: 12px 40px 12px 14px;
    border: 1px solid rgba(17, 19, 21, 0.14);
    border-radius: 12px;
    background: #fff
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23111315' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E")
      no-repeat right 14px center / 16px 16px;
    font: 600 15.5px/1.2 var(--ext-font-primary);
    color: var(--ext-ink);
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
  }

  .xp-custom-grid,
  .xp-included-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1023px) {
  .xp-steps-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin: 0 auto;
  }
}

@media (max-width: 640px) {
  .xp-container {
    padding: 0 var(--ext-site-gutter-mobile, 24px);
  }

  .xp-cta > .xp-container::before {
    inset: 0 var(--ext-site-gutter-mobile, 24px);
    border-radius: 22px;
  }

  .xp-config-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .xp-region {
    align-self: stretch;
    justify-content: space-between;
  }

  .xp-region-label {
    display: none;
  }

  .xp-region-btn {
    flex: 1;
    text-align: center;
  }

  .xp-custom-grid,
  .xp-included-grid {
    grid-template-columns: 1fr;
  }

  .xp-quote-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .xp-quote-actions .ext-capsule-meet-btn {
    width: 100%;
  }

  .xp-quote-more {
    text-align: center;
  }
}

/* --------------------------- reduced motion ------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .xp-picker-item,
  .xp-region-btn,
  .xp-cta-wa,
  .xp-quote-more,
  .xp-faq-item summary::after {
    transition-duration: 0.01s;
  }
}
