/* Pricing page specific styles. Inherits palette and type from styles.css. */

/* ── Pricing hero ── */
.pr-hero {
  position: relative;
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.pr-hero::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--hazard);
}
.pr-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 56px;
  align-items: end;
}
.pr-hero h1 {
  font-family: var(--f-display);
  font-size: clamp(40px, 5.6vw, 76px);
  line-height: 0.96;
  letter-spacing: -0.035em;
  font-weight: 700;
  margin: 20px 0 0;
  text-wrap: balance;
}
.pr-hero h1 em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.pr-hero .sub {
  margin-top: 22px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 56ch;
  text-wrap: pretty;
}
.pr-hero .ctas {
  margin-top: 28px;
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
}
.pr-hero .ctas .btn:first-child {
  background: var(--hazard);
  color: var(--hazard-ink);
  border-color: var(--hazard);
}
.pr-hero .ctas .btn-ghost {
  background: transparent;
  border: 0;
  padding: 14px 4px;
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-color: var(--rule);
  text-underline-offset: 6px;
  font-weight: 500;
}
.pr-hero .ctas .btn-ghost:hover {
  color: var(--ink);
  text-decoration-color: var(--ink);
  transform: none;
}
.pr-hero .meta {
  margin-top: 16px;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-mute);
  display: flex; gap: 16px; flex-wrap: wrap;
}
.pr-hero .meta span::before { content: "✓"; color: var(--good); margin-right: 6px; }

/* Quote card (mirrors spec-card style from styles.css) */
.pr-quote-card {
  border: 1px solid var(--ink);
  background: var(--paper);
  font-family: var(--f-mono);
}
.pr-quote-hd {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 14px;
  background: var(--ink); color: var(--paper);
  letter-spacing: 0.04em; text-transform: uppercase; font-size: 11px;
}
.pr-quote-hd .live { color: var(--hazard); }

/* ── Plans ── */
.pr-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.pr-plan {
  background: var(--paper);
  padding: 28px 32px 36px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  display: flex; flex-direction: column;
  position: relative;
}
.pr-plan-bespoke { background: var(--paper-2); }
.pr-plan-hd {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
  padding-bottom: 12px;
  border-bottom: 1px solid var(--rule);
}
.pr-plan-tag {
  background: var(--hazard);
  color: var(--hazard-ink);
  padding: 3px 8px;
  border-radius: 2px;
  font-weight: 600;
}
.pr-plan-tag.dark { background: var(--ink); color: var(--paper); }
.pr-plan-price {
  margin-top: 24px;
  display: flex; align-items: baseline; gap: 12px;
  flex-wrap: wrap;
}
.pr-plan-price .amount {
  font-family: var(--f-display);
  font-size: clamp(56px, 6.5vw, 88px);
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.pr-plan-price .amount-quote {
  font-size: clamp(40px, 4.8vw, 60px);
}
.pr-plan-price .unit {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}
.pr-plan-blurb {
  margin: 18px 0 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 50ch;
  text-wrap: pretty;
}
.pr-plan-includes {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  border-top: 1px solid var(--rule-soft);
  padding-top: 22px;
}
.pr-plan-includes h5 {
  font-family: var(--f-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-mute);
  margin: 0 0 12px;
  font-weight: 500;
}
.pr-plan-includes ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.pr-plan-includes ul li {
  position: relative;
  padding-left: 18px;
  line-height: 1.4;
}
.pr-plan-includes ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--good);
  font-size: 12px;
  top: 1px;
}
.pr-plan-includes ul.out li::before {
  content: "·";
  color: var(--ink-mute);
  font-size: 16px;
  top: -3px;
}
.pr-plan-cta {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--rule-soft);
  display: flex; flex-direction: column; gap: 12px;
  align-items: flex-start;
}
.pr-plan-cta .btn {
  width: 100%;
  justify-content: space-between;
}
.pr-plan-cta .pr-plan-note {
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--ink-mute);
}
.pr-foot-note {
  margin: 28px auto 0;
  max-width: 64ch;
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-mute);
  line-height: 1.6;
  text-align: center;
}

