/* ==========================================================================
   Pricing page + get-started flow. Reuses site.css tokens and components;
   this file only adds the pr- pieces those pages need.
   ========================================================================== */

/* ---------- Category switcher ---------- */
.pr-tabs {
  display: inline-flex;
  gap: 4px;
  padding: 5px;
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
  margin: 0 auto;
}
.pr-tabs-wrap { text-align: center; margin-bottom: clamp(34px, 4.5vw, 52px); }
.pr-tab {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14.5px;
  letter-spacing: .01em;
  color: var(--ink-soft);
  background: transparent;
  border: none;
  border-radius: 999px;
  padding: 11px 22px;
  cursor: pointer;
  transition: background .18s, color .18s, box-shadow .18s;
  white-space: nowrap;
}
.pr-tab:hover { color: var(--ink); }
.pr-tab[aria-selected="true"] {
  background: var(--navy);
  color: #fff;
  box-shadow: 0 6px 16px -6px rgba(10, 25, 49, .45);
}
.pr-tab:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }
@media (max-width: 640px) {
  .pr-tabs { width: 100%; }
  .pr-tab { flex: 1; padding: 11px 8px; font-size: 12.5px; }
}

/* ---------- Tier cards ---------- */
.pr-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.2vw, 28px);
  align-items: stretch;
  max-width: 1120px;
  margin: 0 auto;
}
.pr-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(26px, 2.6vw, 34px) clamp(22px, 2.2vw, 30px);
  box-shadow: var(--shadow-card);
}
.pr-card--featured {
  border: 1.5px solid var(--cyan);
  box-shadow: 0 2px 4px rgba(10, 25, 49, .05), 0 24px 56px -20px rgba(8, 204, 252, .35);
}
@media (min-width: 861px) {
  .pr-card--featured { margin-top: -14px; margin-bottom: -14px; padding-top: 44px; padding-bottom: 40px; }
}
.pr-badge {
  position: absolute;
  top: -13px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy-2);
  background: var(--cyan);
  border-radius: 999px;
  padding: 5px 14px;
  white-space: nowrap;
}
.pr-name { font-size: 21px; }
.pr-tag { color: var(--ink-soft); font-size: 15px; margin-top: 2px; min-height: 2.6em; }
.pr-price { margin: 14px 0 4px; }
.pr-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(32px, 3vw, 38px);
  letter-spacing: -0.02em;
  color: var(--navy);
}
.pr-per { font-family: var(--font-display); font-weight: 600; font-size: 16px; color: var(--ink-faint); margin-left: 2px; }
.pr-fit {
  font-size: 13.5px;
  color: var(--ink-soft);
  background: var(--mist);
  border-radius: 9px;
  padding: 9px 12px;
  margin: 10px 0 2px;
}
.pr-fit strong { color: var(--ink); }
.pr-incl { list-style: none; margin: 18px 0 24px; padding: 0; flex: 1; }
.pr-incl li {
  position: relative;
  padding: 7px 0 7px 28px;
  font-size: 15px;
  color: var(--ink-soft);
  border-top: 1px solid var(--line);
}
.pr-incl li:first-child { border-top: none; }
.pr-incl li::before {
  content: "✓";
  position: absolute;
  left: 2px; top: 7px;
  font-weight: 700;
  color: var(--teal);
}
.pr-cta { width: 100%; justify-content: center; }
/* The recommended tier carries the accent, like everywhere else on the site */
.pr-card--featured .pr-cta { background: var(--cyan); color: var(--navy-2); }
.pr-card--featured .pr-cta:hover { box-shadow: 0 10px 30px -8px rgba(8, 204, 252, .45); }
.pr-card--featured .pr-cta .arrow { background: rgba(8, 15, 30, .16); }
.pr-tab-note {
  text-align: center;
  font-style: italic;
  color: var(--ink-faint);
  font-size: 15px;
  margin-top: clamp(22px, 3vw, 30px);
}
@media (max-width: 860px) {
  .pr-grid { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
  .pr-card--featured { order: -1; }
  .pr-tag { min-height: 0; }
}

/* ---------- Custom panel ---------- */
.pr-custom {
  max-width: 1120px;
  margin: clamp(36px, 5vw, 56px) auto 0;
  background: var(--navy-2);
  color: #fff;
  border-radius: var(--radius);
  padding: clamp(30px, 3.6vw, 46px) clamp(24px, 3.6vw, 48px);
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) auto;
  gap: clamp(20px, 3vw, 44px);
  align-items: center;
}
.pr-custom h3 { font-size: clamp(20px, 2.2vw, 25px); }
.pr-custom p { color: var(--dark-body); font-size: 15.5px; margin-top: 8px; max-width: 640px; }
@media (max-width: 760px) { .pr-custom { grid-template-columns: minmax(0, 1fr); } }

