/* Pricing page (v2) — software/services switch uses the shared [data-tabs] in main.js.
   Without JS both panels show stacked; with JS only the selected one shows. */

/* Hero + switch */
.pr-hero {
  display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center;
  max-width: 1200px; padding-top: 64px; padding-bottom: 48px;
}
.pr-title {
  font-family: var(--font-display); font-weight: 800; font-size: clamp(36px, 4.4vw, 52px);
  line-height: 1.05; letter-spacing: -0.03em; text-wrap: balance;
}
.pr-lead { font-size: 19px; color: var(--text-2); max-width: 600px; }
.pr-switch {
  display: flex; gap: 4px; padding: 4px; margin-top: 8px;
  border-radius: 999px; background: var(--white); border: 1px solid var(--line-2);
}
.pr-switch [role="tab"] {
  font-size: 15px; font-weight: 600; min-height: 44px; padding: 0 22px;
  border-radius: 999px; border: 0; background: transparent; color: var(--ink); cursor: pointer;
  transition: background-color .15s, color .15s;
}
.pr-switch [role="tab"]:hover { background: var(--cream); }
.pr-switch [role="tab"][aria-selected="true"] { background: var(--ink); color: #fff; }

/* Panels */
.pr-panel { padding: 64px 0 80px; }
.pr-panel[hidden] { display: none; }
.pr-panel-inner { max-width: 1200px; display: flex; flex-direction: column; gap: 28px; }
.pr-services { gap: 20px; }

/* OutletOne plans (inside .oo-root: Outlet One tokens apply) */
.pr-o1-logo { height: 36px; width: auto; }
.pr-plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.pr-plan {
  position: relative; display: flex; flex-direction: column; gap: 14px; padding: 28px;
  border: 1px solid var(--line); border-radius: 18px; background: var(--surface); color: var(--ink);
  font-family: var(--font-sans); min-width: 0;
}
.pr-plan-featured { border: 2px solid var(--blue); box-shadow: var(--shadow-md); }
.pr-plan-deep { border: 0; background: var(--surface-deep); color: var(--on-deep); }
.pr-plan-flag {
  position: absolute; top: -13px; left: 24px;
  font-size: 12px; font-weight: 700; line-height: 1.55; padding: 3px 10px; border-radius: 999px;
  background: var(--orange); color: var(--on-orange);
}
.pr-plan-name { font-family: var(--font-display); font-size: 22px; font-weight: 600; line-height: 1.3; color: inherit; }
.pr-plan-blurb { font-size: 15px; color: var(--ink-muted); }
.pr-plan-deep .pr-plan-blurb { color: var(--on-deep-muted); }
.pr-plan-amt { display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.pr-plan-amt b { font-family: var(--font-mono); font-weight: 500; font-size: 38px; line-height: 1.2; color: var(--ink); font-variant-numeric: tabular-nums; }
.pr-plan-featured .pr-plan-amt b { color: var(--blue); }
.pr-plan-deep .pr-plan-amt b { color: var(--on-deep); }
.pr-plan-amt span { font-size: 14px; color: var(--ink-muted); }
.pr-plan-list { margin: 0; padding-left: 18px; font-size: 15px; display: flex; flex-direction: column; gap: 6px; }
.pr-plan-btn { margin-top: auto; width: 100%; font-size: 17px; }
.pr-plan .oo-btn-secondary { color: var(--ink); }
.pr-plan .oo-btn-primary:hover { color: #fff; }
.pr-plan-deep .oo-btn-secondary { color: var(--on-deep); border-color: var(--on-deep-muted); }
.pr-plan-deep .oo-btn-secondary:hover { border-color: var(--on-deep); color: var(--on-deep); }
.pr-plan-deep .oo-btn:focus-visible { outline-color: var(--on-deep); }

.pr-setup {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  padding: 20px 24px; border-radius: 16px; background: var(--surface-alt); color: var(--ink);
  font-family: var(--font-body);
}
.pr-setup-offer { font-weight: 700; color: var(--blue); }

/* Services price table */
.pr-table {
  width: 100%; border-collapse: separate; border-spacing: 0;
  border: 1px solid var(--line); border-radius: 18px; overflow: hidden;
}
.pr-table th, .pr-table td { padding: 16px 24px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
.pr-table th[scope="row"] { font-weight: 400; }
.pr-table td { font-weight: 700; white-space: nowrap; }
.pr-table tbody:first-of-type .pr-group th { border-top: 0; }
.pr-group th {
  padding: 14px 24px; background: var(--cream);
  font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
}
.pr-group-blue th { color: var(--blue); }
.pr-group-orange th { color: var(--orange-text); }
.pr-group-purple th { color: var(--purple); }
.pr-note { font-size: 15px; color: var(--text-2); }

/* Bundles */
.pr-bundles { padding: 80px 0; }
.pr-h2 { font-family: var(--font-display); font-size: clamp(30px, 3.4vw, 40px); font-weight: 800; line-height: 1.1; letter-spacing: -0.02em; }
.pr-bundle-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.pr-bundle { display: flex; flex-direction: column; gap: 12px; padding: 28px; border-radius: 18px; color: #fff; min-width: 0; }
.pr-bundle-blue { background: var(--blue); }
.pr-bundle-dark { background: var(--dark); }
.pr-bundle-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.pr-bundle-name { font-family: var(--font-body); font-size: 22px; font-weight: 700; line-height: 1.3; }
.pr-bundle-save {
  font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px;
  background: var(--orange-light); color: var(--ink);
}
.pr-bundle-amt { font-family: var(--font-display); font-size: 44px; font-weight: 800; line-height: 1; }
.pr-bundle-amt s, .pr-bundle-amt > span { font-size: 18px; font-weight: 600; }
.pr-bundle-blue .pr-bundle-amt s, .pr-bundle-blue .pr-bundle-desc { color: var(--blue-pale); }
.pr-bundle-dark .pr-bundle-amt > span, .pr-bundle-dark .pr-bundle-desc { color: var(--on-dark-2); }

/* FAQ */
.pr-faq-section { padding: 80px 0; }
.pr-faq-wrap { max-width: 860px; }
.pr-faq-title { font-family: var(--font-display); font-size: clamp(28px, 3vw, 36px); font-weight: 800; line-height: 1.15; margin-bottom: 24px; }

@media (max-width: 900px) {
  .pr-plans, .pr-bundle-grid { grid-template-columns: 1fr; }
  .pr-plans { gap: 28px; }
}

@media (max-width: 720px) {
  .pr-hero { padding-top: 48px; padding-bottom: 36px; }
  .pr-lead { font-size: 17px; }
  .pr-switch { width: 100%; max-width: 400px; }
  .pr-switch [role="tab"] { flex: 1; padding: 0 12px; }
  .pr-panel { padding: 48px 0 56px; }
  .pr-plan { padding: 24px 20px; }
  .pr-plan-amt b { font-size: 34px; }
  .pr-setup { padding: 18px 20px; }
  .pr-table, .pr-table tbody, .pr-table tr { display: block; }
  .pr-table tr:not(.pr-group) { border-top: 1px solid var(--line); padding: 14px 20px; }
  .pr-table th, .pr-table td { display: block; padding: 0; border-top: 0; }
  .pr-table td { margin-top: 4px; white-space: normal; }
  .pr-group th { padding: 12px 20px; }
  .pr-table tbody + tbody .pr-group th { border-top: 1px solid var(--line); }
  .pr-bundles, .pr-faq-section { padding: 56px 0; }
  .pr-bundle { padding: 24px 20px; }
  .pr-bundle-amt { font-size: 38px; }
}

/* Keep the lockup at its natural width inside the flex column (it stretched to full width before). */
.pr-o1-logo { align-self: flex-start; }
