/* ==========================================================================
   CAPE TOWN AND US PAGES — plan prices, plan terms, the time-zone table and the project
   brief form, on top of the style.css tokens and case.css
   ========================================================================== */
[hidden] { display: none !important; }

/* ---------- plans: a setup fee and a monthly fee side by side ---------- */
.plan-price { display: flex; flex-wrap: wrap; gap: 0.4rem 2.4rem; margin: -0.8rem 0 0.8rem; }
.plan-price p { display: flex; align-items: baseline; gap: 0.8rem; }
.plan-price b { font-weight: 500; font-size: clamp(2.6rem, 2.4vw, 3.4rem); letter-spacing: -0.02em; color: var(--content--brand); }
.plan-price span { font-size: 1.3rem; color: var(--content--surface); }
.plan-year { margin: 0 0 2.2rem; font-size: 1.2rem; letter-spacing: 0.06em; color: var(--content--surface); }
.plan-note { max-width: 64rem; margin-top: 3.2rem; font-size: 1.6rem; line-height: 1.6; color: var(--content--secondary); }
.plan-note a { color: var(--content--brand); text-decoration: underline; text-underline-offset: 0.3rem; }

/* ---------- no-setup-fee pricing: two-up cards, a dark card for the plan we lead with, the "what sets your fee" note ---------- */
.case-cols-2 .plan-price p { flex-wrap: wrap; }
.case-cols-2 { grid-template-columns: repeat(2, 1fr); }
.plan-fit { margin-top: 2.4rem; padding-top: 2rem; border-top: var(--size--border) solid var(--content--border); font-size: 1.5rem; line-height: 1.55; color: var(--content--secondary); }
.plan-fit b { font-weight: 500; color: var(--content--primary); }
.plan-fit a { color: var(--content--brand); text-decoration: underline; text-underline-offset: 0.3rem; }
.plan-compare { margin-top: 4.8rem; }
.case-cols-2 .case-col { display: flex; flex-direction: column; }
.plan-cta { margin-top: auto; padding-top: 3rem; }
/* one wide plan card (Cape Town): price and call to action on the left, the list on the right */
.case-cols .case-col-wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.25fr; column-gap: 5.6rem; align-items: start; }
.case-col-wide .case-col-top { grid-column: 1 / -1; }
.case-col-wide .plan-main { grid-column: 1; grid-row: 2; }
.case-col-wide .case-list { grid-column: 2; grid-row: 2 / span 2; padding-top: 2.2rem; }
.case-col-wide .plan-cta { grid-column: 1; grid-row: 3; margin-top: 0; padding-top: 2.4rem; }
.case-col-dark { background: #181818; border-color: #181818; box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2), 0 24px 60px -18px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12); }
.case-col-dark .case-col-top { color: rgba(245, 245, 237, 0.55); }
.case-col-dark .case-col-top span:last-child { color: var(--content--brand); }
.case-col-dark h3, .case-col-dark .case-list { color: #f5f5ed; }
.case-col-dark .plan-price span, .case-col-dark .plan-year { color: rgba(245, 245, 237, 0.6); }
.case-col-dark .plan-fit { border-top-color: rgba(245, 245, 237, 0.16); color: rgba(245, 245, 237, 0.72); }
.case-col-dark .plan-fit b { color: #f5f5ed; }
.case-kit-stats .case-kit-item b { font-size: clamp(2.6rem, 2.6vw, 3.6rem); line-height: 1.1; }
.case-kit-stats .case-kit-item span { font-size: 1.4rem; line-height: 1.4; }

/* ---------- plan terms: a label on the left, the plain-words answer on the right ---------- */
.terms { border-top: var(--size--border) solid var(--content--border); }
.terms > div { display: grid; grid-template-columns: 1fr 2.4fr; gap: 2.4rem; padding: 2.4rem 0; border-bottom: var(--size--border) solid var(--content--border); }
.terms dt { padding-top: 0.4rem; font-size: 1.15rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--content--surface); }
.terms dd { max-width: 70rem; font-size: 1.7rem; line-height: 1.6; color: var(--content--primary); }
.terms dd + dd { margin-top: 1rem; }
.terms a { color: var(--content--brand); text-decoration: underline; text-underline-offset: 0.3rem; }

/* ---------- tables: time zones, leaving early ---------- */
.case-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.case-body + .case-table-wrap { margin-top: 3.2rem; }
.case-table { width: 100%; min-width: 48rem; border-collapse: collapse; }
.case-table th, .case-table td { padding: 1.6rem 2rem 1.6rem 0; text-align: left; border-bottom: var(--size--border) solid var(--content--border); }
.case-table thead th { padding-top: 0; font-weight: 400; font-size: 1.15rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--content--surface); border-bottom-color: var(--content--primary); }
.case-table tbody th { font-weight: 500; font-size: 1.7rem; color: var(--content--primary); }
.case-table td { font-size: 1.7rem; color: var(--content--secondary); }
.case-table caption { text-align: left; padding-bottom: 1.6rem; font-size: 1.4rem; line-height: 1.5; color: var(--content--secondary); caption-side: bottom; padding-top: 1.6rem; }

/* ---------- team: four short profiles ---------- */
.case-col .case-body { margin-top: 0; font-size: 1.6rem; }

/* ---------- long-form text: privacy policy and terms ---------- */
.prose { max-width: 72rem; }
.prose h2 { margin: 4.8rem 0 0; font-size: clamp(2.4rem, 2.6vw, 3.2rem); line-height: 1.15; }
.prose h2:first-child { margin-top: 0; }
.prose p, .prose li { margin-top: 1.4rem; font-size: 1.7rem; line-height: 1.65; color: var(--content--secondary); }
.prose ul { margin-top: 1rem; padding-left: 2rem; list-style: disc; }
.prose li { margin-top: 0.8rem; }
.prose a { color: var(--content--brand); text-decoration: underline; text-underline-offset: 0.3rem; }
.prose b { font-weight: 500; color: var(--content--primary); }

/* ---------- footer: a plain line of text beside the links ---------- */
.case-footer-col .footer-note { color: rgba(245, 245, 237, 0.55); }

/* ---------- small screens ---------- */
@media (max-width: 991px) {
  .terms > div { grid-template-columns: 1fr; gap: 0.8rem; }
  .case-cols-2 { grid-template-columns: 1fr; }
  .case-cols .case-col-wide { grid-template-columns: 1fr; }
  .case-col-wide .plan-main, .case-col-wide .case-list, .case-col-wide .plan-cta { grid-column: 1; grid-row: auto; }
  .case-col-wide .case-list { padding-top: 0; margin-top: 2.4rem; }
  .case-col-wide .plan-cta { padding-top: 3rem; }
}
@media (max-width: 600px) {
  .plan-price { gap: 0.4rem 1.8rem; }
}
