/* Pricing page (/pricing). Loaded after site.css. Only pr-* classes live here (plan 3.10).
   Section colours come from site.css section themes (--s-*); the fallbacks below are the same
   values, so the page also reads correctly on its own. */

.pr-hero, .pr-calc-sec, .pr-incl-sec, .pr-faq-sec { font-variant-numeric: tabular-nums; border-top: 0; }

/* ---- Hero + tiers (one dark band) ------------------------------------------------------------ */
.pr-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: #090B0F; color: var(--s-text, #FFFFFF);
  padding-bottom: clamp(72px, 9vw, 128px);
}
.pr-hero::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  left: 50%; top: -240px; width: min(1100px, 140vw); height: 640px; transform: translateX(-50%);
  background: radial-gradient(closest-side, rgb(255 106 0 / .18), rgb(255 106 0 / 0));
}
.pr-hero-inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.pr-hero .crumbs { align-self: center; margin-bottom: 20px; }
.pr-hero .crumbs, .pr-hero .crumbs a { color: #A7ADB7; }
.pr-hero .crumbs a:hover { color: #FFFFFF; }

.pr-eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 16px;
  font-size: .8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; line-height: 1.3;
  color: var(--s-accent-text, #C2410C);
}
.pr-hero .pr-eyebrow { color: var(--s-accent-text, #FF8A3D); }
.pr-eyebrow::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: #FF6A00; }

.pr-title {
  max-width: 18ch; margin: 0 auto; color: #FFFFFF;
  font-size: var(--fs-page, clamp(2.25rem, 1.2rem + 3.2vw, 4rem)); font-weight: 700; line-height: 1.05; letter-spacing: -.03em;
  text-wrap: balance;
}
.pr-sub {
  max-width: 62ch; margin: 20px auto 0; color: var(--s-text-2, #A7ADB7);
  font-size: var(--fs-sub, clamp(1.125rem, 1rem + .5vw, 1.5rem)); line-height: 1.5;
}
.pr-trial { display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 0; color: #D1D5DB; font-size: .9375rem; }
@media (max-width: 479px) { .pr-trial { align-items: flex-start; text-align: left; max-width: 32ch; } .pr-tick { margin-top: 1px; } }   /* keep the tick beside the first line */
.pr-tick {
  flex: none; width: 20px; height: 20px; border-radius: 50%; background: rgb(255 106 0 / .14); position: relative;
}
.pr-tick::after {
  content: ""; position: absolute; left: 7px; top: 4px; width: 5px; height: 9px;
  border: solid #FF8A3D; border-width: 0 2px 2px 0; transform: rotate(45deg);
}

/* Monthly / Yearly segmented toggle */
.pr-toggle {
  display: inline-flex; gap: 4px; margin: 32px 0 0; padding: 4px; border: 1px solid #262C35; border-radius: 999px;
  background: #101319; min-inline-size: 0;
}
.pr-toggle[hidden] { display: none; }
.pr-toggle-opt { position: relative; }
.pr-toggle-opt input, .pr-seg input { position: absolute; opacity: 0; width: 1px; height: 1px; margin: 0; }
.pr-toggle-opt span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: 999px;
  font-weight: 600; font-size: .9375rem; color: #A7ADB7; cursor: pointer;
  transition: background .16s var(--ease, ease), color .16s var(--ease, ease);
}
.pr-toggle-opt span:hover { color: #FFFFFF; }
.pr-toggle-opt input:checked + span { background: #FFFFFF; color: #111318; }
.pr-toggle-opt input:focus-visible + span { outline: 2px solid #FF8A3D; outline-offset: 2px; }
.pr-save {
  font-style: normal; font-size: .75rem; font-weight: 700; letter-spacing: .02em; white-space: nowrap;
  padding: 3px 8px; border-radius: 999px; background: rgb(255 106 0 / .14); color: #FF8A3D;
}
.pr-toggle-opt input:checked + span .pr-save { background: #FFF1E6; color: #C2410C; }

/* Tier cards */
.pr-tiers {
  list-style: none; margin: clamp(40px, 5vw, 64px) auto 0; padding: 0;
  display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch;
}
.pr-tier {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--s-card, #15191F); border: 1px solid var(--s-card-line, #262C35); border-radius: 16px;
  padding: 32px 28px 28px; text-align: left;
}
.pr-tier.is-featured {
  border-color: rgb(255 106 0 / .55);
  box-shadow: 0 0 0 1px rgb(255 106 0 / .25), 0 30px 80px -40px rgb(255 106 0 / .45);
  background: linear-gradient(180deg, #1A1714 0%, #15191F 38%);
}
.pr-tier.is-featured::before {
  content: ""; position: absolute; left: -1px; right: -1px; top: -1px; height: 3px; border-radius: 16px 16px 0 0;
  background: var(--orange-grad, linear-gradient(135deg, #FF9A00 0%, #FF6A00 50%, #F04A00 100%));
}
.pr-tier-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 28px; }
.pr-tier-name { margin: 0; font-size: 1.25rem; font-weight: 600; letter-spacing: -.012em; color: #FFFFFF; }
.pr-badge {
  flex: none; padding: 5px 10px; border-radius: 999px; font-size: .75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  background: var(--orange-grad, linear-gradient(135deg, #FF9A00 0%, #FF6A00 50%, #F04A00 100%)); color: #111318;
}
.pr-tier-blurb { margin: 8px 0 0; color: var(--s-text-2, #A7ADB7); font-size: .9375rem; min-height: 3em; }
.pr-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 8px; margin: 22px 0 0; }
.pr-from { color: #D1D5DB; font-size: 1rem; font-weight: 600; margin-right: 2px; }
.pr-amount { font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -.035em; color: #FFFFFF; font-variant-numeric: tabular-nums; }
.pr-cur { font-size: .58em; font-weight: 700; vertical-align: .62em; margin-right: 2px; letter-spacing: 0; }
.pr-unit { color: var(--s-text-2, #A7ADB7); font-size: .9375rem; }
.pr-note { margin: 10px 0 0; color: #A7ADB7; font-size: .875rem; line-height: 1.45; min-height: 2.9em; }
.pr-min {
  align-self: flex-start; margin: 12px 0 0; padding: 4px 10px; border-radius: 999px;
  font-size: .8125rem; font-weight: 600; color: #FF8A3D; background: rgb(255 106 0 / .12);
}
.pr-feats-wrap { margin: 24px 0 28px; padding-top: 24px; border-top: 1px solid #262C35; }
.pr-lead { margin: 0 0 12px; color: #FFFFFF; font-weight: 600; font-size: .9375rem; }
.pr-feats { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.pr-feats li, .pr-incl-ico {
  position: relative;
}
.pr-feats li { padding-left: 28px; color: #D1D5DB; font-size: .9375rem; line-height: 1.45; }
.pr-feats li::before {
  content: ""; position: absolute; left: 0; top: 2px; width: 18px; height: 18px; border-radius: 50%;
  background: rgb(255 106 0 / .14);
}
.pr-feats li::after {
  content: ""; position: absolute; left: 6.5px; top: 5.5px; width: 4px; height: 8px;
  border: solid #FF8A3D; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.pr-cta { margin-top: auto; width: 100%; justify-content: center; }
.pr-tiers-foot { margin: 28px auto 0; max-width: 70ch; text-align: center; color: #8B929D; font-size: .875rem; }

@media (max-width: 1099px) {
  .pr-tiers { grid-template-columns: minmax(0, 1fr); max-width: 480px; }
  .pr-tier-blurb, .pr-note { min-height: 0; }
}
@media (max-width: 699px) {
  .pr-tier { padding: 28px 22px 24px; }
  .pr-toggle { width: 100%; max-width: 360px; }
  .pr-toggle-opt { flex: 1; }
  .pr-toggle-opt span { width: 100%; justify-content: center; padding: 0 12px; }
}

/* ---- Shared section heads -------------------------------------------------------------------- */
.pr-h2 {
  margin: 0; color: var(--s-text, #111318);
  font-size: var(--fs-h2, clamp(2rem, 1.3rem + 2.2vw, 3.25rem)); font-weight: 700; line-height: 1.08; letter-spacing: -.028em;
}

/* ---- Calculator (light) ---------------------------------------------------------------------- */
.pr-calc-sec { background: #F7F8FA; color: #111318; }
.pr-calc-head { text-align: center; max-width: 720px; margin: 0 auto clamp(32px, 4vw, 56px); }
.pr-calc-sub { margin: 16px auto 0; max-width: 62ch; color: #5F6672; font-size: var(--fs-sub, clamp(1.125rem, 1rem + .5vw, 1.5rem)); line-height: 1.5; }
.pr-calc-example { margin: 20px auto 0; max-width: 62ch; color: #2E333B; }
.pr-calc {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  max-width: 1040px; margin: 0 auto; background: #FFFFFF; border: 1px solid #E5E7EB; border-radius: 16px; overflow: hidden;
  box-shadow: 0 1px 2px rgb(17 19 24 / .04), 0 8px 24px -12px rgb(17 19 24 / .12);
}
.pr-calc[hidden] { display: none; }
.pr-calc-in { display: grid; gap: 28px; padding: clamp(24px, 3.5vw, 40px); }
.pr-field { margin: 0; padding: 0; border: 0; min-width: 0; }
.pr-label { display: block; padding: 0; margin: 0 0 12px; font-size: .9375rem; font-weight: 600; color: #111318; }
.pr-field-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.pr-field-top .pr-label { margin-bottom: 8px; }
.pr-count { font-size: 2rem; font-weight: 800; letter-spacing: -.03em; color: #111318; font-variant-numeric: tabular-nums; }

/* Range: 6px track, orange fill to the thumb, 22px white thumb with an orange ring */
.pr-range {
  --pct: 3.8%;
  -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 28px; margin: 4px 0 0;
  background: transparent; cursor: pointer;
}
.pr-range::-webkit-slider-runnable-track {
  height: 6px; border-radius: 999px;
  background: linear-gradient(90deg, #FF9A00 0%, #FF6A00 var(--pct), #E5E7EB var(--pct));
}
.pr-range::-moz-range-track { height: 6px; border-radius: 999px; background: #E5E7EB; }
.pr-range::-moz-range-progress { height: 6px; border-radius: 999px; background: linear-gradient(90deg, #FF9A00, #FF6A00); }
.pr-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; margin-top: -8px; border-radius: 50%;
  background: #FFFFFF; border: 2px solid #FF6A00; box-shadow: 0 2px 6px rgb(17 19 24 / .18);
}
.pr-range::-moz-range-thumb {
  width: 18px; height: 18px; border-radius: 50%; background: #FFFFFF; border: 2px solid #FF6A00; box-shadow: 0 2px 6px rgb(17 19 24 / .18);
}
.pr-range:focus { outline: none; }
.pr-range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 5px #C2410C; }
.pr-range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 3px #FFFFFF, 0 0 0 5px #C2410C; }
.pr-range-scale { display: flex; justify-content: space-between; margin-top: 6px; color: #5F6672; font-size: .8125rem; }
.pr-range-scale span:nth-child(2) { transform: translateX(-2px); }
.pr-exact { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.pr-exact label { font-size: .9375rem; color: #5F6672; }
.pr-num {
  width: 120px; height: 48px; padding: 0 12px; border-radius: 9px; border: 1.5px solid #D1D5DB; background: #FFFFFF;
  font: 600 1rem/1 var(--font, inherit); color: #111318; font-variant-numeric: tabular-nums;
}
.pr-num:focus { outline: none; border-color: #C2410C; box-shadow: 0 0 0 3px rgb(194 65 12 / .25); }

/* Segmented radios (plan, billing) */
.pr-seg {
  display: grid; gap: 4px; padding: 4px; border-radius: 12px; background: #F3F4F6; border: 1px solid #E5E7EB;
}
.pr-seg-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.pr-seg-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pr-seg label { position: relative; display: block; min-width: 0; }
.pr-seg span {
  display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; min-height: 44px; padding: 6px 10px;
  border-radius: 9px; font-weight: 600; font-size: .9375rem; color: #2E333B; text-align: center; cursor: pointer;
  transition: background .16s var(--ease, ease), box-shadow .16s var(--ease, ease), color .16s var(--ease, ease);
}
.pr-seg span:hover { color: #111318; background: rgb(255 255 255 / .7); }
.pr-seg input:checked + span {
  background: #FFFFFF; color: #111318;
  box-shadow: 0 0 0 1.5px #FF6A00, 0 2px 8px -2px rgb(17 19 24 / .15);
}
.pr-seg input:focus-visible + span { outline: 2px solid #C2410C; outline-offset: 2px; }
.pr-save-light { background: #FFF1E6; color: #C2410C; }

/* Results */
.pr-calc-out {
  display: flex; flex-direction: column; gap: 16px; padding: clamp(24px, 3.5vw, 40px);
  background: #101319; color: #FFFFFF; position: relative; isolation: isolate; overflow: hidden;
}
.pr-calc-out::before {
  content: ""; position: absolute; z-index: -1; right: -30%; bottom: -40%; width: 120%; height: 90%;
  background: radial-gradient(closest-side, rgb(255 106 0 / .16), rgb(255 106 0 / 0)); pointer-events: none;
}
.pr-out-for { margin: 0; color: #A7ADB7; font-size: .9375rem; }
.pr-out { margin: 0; display: grid; gap: 0; }
.pr-out-row { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 14px 0; border-top: 1px solid #262C35; }
.pr-out-row:first-child { border-top: 0; padding-top: 0; }
.pr-out dt { color: #A7ADB7; font-size: .9375rem; }
.pr-out dd { margin: 0; font-weight: 700; font-size: 1.25rem; letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.pr-out-main { flex-direction: column; align-items: flex-start; gap: 4px; }
.pr-out-main dd { font-size: clamp(2.5rem, 2rem + 1.6vw, 3.25rem); font-weight: 800; letter-spacing: -.035em; line-height: 1.05; }
.pr-out-save dd { color: #4ADE80; }
.pr-out-note { margin: 0; color: #D1D5DB; font-size: .9375rem; }
.pr-out-flag {
  margin: 0; padding: 10px 12px; border-radius: 9px; font-size: .875rem; line-height: 1.45;
  background: rgb(255 106 0 / .1); border: 1px solid rgb(255 138 0 / .35); color: #FFD9BF;
}
.pr-out-flag[hidden] { display: none; }
.pr-out-flag a { color: #FF8A3D; font-weight: 600; }
.pr-out-cta { margin-top: auto; width: 100%; justify-content: center; }

@media (max-width: 899px) {
  .pr-calc { grid-template-columns: minmax(0, 1fr); }
}

/* ---- In every plan (white) ------------------------------------------------------------------- */
.pr-incl-sec { background: #FFFFFF; color: #111318; }
.pr-incl-head { margin: 0 0 clamp(32px, 4vw, 56px); }
.pr-incl { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pr-incl li {
  display: flex; gap: 16px; align-items: flex-start; padding: 24px; border-radius: 16px;
  background: #FFFFFF; border: 1px solid #E5E7EB; box-shadow: 0 1px 2px rgb(17 19 24 / .04), 0 8px 24px -12px rgb(17 19 24 / .12);
}
.pr-incl-ico { flex: none; width: 40px; height: 40px; border-radius: 10px; background: #FFF1E6; }
.pr-incl-ico::after {
  content: ""; position: absolute; left: 15px; top: 10px; width: 8px; height: 15px;
  border: solid #C2410C; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg);
}
.pr-incl h3 { margin: 0; font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; color: #111318; }
.pr-incl p { margin: 6px 0 0; color: #5F6672; font-size: .9375rem; line-height: 1.55; }
.pr-incl a, .pr-faq-more a { color: #C2410C; text-decoration: underline; text-underline-offset: 2px; }
.pr-incl a:hover, .pr-faq-more a:hover { color: #9A3412; }
@media (max-width: 1099px) { .pr-incl { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) { .pr-incl { grid-template-columns: minmax(0, 1fr); } .pr-incl li { padding: 20px; } }

/* ---- FAQ (light) ----------------------------------------------------------------------------- */
.pr-faq-sec { background: #F7F8FA; color: #111318; }
.pr-faq-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.pr-faq-more { margin: 16px 0 0; color: #5F6672; }
.pr-faq-sec .faq-item summary h3 { color: #111318; }
.pr-faq-sec .faq-a { color: #2E333B; }
.pr-faq-sec .faq-a a { color: #C2410C; }
.pr-faq-sec .faq-item summary:focus-visible { outline: 2px solid #C2410C; outline-offset: 4px; border-radius: 4px; }
@media (max-width: 899px) { .pr-faq-grid { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: reduce) {
  .pr-toggle-opt span, .pr-seg span { transition: none; }
}