/* ── Comparison ── */
.pr-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid oklch(0.32 0.01 60);
  background: var(--ink);
}
.pr-compare .col {
  padding: 0;
}
.pr-compare .col-now {
  border-right: 1px solid oklch(0.32 0.01 60);
}
.pr-compare .col-hd {
  padding: 18px 22px;
  border-bottom: 1px solid oklch(0.32 0.01 60);
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.pr-compare .col-eyebrow { color: oklch(0.7 0.005 60); }
.pr-compare .col-total {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--paper);
  text-transform: none;
}
.pr-compare .col-us .col-total { color: var(--hazard); }
.pr-compare .line {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  padding: 14px 22px;
  border-bottom: 1px solid oklch(0.32 0.01 60);
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: oklch(0.78 0.005 60);
}
.pr-compare .line b {
  color: var(--paper);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
}
.pr-compare .line.one b { color: var(--hazard); }
.pr-compare .line.one.ghost b { color: oklch(0.65 0.005 60); font-style: italic; }
.pr-compare .line-foot {
  background: oklch(0.22 0.01 60);
  color: oklch(0.7 0.005 60);
  font-style: italic;
}
.pr-compare .line:last-child { border-bottom: 0; }

.pr-savings {
  margin-top: 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 18px 24px;
  border: 1px solid var(--hazard);
  background: var(--paper);
  color: var(--ink);
}
.pr-savings-l, .pr-savings-r {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.pr-savings-r { text-align: right; }
.pr-savings-v {
  text-align: center;
  font-family: var(--f-display);
  font-size: clamp(20px, 2.6vw, 30px);
  letter-spacing: -0.02em;
  font-weight: 500;
}
.pr-savings-v b { color: var(--hazard-ink); background: var(--hazard); padding: 2px 10px; }

/* ── Add ons ── */
.pr-addons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.pr-addons .addon {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 26px 24px 28px;
  background: var(--paper);
  display: flex; flex-direction: column;
}
.pr-addons .addon-hd {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-soft);
  margin-bottom: 16px;
}
.pr-addons .addon-hd .num {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
}
.pr-addons .addon-hd h3 {
  font-family: var(--f-display);
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin: 0;
}
.pr-addons .addon p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
  flex: 1;
}
.pr-addons .addon-foot {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--rule-soft);
  display: flex; justify-content: space-between; align-items: baseline;
  gap: 12px;
  font-family: var(--f-mono);
  font-size: 11.5px;
}
.pr-addons .addon-foot .price {
  background: var(--hazard);
  color: var(--hazard-ink);
  padding: 3px 8px;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.pr-addons .addon-foot .when {
  color: var(--ink-mute);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 10.5px;
  text-align: right;
}

/* ── Detail grid (billing details) ── */
.sec-paper-2 { background: var(--paper-2); }
.pr-detail-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.pr-detail-grid .d {
  padding: 22px 22px 26px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
}
.pr-detail-grid h4 {
  font-family: var(--f-display);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
}
.pr-detail-grid p {
  font-family: var(--f-mono);
  font-size: 12px;
  line-height: 1.55;
  color: var(--ink-mute);
  margin: 0;
}

/* ── FAQ uses native <details>, restyled to match the site FAQ ── */
.faq-item {
  border-bottom: 1px solid var(--rule);
}
.faq-item .faq-q {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 28px;
  gap: 16px;
  align-items: center;
  padding: 22px 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--f-display);
  color: var(--ink);
}
.faq-item .faq-q::-webkit-details-marker { display: none; }
.faq-item .faq-q .num {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-mute);
}
.faq-item .faq-q .qtxt {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
}
.faq-item .faq-q .toggle {
  font-family: var(--f-mono);
  font-size: 18px;
  color: var(--ink);
  width: 28px; text-align: center;
}
.faq-item[open] .faq-q .toggle::before { content: "−"; }
.faq-item[open] .faq-q .toggle { font-size: 0; }
.faq-item[open] .faq-q .toggle::before { font-size: 18px; }
.faq-item .faq-a {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 28px;
  gap: 16px;
  padding: 0 0 22px;
  font-size: 15.5px;
  color: var(--ink-2);
  line-height: 1.55;
}
.faq-item .faq-a .body { max-width: 64ch; }

