/* A service-first plan chooser, using the supplied ServPatch colour system. */
.plans-page {
  --sp-navy: #12213d;
  --sp-blue: #0b3f8f;
  --sp-action: #1c56e3;
  --sp-teal: #43b7ab;
  --sp-teal-dark: #147d73;
  --sp-care-tint: #ddf3ef;
  --sp-ice: #ecf4fe;
}
.plans-page main { background: #fff; }
.plans-page .container { max-width: 1160px; }
.plans-page .plans-intro { padding: 64px 0 38px; background: linear-gradient(180deg, #fff 0%, #f6faff 100%); }
.plans-page .crumbs { margin-bottom: 32px; font-size: .875rem; }
.plans-kicker { display: flex; align-items: center; gap: 10px; color: var(--sp-blue); font-size: .875rem; font-weight: 600; margin: 0 0 16px; }
.plans-kicker::before { content: ""; flex: 0 0 24px; height: 3px; border-radius: 2px; background: var(--sp-teal); }
.plans-page h1 { font-size: clamp(2.25rem, 4.8vw, 3.75rem); line-height: 1.08; letter-spacing: -.04em; max-width: 20ch; }
.plans-page h1 span,
.plans-price-copy h2 span { color: var(--sp-blue); }
.plans-intro-copy { max-width: 650px; font-size: 1.125rem; line-height: 1.7; color: var(--sp-muted); margin: 22px 0 0; }
.plans-page .plans-choices { padding: 0 0 64px; background: linear-gradient(180deg, #f6faff 0%, #ecf4fe 72%, #fff 100%); }
.plans-choice-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; margin-bottom: 26px; }
.plans-choice-heading h2 { font-size: 1.125rem; line-height: 1.5; font-weight: 600; letter-spacing: -.01em; }
.plans-text-link { color: var(--sp-blue); font-size: .9375rem; font-weight: 600; display: inline-flex; gap: 10px; align-items: center; min-height: 44px; text-underline-offset: 4px; }
.plans-text-link:hover { text-decoration: underline; }
.plans-text-link span,
.fit-link span { flex: 0 0 auto; }
.plans-choice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.fit-card { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 30px; overflow: hidden; isolation: isolate; border: 1px solid #cbddf4; border-radius: 24px; background: linear-gradient(150deg, #fff 12%, #f7fbff 64%, #e7f1fd 100%); box-shadow: 0 12px 28px rgba(11,63,143,.06); transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease; }
.fit-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: linear-gradient(90deg, var(--sp-blue), var(--sp-action) 60%, var(--sp-teal)); }
.fit-card-multi { background: linear-gradient(150deg, #fff 12%, #f5faff 65%, #ddf3ef 100%); }
.fit-card:focus-within { border-color: var(--sp-blue); box-shadow: 0 18px 40px rgba(11,63,143,.14); }
.fit-card-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.fit-icon { flex: 0 0 42px; width: 42px; height: 42px; color: var(--sp-blue); }
.fit-icon .icon-care { stroke: var(--sp-teal); }
.fit-audience { padding: 6px 10px; border: 1px solid #cfdfef; border-radius: 100px; font-size: .875rem; font-weight: 600; line-height: 1.4; color: var(--sp-blue); background: rgba(255,255,255,.8); }
.fit-card h3 { font-size: 2rem; line-height: 1.15; font-weight: 700; letter-spacing: -.035em; margin: 0 0 14px; color: var(--sp-blue); }
.fit-card p { font-size: 1rem; line-height: 1.7; margin: 0; }
.fit-for { color: #4d6078; min-height: 5.1em; }
.fit-price { display: grid; gap: 10px; padding: 24px 0; margin-top: 18px; border-top: 1px solid #cedff0; border-bottom: 1px solid #cedff0; }
.fit-price strong { font-size: 1.625rem; line-height: 1.17; letter-spacing: -.025em; font-weight: 650; color: var(--sp-navy); }
.fit-price > span { font-size: .875rem; line-height: 1.6; color: #526783; }
.fit-benefits { display: grid; gap: 14px; padding: 24px 0 28px; margin: 0; list-style: none; }
.fit-benefits li { display: grid; grid-template-columns: 14px minmax(0, 1fr); gap: 10px; color: var(--sp-navy); font-size: 1rem; line-height: 1.5; }
.fit-benefits li::before { content: ""; width: 6px; height: 11px; margin: 5px 0 0 2px; border-right: 1.75px solid var(--sp-teal-dark); border-bottom: 1.75px solid var(--sp-teal-dark); transform: rotate(45deg); }
.fit-link { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding: 14px 16px; min-height: 52px; border: 1px solid var(--sp-action); border-radius: 12px; color: #fff; background: var(--sp-action); font-size: 1rem; font-weight: 600; line-height: 1.4; transition: background .18s ease, box-shadow .18s ease; }
.fit-link:hover { background: #1748c6; box-shadow: 0 8px 20px rgba(28,86,227,.18); }
.fit-link span { transition: transform .2s ease; }
.fit-card-multi .fit-link { color: var(--sp-blue); border-color: var(--sp-blue); background: rgba(255,255,255,.8); }
.fit-card-multi .fit-link:hover { background: #fff; }
.fit-card-growth { color: #fff; border-color: #1c56e3; background: radial-gradient(ellipse at 100% 0%, rgba(67,183,171,.22), transparent 60%), linear-gradient(145deg, #0b3f8f 0%, #104da7 60%, #1c56e3 100%); box-shadow: 0 20px 44px rgba(11,63,143,.2); }
.fit-card-growth::before { background: linear-gradient(90deg, var(--sp-teal), #8bddd3); }
.fit-card-growth .fit-audience { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); }
.fit-card-growth h3,
.fit-card-growth .fit-icon,
.fit-card-growth .fit-price strong,
.fit-card-growth .fit-benefits li { color: #fff; }
.fit-card-growth .fit-icon .icon-care { stroke: #87dfd3; }
.fit-card-growth .fit-for,
.fit-card-growth .fit-price > span { color: #f1f6ff; }
.fit-card-growth .fit-price { border-color: rgba(255,255,255,.24); }
.fit-card-growth .fit-benefits li::before { border-color: #87dfd3; }
.fit-card-growth .fit-link { color: var(--sp-blue); background: #fff; border-color: #fff; box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.fit-card-growth .fit-link:hover { background: #ecf4fe; }
.fit-card-growth a:focus-visible { outline-color: #fff; }
.plans-choice-note { margin: 28px 0 0; text-align: center; color: var(--sp-muted); font-size: .9375rem; line-height: 1.6; }
@media (hover: hover) and (pointer: fine) {
  .fit-card:hover { transform: translateY(-7px); border-color: var(--sp-action); box-shadow: 0 24px 46px rgba(11,63,143,.14); }
  .fit-card-growth:hover { box-shadow: 0 28px 54px rgba(11,63,143,.28); }
  .fit-link:hover span { transform: translateX(3px); }
}
.plans-page .plans-price-section { padding: 64px 0; background: var(--sp-ice); }
.plans-price-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 80px; align-items: center; }
.plans-price-copy h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.15; margin-bottom: 22px; }
.plans-price-copy > p:not(.plans-kicker) { font-size: 1rem; line-height: 1.8; color: var(--sp-muted); max-width: 53ch; }
.plans-price-copy .plans-price-promise { color: var(--sp-navy) !important; margin-top: 18px; }
.plans-price-details { margin: 0; }
.plans-price-details > div { padding: 22px 0; border-bottom: 1px solid #cbdced; }
.plans-price-details > div:first-child { padding-top: 0; }
.plans-price-details > div:last-child { padding-bottom: 0; border-bottom: 0; }
.plans-price-details dt { font-size: 1.0625rem; font-weight: 600; color: var(--sp-blue); margin: 0 0 6px; }
.plans-price-details dd { font-size: 1rem; line-height: 1.7; color: var(--sp-muted); margin: 0; }
.plans-page .plans-patch-section { padding: 48px 0; }
.plans-patch-note { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 24px; align-items: start; }
.plans-patch-note img { width: 64px; height: 64px; }
.plans-patch-note h2 { font-size: 1.375rem; line-height: 1.4; margin: 0 0 8px; }
.plans-patch-note p { font-size: 1rem; line-height: 1.7; max-width: 77ch; margin: 0 0 6px; color: var(--sp-muted); }
.plans-page .plans-next-section { padding: 0 0 80px; }
.plans-next { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; padding: 48px; border-radius: 24px; color: #fff; background: var(--sp-blue); }
.plans-next h2 { font-size: clamp(1.875rem, 3vw, 2.625rem); line-height: 1.13; color: #fff; margin-bottom: 18px; }
.plans-next p { max-width: 53ch; font-size: 1rem; line-height: 1.7; color: #e0eafa; margin: 0; }
.plans-next-actions { display: grid; gap: 10px; justify-items: center; }
.plans-next .btn { width: 100%; min-height: 52px; background: #fff; color: var(--sp-blue); border-color: #fff; box-shadow: none; gap: 20px; }
.plans-next .btn:hover { background: var(--sp-ice); }
.plans-next .plans-text-link { color: #fff; }
.plans-page a:focus-visible { outline: 3px solid var(--sp-teal-dark); outline-offset: 5px; }
.plans-next a:focus-visible { outline-color: #fff; }

@media (max-width: 1000px) {
  .fit-card { padding: 24px; }
  .plans-choice-grid { gap: 16px; }
  .plans-price-layout { gap: 40px; }
  .plans-next { padding: 36px; gap: 28px; }
}
@media (max-width: 820px) {
  .plans-choice-grid { grid-template-columns: minmax(0, 1fr); }
  .fit-for { min-height: 0; }
  .fit-card-top { margin-bottom: 20px; }
  .plans-price-layout { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .plans-next { grid-template-columns: minmax(0, 1fr); }
  .plans-next-actions { justify-items: start; max-width: 330px; }
}
@media (max-width: 620px) {
  .plans-page .container { width: calc(100% - 32px); }
  .plans-page .plans-intro { padding: 40px 0 28px; }
  .plans-page .crumbs { margin-bottom: 28px; }
  .plans-intro-copy { font-size: 1.0625rem; line-height: 1.7; margin-top: 18px; }
  .plans-choice-heading { display: block; margin-bottom: 16px; }
  .plans-choice-heading h2 { margin-bottom: 4px; }
  .plans-page .plans-choices { padding-bottom: 40px; }
  .fit-card { padding: 24px; border-radius: 18px; }
  .plans-choice-note { font-size: .875rem; }
  .plans-page .plans-price-section { padding: 40px 0; }
  .plans-page .plans-patch-section { padding: 36px 0; }
  .plans-patch-note { grid-template-columns: 48px minmax(0, 1fr); gap: 16px; }
  .plans-patch-note img { width: 48px; height: 48px; }
  .plans-patch-note h2 { font-size: 1.25rem; }
  .plans-page .plans-next-section { padding-bottom: 48px; }
  .plans-next { padding: 30px 24px; border-radius: 20px; }
  .plans-next-actions { width: 100%; max-width: none; }
  .plans-next-actions .plans-text-link { font-size: .875rem; }
}
.plans-start-section { padding: 12px 0 64px; }
.plans-start-panel { display: grid; grid-template-columns: minmax(0, 1fr); gap: 20px; }
.plans-start-intro h2 { margin: 0 0 18px; color: var(--sp-navy); font-size: clamp(26px, 3vw, 36px); line-height: 1.2; letter-spacing: -.03em; }
.plans-start-intro > p:last-child { margin: 0; color: var(--sp-muted); line-height: 1.75; }
.plans-start-details { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: 0; }
.plans-start-details > div { padding: 24px; border: 1px solid var(--sp-line); border-radius: 16px; background: #eef5fd; }
.plans-start-details > div::before { content: ''; display: block; width: 24px; height: 3px; margin-bottom: 16px; border-radius: 2px; background: var(--sp-teal-dark); }
.plans-start-details dt { color: var(--sp-blue); font-weight: 600; margin-bottom: 5px; }
.plans-start-details dd { margin: 0; color: var(--sp-muted); line-height: 1.65; }
.plans-start-offer { display: flex; align-items: center; gap: 20px; padding: 24px; border-left: 3px solid #43b7ab; background: linear-gradient(90deg, #edf8f6 0%, #f8fbfc 60%, #fff 100%); }
.plans-offer-icon { flex: 0 0 32px; width: 32px; height: 32px; color: var(--sp-blue); }
.plans-offer-check { stroke: var(--sp-teal-dark); }
.plans-start-offer p { display: grid; gap: 5px; min-width: 0; margin: 0; line-height: 1.6; color: var(--sp-muted); }
.plans-start-offer strong { color: var(--sp-blue); font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
@media (max-width: 620px) {
  .plans-start-offer { align-items: flex-start; gap: 14px; padding: 20px 16px; }
  .plans-offer-icon { flex-basis: 28px; width: 28px; height: 28px; margin-top: 2px; }
  .plans-start-offer strong { font-size: 18px; }
}
.plans-start-terms { margin: 0; color: var(--sp-muted); font-size: 14px; line-height: 1.65; }
@media (max-width: 820px) {
  .plans-start-details { grid-template-columns: minmax(0, 1fr); }
  .plans-start-section { padding-bottom: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .fit-card,
  .fit-link,
  .fit-link span { transition: none; }
  .fit-card:hover,
  .fit-link:hover span { transform: none; }
}
