/* plans — the pricing page, told in the site's scenes (the theme's .lx family, views/themes/app-theme).
 * The scenes paint the grounds; this file styles what stands on them: the bone tiers on the night,
 * the date-of-birth ask, the board's gold figure, the comparison on violet glass, the questions, and
 * where the companion stands in each scene.
 * A scene is the same world in both modes, so its colours are the family's fixed scene palette.
 * Mobile-first: base rules target 320px; the ladder climbs at 560 / 768 / 900. */

[data-cmp="plans"] .plx-site, [data-cmp="plans"].plx-site { background: var(--lx-deep); }
[data-cmp="plans"] .plx-open, [data-cmp="plans"].plx-open { padding-bottom: 72px; }
[data-cmp="plans"] .plx-head, [data-cmp="plans"].plx-head { max-width: 920px; }
[data-cmp="plans"] .plx-h1, [data-cmp="plans"].plx-h1 { font-size: clamp(40px, 5.4vw, 80px); line-height: 1.02; }
[data-cmp="plans"] .plx-h2, [data-cmp="plans"].plx-h2 { font-size: clamp(36px, 4.4vw, 68px); }
[data-cmp="plans"] .plx-lede, [data-cmp="plans"].plx-lede { margin: 18px 0 0; max-width: 60ch; font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; color: rgba(255, 255, 255, .8); }