/* ── Dark section wrapper (used for comparison + quote form) ── */
.sec-dark {
  background: var(--ink);
  color: var(--paper);
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.sec-dark .sec-hd-center .num,
.sec-dark .sec-hd .num { color: oklch(0.7 0.005 60); border-color: var(--paper); }
.sec-dark .sec-hd-center h2,
.sec-dark .sec-hd h2 { color: var(--paper); }
.sec-dark .sec-hd-center h2 em,
.sec-dark .sec-hd h2 em { color: var(--hazard); }
.sec-dark .sec-hd-center .lede,
.sec-dark .sec-hd .lede { color: oklch(0.78 0.005 60); }

/* Centered section header (used on plans + dark sections) */
.sec-hd-center {
  max-width: 760px;
  margin: 0 auto 56px;
  text-align: center;
}
.sec-hd-center .num {
  font-family: var(--f-mono);
  font-size: 12px;
  color: var(--ink-mute);
  letter-spacing: 0.04em;
  padding-top: 6px;
  border-top: 1px solid var(--ink);
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}
.sec-hd-center h2 {
  font-family: var(--f-display);
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  font-weight: 700;
  margin: 0;
  text-wrap: balance;
}
.sec-hd-center h2 em {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 400;
}
.sec-hd-center .lede {
  margin: 18px auto 0;
  color: var(--ink-2);
  font-size: 17px;
  max-width: 60ch;
  line-height: 1.5;
  text-wrap: pretty;
}

/* ── Three rules cards ── */
.pr-rules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.rule-card {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 32px 28px 36px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.rule-num {
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
  border-top: 1px solid var(--ink);
  padding-top: 8px;
  width: 40px;
  margin-bottom: 22px;
}
.rule-card h3 {
  font-family: var(--f-display);
  font-size: 26px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 14px;
  text-wrap: balance;
}
.rule-card p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  max-width: 42ch;
}

/* ── Per seat comparison tweaks ── */
.pr-compare-seat .line { font-size: 13px; }
.pr-compare .line.line-highlight {
  background: oklch(0.22 0.01 60);
  color: var(--paper);
  font-weight: 500;
}
.pr-compare .line.line-highlight b {
  background: var(--hazard);
  color: var(--hazard-ink);
  padding: 2px 10px;
  font-weight: 600;
}
.pr-compare .col-us .line.line-highlight b {
  background: var(--hazard);
  color: var(--hazard-ink);
}

/* ── What is included grid ── */
.pr-includes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}
.inc {
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  padding: 28px 24px 30px;
  background: var(--paper);
  display: flex;
  flex-direction: column;
}
.inc-hd {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 14px;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--rule-soft);
  margin-bottom: 16px;
}
.inc-hd .num {
  font-family: var(--f-mono);
  font-size: 11px;
  color: var(--ink-mute);
  letter-spacing: 0.06em;
}
.inc-hd h3 {
  font-family: var(--f-display);
  font-size: 20px;
  line-height: 1.15;
  letter-spacing: -0.015em;
  font-weight: 700;
  margin: 0;
}
.inc p {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--ink-2);
  margin: 0;
  flex: 1;
}
.inc-tag {
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--rule-soft);
  font-family: var(--f-mono);
  font-size: 11.5px;
  color: var(--ink);
}
.inc-tag::before {
  content: "✓ ";
  color: var(--good);
}