/* ---------- Add-ons ---------- */
.pr-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3.5vw, 56px);
  max-width: 960px;
  margin: 0 auto;
}
@media (max-width: 720px) { .pr-cols { grid-template-columns: minmax(0, 1fr); } }
.pr-col h3 { font-size: 18px; margin-bottom: 8px; }
.pr-col ul { list-style: none; margin: 0; padding: 0; }
.pr-col li {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15.5px;
  color: var(--ink-soft);
}
.pr-col li b { font-family: var(--font-display); font-weight: 600; color: var(--navy); white-space: nowrap; }
.pr-addon-note {
  max-width: 960px;
  margin: clamp(22px, 3vw, 30px) auto 0;
  font-size: 14.5px;
  color: var(--ink-faint);
}

/* ---------- FAQ accordion ---------- */
.pr-faq { max-width: 760px; margin: 0 auto; }
.pr-faq details { border-top: 1px solid var(--line); }
.pr-faq details:last-child { border-bottom: 1px solid var(--line); }
.pr-faq summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 2px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 17px;
  color: var(--ink);
}
.pr-faq summary::-webkit-details-marker { display: none; }
.pr-faq summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 22px;
  color: var(--cyan);
  line-height: 1;
  transition: transform .2s var(--ease-out);
}
.pr-faq details[open] summary::after { transform: rotate(45deg); }
.pr-faq summary:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; border-radius: 6px; }
.pr-faq .a { padding: 0 2px 22px; color: var(--ink-soft); font-size: 15.5px; max-width: 680px; }

/* ---------- Get-started page ---------- */
.pr-start-shell { max-width: 640px; margin: 0 auto; }
.pr-chip {
  display: inline-block;
  font-size: 14.5px;
  color: var(--ink-soft);
  background: var(--mist);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 18px;
  margin-bottom: 26px;
}
.pr-chip b { color: var(--navy); font-weight: 700; }
.field select, .field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: var(--mist);
  color: var(--ink);
  transition: border-color .16s, background .16s;
}
.field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: #fff; }
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%236B7A94' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}
.field textarea { resize: vertical; min-height: 96px; }
.pr-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; }
@media (max-width: 560px) { .pr-2col { grid-template-columns: 1fr; } }
.pr-form-note {
  font-size: 14.5px;
  border-radius: 10px;
  padding: 13px 16px;
  margin: 4px 0 18px;
}
.pr-note--upgrade { background: rgba(8, 204, 252, .10); border: 1px solid rgba(8, 204, 252, .45); color: var(--ink); }
.pr-note--custom { background: rgba(124, 111, 255, .10); border: 1px solid rgba(124, 111, 255, .40); color: var(--ink); }
.pr-switch {
  display: inline-block;
  font: inherit;
  font-weight: 700;
  font-size: 14px;
  color: var(--navy);
  background: var(--cyan);
  border: none;
  border-radius: 999px;
  padding: 6px 14px;
  margin-top: 8px;
  cursor: pointer;
}
.pr-linklike {
  background: none;
  border: none;
  font: inherit;
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: underline;
  cursor: pointer;
  margin-top: 12px;
}
.pr-error { color: #C0392B; font-size: 14px; margin-top: 12px; }
.pr-success { text-align: center; padding: 30px 0 10px; }
.pr-success .tick {
  width: 52px; height: 52px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: rgba(0, 180, 166, .12);
  color: var(--teal);
  display: flex; align-items: center; justify-content: center;
}
.pr-success h2 { font-size: 24px; margin-bottom: 10px; }
.pr-success p { color: var(--ink-soft); max-width: 460px; margin: 0 auto 24px; }