/* ── the three tiers: bone cards on the night, the gold-ringed one most families take ── */
[data-cmp="plans"] .plx-tiers, [data-cmp="plans"].plx-tiers {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px; align-items: stretch; margin-top: clamp(32px, 4vw, 48px);
}
[data-cmp="plans"] .plx-tier, [data-cmp="plans"].plx-tier {
  --lx-ring: var(--lx-violet);
  position: relative; display: flex; flex-direction: column; border-radius: 24px;
  box-shadow: inset 0 1px 0 #FFFFFF, 0 0 0 1px rgba(23, 21, 46, .08), 0 34px 70px -34px rgba(5, 4, 20, .9);
  transition: transform .3s var(--lx-ease);
  background: var(--lx-s-bone); color: var(--lx-s-ink); /* dark-exempt: a plan is a bone card on the night scene */
}
[data-cmp="plans"] .plx-tier-body, [data-cmp="plans"].plx-tier-body { padding: 26px 24px 6px; flex: 1; display: flex; flex-direction: column; }
[data-cmp="plans"] .plx-tfoot, [data-cmp="plans"].plx-tfoot { padding: 16px 24px 20px; border-top: 1px solid rgba(23, 21, 46, .10); border-radius: 0 0 24px 24px; background: var(--lx-s-cream); } /* dark-exempt: the card's foot, cream in both modes */
@media (hover: hover) and (pointer: fine) { [data-cmp="plans"] .plx-tier:hover, [data-cmp="plans"].plx-tier:hover { transform: translateY(-6px); }}
[data-cmp="plans"] .plx-tier--best, [data-cmp="plans"].plx-tier--best { box-shadow: 0 0 0 2px var(--lx-gold), 0 0 110px -24px rgba(231, 206, 130, .55), 0 34px 70px -34px rgba(5, 4, 20, .9); }
[data-cmp="plans"] .plx-tier--best .plx-tfoot, [data-cmp="plans"].plx-tier--best .plx-tfoot { background: #F7EDCF; } /* dark-exempt: the gold-tinted foot of the plan most families take */
[data-cmp="plans"] .plx-badge, [data-cmp="plans"].plx-badge { position: absolute; top: -13px; left: 24px; padding: 6px 12px; border-radius: 999px; white-space: nowrap; font: 500 11px/1.2 var(--lx-mono); letter-spacing: .12em; text-transform: uppercase; background: var(--lx-gold); color: var(--lx-s-ink); } /* dark-exempt: ink on the gold badge */
[data-cmp="plans"] .plx-tname, [data-cmp="plans"].plx-tname { margin: 0 0 4px; font: 600 22px/1.2 var(--lx-disp); letter-spacing: -.015em; }
[data-cmp="plans"] .plx-tfor, [data-cmp="plans"].plx-tfor { margin: 0 0 18px; min-height: 2.9em; max-width: 32ch; font-size: 14px; line-height: 1.45; color: var(--lx-s-ink-2); } /* dark-exempt: on the bone card */
[data-cmp="plans"] .plx-price, [data-cmp="plans"].plx-price { display: flex; align-items: baseline; gap: 6px; margin: 0 0 4px; }
[data-cmp="plans"] .plx-price b, [data-cmp="plans"].plx-price b { font: 500 clamp(38px, 3.4vw, 46px)/1 var(--lx-mono); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
[data-cmp="plans"] .plx-price > span, [data-cmp="plans"].plx-price > span { font-size: 14px; color: var(--lx-s-ink-2); } /* dark-exempt: on the bone card */
[data-cmp="plans"] .plx-household, [data-cmp="plans"].plx-household { margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid rgba(23, 21, 46, .10); font-size: 13.5px; color: var(--lx-s-ink-2); } /* dark-exempt: on the bone card */
[data-cmp="plans"] .plx-credits, [data-cmp="plans"].plx-credits { margin: 0 0 18px; padding: 12px 14px; border-radius: 14px; box-shadow: inset 0 0 0 1px rgba(23, 21, 46, .10); background: var(--lx-s-cream); } /* dark-exempt: a cream well on the bone card */
[data-cmp="plans"] .plx-credits b, [data-cmp="plans"].plx-credits b { display: block; font: 500 26px/1.1 var(--lx-mono); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
[data-cmp="plans"] .plx-credits > span, [data-cmp="plans"].plx-credits > span { display: block; margin-top: 3px; font-size: 12.5px; color: var(--lx-s-ink-2); } /* dark-exempt: on the cream well */
[data-cmp="plans"] .plx-tier--best .plx-credits, [data-cmp="plans"].plx-tier--best .plx-credits { box-shadow: inset 0 0 0 1px rgba(122, 92, 14, .3); background: #F7EDCF; } /* dark-exempt: the gold well of the plan most families take */
[data-cmp="plans"] .plx-tier--best .plx-credits b, [data-cmp="plans"].plx-tier--best .plx-credits b { color: var(--lx-s-gold-ink); } /* dark-exempt: gold ink on the gold well */
[data-cmp="plans"] .plx-feat, [data-cmp="plans"].plx-feat { list-style: none; margin: 0 0 18px; padding: 0; flex: 1; }
[data-cmp="plans"] .plx-feat li, [data-cmp="plans"].plx-feat li { position: relative; padding: 0 0 9px 25px; font-size: 14px; line-height: 1.45; color: var(--lx-s-ink-2); } /* dark-exempt: on the bone card */
/* the tick is decorative: the sentence beside it already says the feature is included */
[data-cmp="plans"] .plx-feat li::before, [data-cmp="plans"].plx-feat li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 17px; height: 17px; border-radius: 50%; font-size: 10px; font-weight: 700; line-height: 17px; text-align: center; background: var(--lx-jade-soft); color: var(--lx-jade); } /* dark-exempt: the green tick on the bone card */
/* the household's current plan: a state, never a control */
[data-cmp="plans"] .plx-yours, [data-cmp="plans"].plx-yours { margin: 0; display: inline-flex; align-items: center; padding: 6px 12px; border-radius: 999px; font: 500 11.5px/1.2 var(--lx-mono); letter-spacing: .1em; text-transform: uppercase; background: var(--lx-jade-soft); color: var(--lx-jade); } /* dark-exempt: the green state chip on the bone card */

/* ── buttons on the cards ────────────────────────────────────────────────── */
[data-cmp="plans"] .plx-btn, [data-cmp="plans"].plx-btn {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 48px; padding: 10px 20px; border-radius: 999px;
  background: transparent; font: 700 15px/1.2 var(--font-sans); text-decoration: none; cursor: pointer;
  transition: transform .12s var(--lx-ease), background-color .2s var(--lx-ease), border-color .2s var(--lx-ease);
  border: 1.5px solid rgba(23, 21, 46, .35); color: var(--lx-s-ink); /* dark-exempt: ink on the bone card */
}
[data-cmp="plans"] .plx-btn--primary, [data-cmp="plans"].plx-btn--primary { border-color: var(--lx-gold); background: var(--lx-gold); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .45), 0 14px 30px -14px rgba(231, 206, 130, .7); }
[data-cmp="plans"] .plx-btn[disabled], [data-cmp="plans"].plx-btn[disabled] { opacity: .55; cursor: not-allowed; }
[data-cmp="plans"] .plx-btn:active:not([disabled]), [data-cmp="plans"].plx-btn:active:not([disabled]) { transform: scale(.98); }
@media (hover: hover) and (pointer: fine) {
  [data-cmp="plans"] .plx-btn:hover, [data-cmp="plans"].plx-btn:hover { border-color: var(--lx-s-gold-ink); }
  [data-cmp="plans"] .plx-btn--primary:hover, [data-cmp="plans"].plx-btn--primary:hover { background: var(--lx-gold-2); border-color: var(--lx-gold-2); }}

[data-cmp="plans"] .plx-manage, [data-cmp="plans"].plx-manage { margin: 22px 0 0; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .82); }
[data-cmp="plans"] .plx-manage-go, [data-cmp="plans"].plx-manage-go { display: inline-flex; align-items: center; min-height: 44px; color: var(--lx-gold); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

/* ── the date-of-birth ask: closed until the verb asks for it (a client class, so opening it
      costs no re-render) ─────────────────────────────────────────────────────── */
[data-cmp="plans"] .plx-dob, [data-cmp="plans"].plx-dob { display: none; }
[data-cmp="plans"] .plx-dob.is-on, [data-cmp="plans"].plx-dob.is-on {
  --lx-ring: var(--lx-violet);
  display: block; margin: 24px 0 0; padding: 22px 20px; border-radius: 22px; box-shadow: 0 0 0 2px var(--lx-gold);
  background: var(--lx-s-bone); color: var(--lx-s-ink); /* dark-exempt: the ask is a bone card on the night scene */
}
[data-cmp="plans"] .plx-dob-h, [data-cmp="plans"].plx-dob-h { margin: 0; font: 600 clamp(20px, 4.4vw, 24px)/1.2 var(--lx-disp); letter-spacing: -.015em; }
[data-cmp="plans"] .plx-dob-why, [data-cmp="plans"].plx-dob-why { margin: 8px 0 0; max-width: 62ch; font-size: 15px; line-height: 1.6; color: var(--lx-s-ink-2); } /* dark-exempt: on the bone card */
[data-cmp="plans"] .plx-dob-row, [data-cmp="plans"].plx-dob-row { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
[data-cmp="plans"] .plx-dob-field, [data-cmp="plans"].plx-dob-field { display: block; min-width: 0; }
[data-cmp="plans"] .plx-dob-label, [data-cmp="plans"].plx-dob-label { display: block; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--lx-s-ink-2); } /* dark-exempt: on the bone card */
[data-cmp="plans"] .plx-dob-in, [data-cmp="plans"].plx-dob-in { display: block; width: 100%; min-height: 48px; padding: 10px 14px; border: 1px solid #8A86A6; border-radius: 12px; font-family: inherit; font-size: 16px; background: #FFFFFF; color: var(--lx-s-ink); } /* dark-exempt: a field on the bone card */
[data-cmp="plans"] .plx-dob-err, [data-cmp="plans"].plx-dob-err { display: none; margin: 12px 0 0; font-size: 14px; line-height: 1.5; color: var(--lx-crimson); } /* dark-exempt: the error red on the bone card */
[data-cmp="plans"] .plx-dob-err.is-on, [data-cmp="plans"].plx-dob-err.is-on { display: block; }

/* ── the whiteboard (the theme's .lx-board): the one figure in gold, bigger than the marker hand ── */
[data-cmp="plans"] .plx-bw--six, [data-cmp="plans"].plx-bw--six { font-size: 72px; font-weight: 700; fill: var(--lx-s-marker-gold); }

/* ── the comparison on violet glass: it scrolls inside its own box with the labels pinned ── */
[data-cmp="plans"] .plx-kicker--light, [data-cmp="plans"].plx-kicker--light { color: var(--lx-gold); }
[data-cmp="plans"] .plx-sub, [data-cmp="plans"].plx-sub { margin: 14px 0 0; font-size: 17px; color: rgba(255, 255, 255, .85); }
[data-cmp="plans"] .plx-table-stage, [data-cmp="plans"].plx-table-stage { position: relative; margin-top: 28px; }
[data-cmp="plans"] .plx-table-card, [data-cmp="plans"].plx-table-card {
  border-radius: 22px; overflow: hidden;
  background: rgba(255, 255, 255, .1); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .22), 0 40px 80px -40px rgba(9, 8, 30, .8);
}
[data-cmp="plans"] .plx-scroll, [data-cmp="plans"].plx-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
[data-cmp="plans"] .plx-table, [data-cmp="plans"].plx-table { width: 100%; border-collapse: collapse; font-size: 12.5px; table-layout: fixed; color: #FFFFFF; }
[data-cmp="plans"] .plx-table thead th, [data-cmp="plans"].plx-table thead th { padding: 14px 4px 12px; border-bottom: 1px solid rgba(255, 255, 255, .18); font: 600 13px/1.25 var(--lx-disp); letter-spacing: -.01em; text-align: center; }
[data-cmp="plans"] .plx-table thead th:first-child, [data-cmp="plans"].plx-table thead th:first-child { text-align: left; }
[data-cmp="plans"] .plx-table thead th:nth-child(3), [data-cmp="plans"].plx-table thead th:nth-child(3) { color: var(--lx-gold); }
[data-cmp="plans"] .plx-th-price, [data-cmp="plans"].plx-th-price { display: block; margin-top: 2px; font: 500 11.5px/1.3 var(--lx-mono); letter-spacing: 0; color: rgba(255, 255, 255, .75); font-variant-numeric: tabular-nums; }
[data-cmp="plans"] .plx-table tbody th, [data-cmp="plans"].plx-table tbody th, [data-cmp="plans"] .plx-table tbody td, [data-cmp="plans"].plx-table tbody td { padding: 10px 4px; border-bottom: 1px solid rgba(255, 255, 255, .12); text-align: center; font-weight: 400; color: rgba(255, 255, 255, .85); }
[data-cmp="plans"] .plx-table tbody tr:last-child th, [data-cmp="plans"].plx-table tbody tr:last-child th, [data-cmp="plans"] .plx-table tbody tr:last-child td, [data-cmp="plans"].plx-table tbody tr:last-child td { border-bottom: 0; }
[data-cmp="plans"] .plx-table tbody th, [data-cmp="plans"].plx-table tbody th { text-align: left; color: #FFFFFF; font-weight: 500; }
[data-cmp="plans"] .plx-table thead th:first-child, [data-cmp="plans"].plx-table thead th:first-child, [data-cmp="plans"] .plx-table tbody th[scope="row"], [data-cmp="plans"].plx-table tbody th[scope="row"] { position: sticky; left: 0; z-index: 1; background: #4F48C4; box-shadow: 1px 0 0 rgba(255, 255, 255, .12); }
[data-cmp="plans"] .plx-table tbody tr.plx-group td, [data-cmp="plans"].plx-table tbody tr.plx-group td {
  position: sticky; left: 0; max-width: 100vw; padding: 14px 4px 8px; border-bottom: 1px solid rgba(255, 255, 255, .18);
  font: 500 11px/1.4 var(--lx-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--lx-gold); text-align: left;
}
[data-cmp="plans"] .plx-num, [data-cmp="plans"].plx-num { font: 500 14px/1.3 var(--lx-mono); font-variant-numeric: tabular-nums; color: #FFFFFF; }
[data-cmp="plans"] .plx-col-hi, [data-cmp="plans"].plx-col-hi { background: rgba(231, 206, 130, .12); }
[data-cmp="plans"] .plx-same, [data-cmp="plans"].plx-same { padding: 16px 4px 18px; border-bottom: none; font-size: 14px; line-height: 1.75; color: rgba(255, 255, 255, .85); }

/* ── questions on the night ──────────────────────────────────────────────── */
[data-cmp="plans"] .plx-qa-grid, [data-cmp="plans"].plx-qa-grid { display: grid; gap: 22px; margin-top: 32px; }
[data-cmp="plans"] .plx-qa, [data-cmp="plans"].plx-qa { padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .16); }
[data-cmp="plans"] .plx-qa h3, [data-cmp="plans"].plx-qa h3 { margin: 0 0 8px; font: 600 19px/1.3 var(--lx-disp); letter-spacing: -.01em; }
[data-cmp="plans"] .plx-qa p, [data-cmp="plans"].plx-qa p { margin: 0; font-size: 16px; line-height: 1.6; color: rgba(255, 255, 255, .78); }

/* ── the close: a gold strip — the line, the door, the stores, the price note ── */
[data-cmp="plans"] .plx-close, [data-cmp="plans"].plx-close { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px 32px; padding-top: 96px; padding-bottom: 28px; }
[data-cmp="plans"] .plx-close-line, [data-cmp="plans"].plx-close-line { margin-top: 10px; max-width: 22ch; font-size: clamp(28px, 3.2vw, 48px); line-height: 1.1; text-wrap: balance; }
[data-cmp="plans"] .plx-close-cta, [data-cmp="plans"].plx-close-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
[data-cmp="plans"] .plx-foot-legal, [data-cmp="plans"].plx-foot-legal { padding-bottom: 6px; font-size: 12px; }

/* ── where the companion stands (lx-motion.js reads these spots; the theme keeps them invisible).
      The board's spot is the theme's; the others are desktop stops — under 1024 px it is the corner charm. ── */
/* The companion stands on the Base card: a 64 px stop on phones, where the card makes room for it,
   and off the card's right edge on wide screens, clear of the badge in either language. */
[data-cmp="plans"] .plx-spot-tier, [data-cmp="plans"].plx-spot-tier { right: 10px; bottom: calc(100% - 10px); width: 64px; height: 77px; }
[data-cmp="plans"] .plx-tier--best, [data-cmp="plans"].plx-tier--best { margin-top: 58px; }
@media (min-width: 660px) { [data-cmp="plans"] .plx-tier--best, [data-cmp="plans"].plx-tier--best { margin-top: 0; }}
@media (min-width: 1024px) { [data-cmp="plans"] .plx-spot-tier, [data-cmp="plans"].plx-spot-tier { right: -10px; bottom: calc(100% - 26px); width: 116px; height: 139px; }}
[data-cmp="plans"] .plx-stat--base, [data-cmp="plans"].plx-stat--base { position: relative; }
[data-cmp="plans"] .plx-spot-count, [data-cmp="plans"].plx-spot-count { left: 64px; bottom: calc(100% - 4px); width: 110px; height: 132px; }
[data-cmp="plans"] .plx-spot-peek, [data-cmp="plans"].plx-spot-peek { right: 14px; top: -108px; width: 120px; height: 144px; }
[data-cmp="plans"] .plx-qa-h, [data-cmp="plans"].plx-qa-h { position: relative; }
[data-cmp="plans"] .plx-spot-qa, [data-cmp="plans"].plx-spot-qa { left: calc(100% + 24px); bottom: 4px; width: 110px; height: 132px; }
[data-cmp="plans"] .plx-close-say, [data-cmp="plans"].plx-close-say { position: relative; }
[data-cmp="plans"] .plx-spot-close, [data-cmp="plans"].plx-spot-close { left: 0; bottom: calc(100% + 4px); width: 96px; height: 115px; }

/* ── the ladder ──────────────────────────────────────────────────────────── */
@media (min-width: 560px) {
  [data-cmp="plans"] .plx-table, [data-cmp="plans"].plx-table { min-width: 560px; font-size: 14px; }
  [data-cmp="plans"] .plx-table thead th, [data-cmp="plans"].plx-table thead th { padding: 16px 12px 14px; font-size: 15px; }
  [data-cmp="plans"] .plx-table tbody th, [data-cmp="plans"].plx-table tbody th, [data-cmp="plans"] .plx-table tbody td, [data-cmp="plans"].plx-table tbody td { padding: 12px 12px; }
  [data-cmp="plans"] .plx-table tbody tr.plx-group td, [data-cmp="plans"].plx-table tbody tr.plx-group td { padding: 18px 12px 10px; }
  [data-cmp="plans"] .plx-table thead th:first-child, [data-cmp="plans"].plx-table thead th:first-child, [data-cmp="plans"] .plx-table tbody th[scope="row"], [data-cmp="plans"].plx-table tbody th[scope="row"] { position: static; background: none; box-shadow: none; }
  [data-cmp="plans"] .plx-btn, [data-cmp="plans"].plx-btn { width: auto; padding-inline: 24px; }
  [data-cmp="plans"] .plx-tfoot .plx-btn, [data-cmp="plans"].plx-tfoot .plx-btn { width: 100%; }
  [data-cmp="plans"] .plx-dob.is-on, [data-cmp="plans"].plx-dob.is-on { padding: 26px 28px; }
  [data-cmp="plans"] .plx-dob-row, [data-cmp="plans"].plx-dob-row { flex-direction: row; align-items: flex-end; gap: 14px; }
  [data-cmp="plans"] .plx-dob-field, [data-cmp="plans"].plx-dob-field { max-width: 240px; }
  [data-cmp="plans"] .plx-dob-row .plx-btn, [data-cmp="plans"].plx-dob-row .plx-btn { width: auto; }}
@media (min-width: 768px) {
  [data-cmp="plans"] .plx-qa-grid, [data-cmp="plans"].plx-qa-grid { grid-template-columns: 1fr 1fr; gap: 28px 48px; }}
@media (min-width: 900px) {
  [data-cmp="plans"] .plx-tfor, [data-cmp="plans"].plx-tfor { min-height: 3.3em; }}
/* A desktop gives the companion its room: the counter headline ends before the 30,000 column it
   stands over, and the questions headline leaves a width beside it and enough height above it for the
   line on a 768-px-tall screen. */
@media (min-width: 1024px) {
  [data-cmp="plans"] .plx-num-h, [data-cmp="plans"].plx-num-h { max-width: min(15em, 30vw); }
  [data-cmp="plans"] .plx-qa-h, [data-cmp="plans"].plx-qa-h { width: fit-content; max-width: calc(100% - 160px); }
  [data-cmp="plans"] .plx-qa-in, [data-cmp="plans"].plx-qa-in { padding-top: calc(var(--lx-bar-h) + 120px); }}