/* The one price card (Kene, Oct 21, 2026: "condense that into one
 * all-encompassing card"). The same markup is used on /pricing and on
 * /protection, so the price, the list of what's included, extra books, the
 * promise and the button can never disagree between pages.
 *
 *   .lpc            a white card (Protection, on its green field)
 *   .lpc--wide      two columns from 960px up: price on the left, what's
 *                   included on the right
 *   .lpc--hero      no outer box: the price set large and centred, the
 *                   included list in a quiet panel (Pricing's left side)
 *
 * The Monthly / Yearly switch (price-card.js) sets data-plan on the nearest
 * [data-lpc-root]; anything inside it marked data-show="monthly" or
 * data-show="yearly" follows. With no script the monthly price shows.
 * Uses the chrome.css tokens only.
 */
[data-plan="monthly"] [data-show="yearly"], [data-plan="yearly"] [data-show="monthly"] { display: none !important; }

.lpc { --lpc-pad: 32px; box-sizing: border-box; position: relative; width: 100%; max-width: 560px; margin: 0 auto; padding: var(--lpc-pad); border-radius: 28px; text-align: left; color: var(--ink); font-family: var(--sans); background: #FFFFFF;
  box-shadow: inset 0 1px 0 #FFFFFF, 0 0 0 1px rgba(12, 14, 13, .06), 0 2px 4px rgba(4, 30, 19, .04), 0 24px 48px -24px rgba(4, 30, 19, .35), 0 60px 110px -50px rgba(4, 30, 19, .5); }
.lpc *, .lpc *::before, .lpc *::after { box-sizing: border-box; }
.lpc p, .lpc ul, .lpc h3 { margin: 0; padding: 0; }

/* head: name, free week, the switch, the price */
.lpc-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.lpc-name { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.lpc-free { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 11px; border-radius: 9px; font-size: 13px; font-weight: 500; color: var(--money); background: var(--mist); box-shadow: inset 0 0 0 1px var(--money-b); white-space: nowrap; }

.lpc-seg { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin-top: 20px; padding: 4px; border-radius: 14px; background: #EEF2F0; box-shadow: inset 0 1px 2px rgba(12, 14, 13, .06); }
.lpc-seg button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 10px; border: 0; border-radius: 11px; font: 500 15px/1 var(--sans); letter-spacing: -.01em; color: var(--stone); background: transparent; cursor: pointer; transition: color .25s, background-color .25s, box-shadow .3s; -webkit-tap-highlight-color: transparent; }
.lpc-seg button:hover { color: var(--ink); }
.lpc-seg button[aria-pressed="true"] { color: var(--ink); background: #FFFFFF; box-shadow: 0 1px 0 rgba(255, 255, 255, .9) inset, 0 0 0 1px rgba(12, 14, 13, .05), 0 4px 10px -4px rgba(12, 14, 13, .18); }
.lpc-seg button:focus-visible { outline: 2px solid var(--money); outline-offset: 2px; }
.lpc-save { display: inline-flex; align-items: center; height: 20px; padding: 0 7px; border-radius: 6px; font-size: 11px; font-weight: 500; letter-spacing: 0; color: var(--ink); background: var(--glow); }

.lpc-price { margin-top: 24px; }
.lpc-amt { display: flex; align-items: baseline; flex-wrap: wrap; column-gap: 12px; }
.lpc-amt b { font-weight: 200; font-size: 76px; line-height: .9; letter-spacing: -.07em; margin-left: -.05em; color: var(--ink); font-variant-numeric: lining-nums; }
.lpc-amt span { font-family: var(--serif); font-style: italic; font-size: 32px; line-height: 1; letter-spacing: -.01em; color: var(--grey); }
.lpc-tag { margin-top: 16px; font-size: 16px; font-weight: 500; letter-spacing: -.01em; color: var(--ink); }
/* Weekly and daily equivalents (Oct 22, 2026): what the monthly price
   works out to. Billing stays monthly, so they sit under the price, smaller. */
.lpc-eq { font-variant-numeric: tabular-nums lining-nums; }
.lpc-dot { display: inline-block; margin: 0 .38em; color: var(--grey); font-weight: 400; }
.lpc-free-line { margin-top: 10px; font-size: 14px; font-weight: 500; letter-spacing: -.005em; color: var(--money); }
.lpc-note { margin-top: 4px; font-size: 14px; line-height: 1.5; color: var(--stone); text-wrap: balance; }

/* body: everything included, extra books */
.lpc-body { margin-top: 26px; padding-top: 24px; border-top: 1px solid var(--ink-a); }
.lpc-lab { font-size: 12px; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--stone); }
.lpc-list { list-style: none; display: grid; grid-template-columns: 1fr; gap: 11px; margin-top: 14px !important; }
.lpc-list li { display: flex; align-items: flex-start; gap: 10px; font-size: 14.5px; line-height: 1.4; letter-spacing: -.005em; color: var(--ink); }
.lpc-list li small { display: block; margin-top: 1px; font-size: 12.5px; color: var(--stone); }
.lpc-ck { flex: none; width: 20px; height: 20px; margin-top: -1px; border-radius: 50%; display: grid; place-items: center; background: var(--money-a); box-shadow: inset 0 0 0 1px var(--money-b); }
.lpc-ck svg { width: 12px; height: 12px; fill: none; stroke: var(--money); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.lpc-extra { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 20px; padding: 14px 16px; border-radius: 16px; background: var(--mist); box-shadow: inset 0 0 0 1px rgba(16, 117, 80, .07); }
.lpc-extra-t b { display: block; font-size: 14.5px; font-weight: 500; letter-spacing: -.01em; }
.lpc-extra-t span { display: block; margin-top: 2px; font-size: 12.5px; line-height: 1.45; color: var(--stone); }
.lpc-extra-p { flex: none; text-align: right; font-size: 12.5px; color: var(--stone); line-height: 1.2; }
.lpc-extra-p b { display: block; font-weight: 300; font-size: 26px; letter-spacing: -.05em; color: var(--ink); }

/* foot: the promise, the button, the billing note */
.lpc-foot { margin-top: 22px; }
.lpc-promise { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.5; color: var(--stone); }
.lpc-promise svg { flex: none; width: 20px; height: 20px; margin-top: 0; fill: none; stroke: var(--money); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.lpc-promise b { font-weight: 500; color: var(--ink); }
.lpc-promise a { white-space: nowrap; color: var(--money); font-weight: 500; text-decoration: underline; text-decoration-color: var(--money-b); text-underline-offset: 3px; transition: text-decoration-color .25s; }
.lpc-promise a:hover { text-decoration-color: currentColor; }
.lpc-btn { width: 100%; margin-top: 18px; border-radius: 14px !important; }
.lpc-btn svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lpc-bill { margin-top: 12px !important; font-size: 12px; line-height: 1.5; text-align: center; color: #8C918E; }

/* two columns from 960px (Protection) */
@media (min-width: 960px) {
  .lpc--wide { --lpc-pad: 40px; max-width: 980px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); grid-template-rows: auto 1fr; column-gap: 48px; }
  .lpc--wide .lpc-head { grid-column: 1; grid-row: 1; }
  .lpc--wide .lpc-foot { grid-column: 1; grid-row: 2; align-self: end; margin-top: 28px; }
  .lpc--wide .lpc-body { grid-column: 2; grid-row: 1 / span 2; margin: 0; padding: 0 0 0 48px; border-top: 0; border-left: 1px solid var(--ink-a); display: flex; flex-direction: column; }
  .lpc--wide .lpc-list { gap: 13px; }
  .lpc--wide .lpc-extra { margin-top: auto; }
  .lpc--wide .lpc-list { margin-bottom: 22px !important; }
  .lpc--wide .lpc-amt b { font-size: 88px; }
  .lpc--wide .lpc-amt span { font-size: 36px; }
  .lpc--wide .lpc-tag { margin-top: 20px; }
}

/* the hero form (Pricing): no outer box, the price large and centred, the
   list in one quiet panel, kept short enough to sit in one screen */
.lpc--hero { max-width: 480px; padding: 0; background: none; box-shadow: none; border-radius: 0; }
.lpc--hero .lpc-top { justify-content: center; }
.lpc--hero .lpc-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lpc--hero .lpc-seg { max-width: 300px; margin: 14px auto 0; }
.lpc--hero .lpc-price { margin-top: 14px; text-align: center; }
.lpc--hero .lpc-amt { justify-content: center; column-gap: 14px; }
.lpc--hero .lpc-amt b { font-size: clamp(88px, 7.6vw, 108px); margin-left: -.07em; }
.lpc--hero .lpc-amt span { font-size: clamp(34px, 3vw, 42px); }
.lpc--hero .lpc-tag { margin-top: 12px; font-size: 16.5px; }
.lpc--hero .lpc-body { margin-top: 18px; padding: 18px 22px 14px; border: 0; border-radius: 22px; background: #FFFFFF; box-shadow: inset 0 0 0 1px var(--ink-a), 0 18px 40px -30px rgba(4, 30, 19, .35); }
.lpc--hero .lpc-list { row-gap: 10px; }
.lpc--hero .lpc-list li { font-size: 14px; }
.lpc--hero .lpc-list li:not(:first-child) small { display: none; }
.lpc--hero .lpc-extra { margin-top: 14px; padding: 12px 0 0; border-radius: 0; background: none; box-shadow: none; border-top: 1px solid var(--ink-a); }
.lpc--hero .lpc-extra-t span { display: none; }
.lpc--hero .lpc-extra-p { display: flex; align-items: baseline; gap: 6px; }
.lpc--hero .lpc-extra-p b { font-size: 22px; }
.lpc--hero .lpc-foot { margin-top: 16px; }
.lpc--hero .lpc-btn { margin-top: 14px; }
@media (max-width: 420px) {
  .lpc { --lpc-pad: 22px; border-radius: 24px; }
  .lpc-amt b { font-size: 64px; }
  .lpc-amt span { font-size: 28px; }
  .lpc--hero .lpc-list { grid-template-columns: 1fr; }
  .lpc--hero .lpc-body { padding: 20px 18px 16px; }
  .lpc-seg button { font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) { .lpc-seg button { transition: none; } }