/* ── Quote form ── */
.pr-quote-form {
  max-width: 880px;
  margin: 0 auto;
  border: 1px solid oklch(0.32 0.01 60);
  background: oklch(0.22 0.01 60);
}
.qf-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid oklch(0.32 0.01 60);
}
.qf-row:last-of-type { border-bottom: 0; }
.qf-row.qf-row-full { grid-template-columns: 1fr; }
.qf-row > label {
  display: block;
  padding: 18px 22px;
  border-right: 1px solid oklch(0.32 0.01 60);
  position: relative;
}
.qf-row > label:last-child { border-right: 0; }
.qf-row.qf-row-full > label { border-right: 0; }
.qf-k {
  display: block;
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: oklch(0.7 0.005 60);
  margin-bottom: 10px;
}
.qf-row input[type="text"],
.qf-row input[type="email"],
.qf-row input[type="tel"],
.qf-row select {
  width: 100%;
  background: transparent;
  border: 0;
  border-bottom: 1px solid oklch(0.45 0.01 60);
  color: var(--paper);
  padding: 6px 0 8px;
  font-family: var(--f-display);
  font-size: 17px;
  letter-spacing: -0.01em;
  outline: none;
}
.qf-row input::placeholder { color: oklch(0.55 0.005 60); }
.qf-row input:focus,
.qf-row select:focus { border-bottom-color: var(--hazard); }
.qf-row select {
  appearance: none;
  -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--paper) 50%), linear-gradient(135deg, var(--paper) 50%, transparent 50%);
  background-position: calc(100% - 14px) 14px, calc(100% - 8px) 14px;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 24px;
}
.qf-row select option { background: var(--ink); color: var(--paper); }
.qf-checks {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px 24px;
  margin-top: 8px;
}
.qf-checks label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--f-display);
  font-size: 14px;
  color: oklch(0.85 0.005 60);
  cursor: pointer;
  padding: 0;
  border: 0;
}
.qf-checks input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  width: 16px;
  height: 16px;
  border: 1px solid oklch(0.55 0.005 60);
  background: transparent;
  border-radius: 2px;
  position: relative;
  cursor: pointer;
  flex-shrink: 0;
}
.qf-checks input[type="checkbox"]:checked {
  background: var(--hazard);
  border-color: var(--hazard);
}
.qf-checks input[type="checkbox"]:checked::after {
  content: "✓";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-size: 12px;
  color: var(--hazard-ink);
  font-weight: 700;
}
.qf-foot {
  padding: 22px;
  border-top: 1px solid oklch(0.32 0.01 60);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
}
.qf-foot .btn {
  background: var(--hazard);
  color: var(--hazard-ink);
  border-color: var(--hazard);
}
.qf-note {
  font-family: var(--f-mono);
  font-size: 12px;
  color: oklch(0.78 0.005 60);
  line-height: 1.5;
  max-width: 56ch;
}
.qf-note a { color: var(--hazard); border-bottom: 1px solid color-mix(in oklab, var(--hazard) 60%, transparent); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .pr-hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .pr-plans { grid-template-columns: 1fr; }
  .pr-compare { grid-template-columns: 1fr; }
  .pr-compare .col-now { border-right: 0; border-bottom: 1px solid oklch(0.32 0.01 60); }
  .pr-addons { grid-template-columns: repeat(2, 1fr); }
  .pr-rules { grid-template-columns: 1fr; }
  .pr-includes { grid-template-columns: repeat(2, 1fr); }
  .pr-detail-grid { grid-template-columns: repeat(2, 1fr); }
  .pr-savings { grid-template-columns: 1fr; gap: 12px; text-align: center; }
  .pr-savings-r { text-align: center; }
  .qf-row { grid-template-columns: 1fr; }
  .qf-row > label { border-right: 0; border-bottom: 1px solid oklch(0.32 0.01 60); }
  .qf-row > label:last-child { border-bottom: 0; }
  .qf-checks { grid-template-columns: repeat(2, 1fr); }
  .qf-foot { grid-template-columns: 1fr; gap: 14px; }
}
@media (max-width: 640px) {
  .pr-addons, .pr-detail-grid, .pr-includes { grid-template-columns: 1fr; }
  .pr-plan-includes { grid-template-columns: 1fr; gap: 18px; }
  .pr-hero { padding: 32px 0 36px; }
  .qf-checks { grid-template-columns: 1fr; }
}
