/* page-pricing.css -- the styles of pricing.html that no other page uses.
   Moved out of the page's inline <style> by sprint landing-next-1
   (2026-10-17) and linked at the same place in the head, so the
   cascade order is the one the page always had. */

.container { max-width: 960px; }   /* rate table needs the wider column */
p.lede { margin-bottom: 48px; max-width: 640px; }   /* size/colour now shared */
.cta-row { text-align: center; margin: 40px 0; }
.cta-row a { display: inline-block; background: var(--green-dark); color: var(--white); padding: 13px 26px; border-radius: var(--radius-control); text-decoration: none; font-size: 14px; font-weight: var(--fw-medium); }

/* The plan table (sprint landing-next-8): one semantic table, no script. The cards it replaced lived only here.
   border-collapse stays SEPARATE: a sticky cell loses its collapsed borders while it is stuck. No ancestor may set
   overflow, or the sticky header stops following the page. The tick and the cross are drawn with borders, so they
   survive forced-colours mode, where backgrounds are dropped; the words a screen reader says are in .vh. */
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.plans { width: 100%; table-layout: fixed; border-collapse: separate; border-spacing: 0; margin-bottom: 32px; }
.plans caption { caption-side: top; text-align: left; font-size: 14px; line-height: 20px; color: var(--slate); padding-bottom: 14px; }
.plans th, .plans td { background: var(--panel); border-bottom: var(--hairline); }
.plans tr > :first-child { border-left: var(--hairline); }
.plans tr > :last-child { border-right: var(--hairline); }

/* top = the height of the compact site bar; z-index stays under the phone menu and its backdrop (58 and 59). */
.plans thead th { position: sticky; top: var(--nav-compact); z-index: 10; padding: 18px 4px; text-align: center; vertical-align: bottom; border-top: var(--hairline); }
.plans thead th:not(:first-child) { width: 128px; }
.plans thead th:first-child { border-top-left-radius: var(--radius-card); }
.plans thead th:last-child { border-top-right-radius: var(--radius-card); }
.plans tbody:last-child tr:last-child > :first-child { border-bottom-left-radius: var(--radius-card); }
.plans tbody:last-child tr:last-child > :last-child { border-bottom-right-radius: var(--radius-card); }
.plan-name { display: block; font-size: var(--fs-body); font-weight: var(--fw-semibold); color: var(--charcoal); }
.plan-price { display: block; margin-top: 4px; font-family: var(--mono); font-size: 22px; font-weight: var(--fw-semibold); letter-spacing: -0.02em; color: var(--green-dark); }
.plan-price small { font-size: 11px; font-weight: var(--fw-regular); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-left: 4px; }

.plans-group th { padding: 22px 20px 9px; text-align: left; font-family: var(--mono); font-size: var(--fs-label); font-weight: var(--fw-medium); letter-spacing: var(--ls-label); text-transform: uppercase; color: var(--muted); }
.plans tbody th[scope="row"] { padding: 13px 16px 13px 20px; text-align: left; font-size: 14.5px; font-weight: var(--fw-regular); line-height: 20px; color: var(--charcoal); }
.plans td { padding: 13px 6px; text-align: center; vertical-align: middle; }

/* Premium is the complete plan: a light tint and a green top rule. background first: the fallback without color-mix. */
.plans tr > :nth-child(4):not([colspan]) { background: var(--panel); background: color-mix(in srgb, var(--green-dark) 6%, var(--panel)); }
.plans thead th:nth-child(4) { border-top: 2px solid var(--green-dark); }
.plans thead th:nth-child(4) .plan-name { color: var(--green-dark); }

.tick { display: inline-block; width: 7px; height: 13px; border: solid var(--green-dark); border-width: 0 2px 2px 0; transform: translateY(-1px) rotate(45deg); }
.cross { display: inline-block; position: relative; width: 12px; height: 12px; }
.cross::before, .cross::after { content: ""; position: absolute; left: -1px; top: 5px; width: 14px; border-top: 1.5px solid var(--muted); }
.cross::before { transform: rotate(45deg); }
.cross::after { transform: rotate(-45deg); }
.limit { display: inline-block; font-family: var(--mono); font-size: 11.5px; line-height: 15px; color: var(--green-dark); }

@media (max-width: 720px) {
  .plans caption { font-size: 13px; }
  .plans thead th { padding: 12px 2px; }
  .plans thead th:not(:first-child) { width: 58px; }
  .plan-name { font-size: 12px; }
  .plan-price { margin-top: 3px; font-size: 15px; }
  .plan-price small { display: block; margin: 1px 0 0; font-size: 9px; letter-spacing: 0.02em; }
  .plans-group th { padding: 16px 10px 7px; }
  .plans tbody th[scope="row"] { padding: 10px 4px 10px 8px; font-size: 13px; line-height: 18px; }
  .plans td { padding: 10px 2px; }
  .limit { font-size: 9.5px; line-height: 13px; }
}
/* 56 px at the narrowest phones, so the label keeps two lines at 360. */
@media (max-width: 375px) { .plans thead th:not(:first-child) { width: 56px; } }
