@charset "utf-8";
/* =====================================================
   Packages page (proposal) – step-by-step plan picker
   Reuses token.css variables. Loaded only by packages.shtml.
   ===================================================== */

.pk-h2 { color: var(--grind-black); font-size: clamp(1.6rem, 3vw, 2.25rem); line-height: 1.15; }
.pk-section-head { max-width: 44rem; margin-bottom: 2rem; }

/* ---------- Hero ---------- */
.pk-hero {
  background:
    radial-gradient(50rem 22rem at 100% 0%, rgba(212, 42, 54, .30), transparent 60%),
    var(--grind-black);
  color: #fff;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.pk-hero__title { font-size: clamp(2.1rem, 4.4vw, 3.4rem); font-weight: 800; letter-spacing: -.025em; line-height: 1.05; margin-bottom: 1rem; }
.pk-hero__lead { font-size: 1.125rem; color: rgba(255, 255, 255, .86); max-width: 40rem; }
.pk-hero__aside {
  padding: 1.25rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .14);
}

/* ---------- Steps ---------- */
.pk-step { display: flex; gap: 1rem; align-items: flex-start; margin: 1rem 0 1.5rem; }
.pk-step__num {
  flex: none;
  display: grid; place-items: center;
  width: 2.5rem; height: 2.5rem; border-radius: 50%;
  background: var(--impact-crimson); color: #fff; font-weight: 800;
  box-shadow: 0 0 0 .35rem rgba(212, 42, 54, .12);
}
.pk-step__title { font-size: clamp(1.35rem, 2.4vw, 1.75rem); font-weight: 800; margin: .15rem 0 .25rem; color: var(--grind-black); }
.pk-step__text { color: var(--muted); }

/* ---------- Band switch (segmented tabs) ---------- */
.band-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .5rem;
  max-width: 36rem;
  padding: .4rem;
  border-radius: 1.1rem;
  background: #efebea;
}
.band-switch__btn {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 4rem;
  padding: .6rem 1rem;
  border: 2px solid transparent;
  border-radius: .8rem;
  background: transparent;
  color: var(--grind-black);
  line-height: 1.2;
  transition: background-color var(--dur-fast) ease, color var(--dur-fast) ease, box-shadow var(--dur-med) ease;
}
.band-switch__btn:hover { background: rgba(255, 255, 255, .7); }
.band-switch__label { font-weight: 800; font-size: 1.1rem; }
.band-switch__sub { font-size: .875rem; color: var(--muted); }
.band-switch__btn.active {
  background: #fff;
  border-color: var(--impact-crimson);
  box-shadow: 0 6px 18px rgba(10, 10, 10, .1);
}
.band-switch__btn.active .band-switch__label { color: var(--impact-crimson); }

/* ---------- Plan cards ---------- */
.plan-card {
  position: relative;
  display: flex; flex-direction: column;
  padding: 1.75rem;
  background: #fff;
  border: 1px solid #e7e2e0;
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 20px rgba(10, 10, 10, .05);
  transition: transform var(--dur-med) var(--ease-out), box-shadow var(--dur-med) ease;
}
.plan-card.is-featured {
  border: 2px solid var(--impact-crimson);
  box-shadow: 0 18px 40px rgba(212, 42, 54, .16);
}
.plan-card__badge {
  position: absolute;
  top: -.85rem; left: 1.5rem;
  padding: .3rem .8rem;
  border-radius: 999px;
  background: var(--impact-crimson);
  color: #fff;
  font-size: .75rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}
.plan-card__band { font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--impact-crimson); margin-bottom: .35rem; }
.plan-card__name { font-size: 1.3rem; font-weight: 800; margin-bottom: .75rem; color: var(--grind-black); }
.plan-card__price { display: flex; align-items: baseline; gap: .25rem; margin-bottom: .25rem; }
.plan-card__amount { font-size: 2.5rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--grind-black); }
.plan-card__per { color: var(--muted); font-weight: 600; }
.plan-card__billing { font-size: .9rem; color: var(--muted); margin-bottom: 1.25rem; padding-bottom: 1.25rem; border-bottom: 1px solid #eee9e7; }
.plan-card__list { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .6rem; }
.plan-card__list li { position: relative; padding-left: 1.75rem; }
.plan-card__list li::before,
.pk-checks li::before {
  content: "";
  position: absolute; left: 0; top: .2rem;
  width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: rgba(212, 42, 54, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d42a36' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12 5 5 9-10'/%3E%3C/svg%3E") center / 65% no-repeat;
}
.plan-card__cta { margin-top: auto; display: grid; gap: .5rem; }
.plan-card__alt {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: var(--tap-min);
  font-weight: 600; font-size: .95rem;
  text-decoration: underline; text-underline-offset: .18em;
}
.plan-card--wide { max-width: 28rem; margin-inline: auto; }
@media (hover: hover) {
  .plan-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
  .plan-card.is-featured:hover { box-shadow: 0 22px 44px rgba(212, 42, 54, .2); }
}

.pk-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.pk-checks li { position: relative; padding-left: 1.75rem; }

.pk-subhead { font-size: 1.15rem; font-weight: 800; margin: 3rem 0 1rem; color: var(--grind-black); }

/* ---------- Comparison table ---------- */
.compare-wrap {
  border: 1px solid #e7e2e0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #fff;
}
.compare-v2 { --bs-table-bg: transparent; margin: 0; }
.compare-v2 th, .compare-v2 td { padding: 1rem 1.1rem; border-color: #eee9e7; vertical-align: middle; }
.compare-v2 thead th { font-weight: 800; font-size: 1rem; background: var(--surface-alt); }
.compare-v2 thead td { background: var(--surface-alt); }
.compare-v2 tbody th { font-weight: 700; color: var(--grind-black); width: 22%; }
.compare-v2 .is-featured { background: rgba(212, 42, 54, .05); }
.compare-v2 thead th.is-featured { background: var(--impact-crimson); color: #fff; }
.compare-v2 tbody tr:last-child th, .compare-v2 tbody tr:last-child td { border-bottom: 0; }

/* Stack the comparison table into cards on small screens */
@media (max-width: 767.98px) {
  .compare-wrap { border: 0; background: transparent; overflow: visible; }
  .compare-v2 thead { display: none; }
  .compare-v2, .compare-v2 tbody, .compare-v2 tr, .compare-v2 th, .compare-v2 td { display: block; width: 100%; }
  .compare-v2 tr {
    margin-bottom: 1rem;
    background: #fff;
    border: 1px solid #e7e2e0;
    border-radius: var(--radius-md);
    overflow: hidden;
  }
  .compare-v2 tbody th { width: 100%; background: var(--surface-alt); padding: .75rem 1rem; }
  .compare-v2 td { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .7rem 1rem; text-align: right; }
  .compare-v2 td::before { content: attr(data-label); font-weight: 700; text-align: left; color: var(--grind-black); flex: 0 0 42%; }
  .compare-v2 td.is-featured { background: rgba(212, 42, 54, .05); }
}

/* ---------- See all options ---------- */
.all-options { margin-top: 2.5rem; }
.all-options__toggle { width: 100%; justify-content: space-between; display: flex; align-items: center; text-align: left; white-space: normal; }
.all-options__toggle::after {
  content: ""; flex: none; margin-left: 1rem;
  width: .6rem; height: .6rem;
  border-right: 2px solid currentColor; border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform var(--dur-med) var(--ease-out);
}
.all-options__toggle[aria-expanded="true"]::after { transform: rotate(-135deg); }
.all-options__body { padding-top: 1.5rem; }
.tier-block { margin-bottom: 2rem; scroll-margin-top: 90px; }
.tier-block__title { font-size: 1.15rem; font-weight: 800; margin-bottom: .75rem; }
.tier-block__title span { display: block; font-size: .95rem; font-weight: 500; color: var(--muted); margin-top: .15rem; }
.tier-table { --bs-table-bg: #fff; border: 1px solid #e7e2e0; border-radius: var(--radius-md); overflow: hidden; border-collapse: separate; border-spacing: 0; }
.tier-table th, .tier-table td { padding: .9rem 1rem; border-color: #eee9e7; }
.tier-table thead th { background: var(--surface-alt); font-size: .9rem; }
.tier-name { display: block; font-weight: 800; }
.tier-sub { display: block; font-weight: 400; font-size: .875rem; color: var(--muted); }
.tier-price { display: block; font-weight: 800; margin-bottom: .4rem; }
.tier-price small { font-weight: 500; color: var(--muted); }
.tier-table .btn { min-width: 8.5rem; }
@media (max-width: 767.98px) {
  .tier-table thead { display: none; }
  .tier-table, .tier-table tbody, .tier-table tr, .tier-table th, .tier-table td { display: block; width: 100%; }
  .tier-table { border: 0; }
  .tier-table tr { border: 1px solid #e7e2e0; border-radius: var(--radius-md); margin-bottom: .75rem; overflow: hidden; background: #fff; }
  .tier-table tbody th { background: var(--surface-alt); }
  .tier-table td { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: .25rem 1rem; }
  .tier-table td::before { content: attr(data-label); grid-column: 1 / -1; font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
  .tier-table td .tier-price { margin: 0; }
}

.pk-secure { display: flex; align-items: flex-start; gap: .5rem; margin-top: 2.5rem; color: var(--muted); }
.pk-secure svg { flex: none; color: var(--grind-black); margin-top: .2rem; }

/* ---------- Schedule ---------- */
.sched-table { --bs-table-bg: transparent; margin: 0; }
.sched-table th, .sched-table td { padding: .85rem 1.1rem; border-color: #eee9e7; }
.sched-table thead th { background: var(--surface-alt); }
.sched-table tbody th { font-weight: 700; white-space: nowrap; }
.sched-table tbody tr:last-child > * { border-bottom: 0; }
@media (max-width: 575.98px) {
  .sched-table thead { display: none; }
  .sched-table tr { display: grid; grid-template-columns: auto 1fr; border-bottom: 1px solid #eee9e7; }
  .sched-table tbody th, .sched-table td { border: 0; padding: .5rem 1rem; }
  .sched-table td:last-child { grid-column: 1 / -1; padding-top: 0; color: var(--muted); font-size: .9rem; }
}

/* ---------- FAQ ---------- */
.pk-faq {
  --bs-accordion-border-color: #e5e0de;
  --bs-accordion-active-bg: #fff;
  --bs-accordion-active-color: var(--grind-black);
  --bs-accordion-btn-focus-box-shadow: none;
  --bs-accordion-btn-padding-y: 1.15rem;
}
.pk-faq .accordion-item { margin-bottom: .75rem; border-radius: var(--radius-md) !important; overflow: hidden; border-top: 1px solid #e5e0de !important; }
.pk-faq .accordion-button { font-weight: 700; font-size: 1.0625rem; min-height: var(--tap-min); }
.pk-faq .accordion-button:not(.collapsed) { box-shadow: inset 4px 0 0 var(--impact-crimson); }
.pk-faq .accordion-body { padding-top: 0; }

/* ---------- CTA ---------- */
.pk-cta {
  background: var(--grind-black);
  background-image: radial-gradient(40rem 20rem at 50% 120%, rgba(212, 42, 54, .45), transparent 70%);
  color: #fff;
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.pk-cta__title { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 800; letter-spacing: -.02em; }
.pk-cta__text { color: rgba(255, 255, 255, .86); font-size: 1.1rem; margin-bottom: 1.75rem; }
.pk-cta .btn-light { font-weight: 800; text-transform: uppercase; letter-spacing: .04em; }
.pk-cta .btn-light:hover { background: var(--pulse-gold); border-color: var(--pulse-gold); }

@media (prefers-reduced-motion: reduce) {
  .plan-card, .band-switch__btn, .all-options__toggle::after { transition: none; }
  .plan-card:hover { transform: none; }
}

/* Polish */
.tier-table .btn { text-transform: uppercase; font-weight: 700; letter-spacing: .04em; }
@media (min-width: 768px) {
  .tier-table { table-layout: fixed; }
  .tier-table thead th:nth-child(1) { width: 34%; }
  .tier-table thead th:nth-child(2) { width: 24%; }
}
.all-options__toggle { font-weight: 700; padding: .9rem 1.25rem; border-width: 2px; }
