/* tmw-pay-apl.css: the pay side of the site in the site's own look (Jake 2026-11-19: "update our pay and invoice page
   along with the agreements and invoices ... to have our Apple gradient font, make it look like our My Book and Explore
   ... We're still using old fonts and old looks").
   Loaded AFTER each page's own <style> on /pay/ and /pay/blast/, so it wins by order. What it changes:
     type     the serif (Fraunces) is gone: SF for everything, tight bold titles, the page title is the site's
              gradient headline (tmw-apl.js dresses it)
     colour   gold is retired on these pages: violet for small accents, the white pearl for the one main button
     shape    glass cards with a soft inner edge, round pill buttons, softer fields
   The pages' own rules still carry the layout. Their gold values were swapped for violet in place the same day. */
:root{
  --serif:-apple-system,BlinkMacSystemFont,"SF Pro Display","Inter",sans-serif;
  --sans:-apple-system,BlinkMacSystemFont,"SF Pro Text","Inter",sans-serif;
  --mono:var(--sans);
  --gold:#A78BFA;--gold-soft:#C4B5FD;
  --card:rgba(255,255,255,.04);
  --pearl:linear-gradient(110deg,#F7F4FF,#FBEFFA,#FFF1EA,#EEF6FF);
}
body{color:#F5F5F7;letter-spacing:-.003em}
body::before{background:radial-gradient(820px 520px at 16% -10%,rgba(167,139,250,.14),transparent 60%)!important}

/* the page title: the site's headline (tmw-apl.js adds .apl-h and the gradient word); a touch smaller than the
   homepage's so it sits with a form under it */
.sechead{align-items:flex-end;margin:34px 0 18px}
html body .sechead h2.apl-h{font-size:clamp(34px,4.2vw,52px)!important}
.sechead h2{font-family:var(--serif);font-weight:700;font-size:clamp(34px,4.2vw,52px);line-height:1;letter-spacing:-.045em;color:#F5F5F7}
.intro{font-size:16px;color:#a7aca7;max-width:60ch;margin:-4px 0 22px}

/* small labels: quiet caps, as My Book and the feed write them */
.lbl{font-family:var(--sans);font-weight:600;font-size:11px;letter-spacing:.12em;color:#8b908b}
.f label{font-family:var(--sans);font-weight:600;font-size:11px;letter-spacing:.08em;color:#8b908b}

/* cards: glass with a soft inner edge, never a hard outline */
.card{border:0;border-radius:24px;background:var(--card);box-shadow:inset 0 0 0 1px rgba(255,255,255,.09);padding:26px}
#aside .card,.ibox{background:radial-gradient(120% 60% at 0% 0%,rgba(196,181,253,.13),transparent 60%),rgba(255,255,255,.04)}
.ibox.sel{box-shadow:inset 0 0 0 1.5px rgba(196,181,253,.55)}

/* titles and numbers: SF, bold, tight */
.mhead{font-family:var(--serif);font-weight:700;font-size:26px;line-height:1.12;letter-spacing:-.03em;color:#F5F5F7}
.mlede{font-size:15px;color:#a7aca7}
.amt{font-family:var(--serif);font-weight:700;font-size:44px;letter-spacing:-.04em;color:#F5F5F7;margin:14px 0 6px}
.paysum .ps-a{font-family:var(--serif);font-weight:700;letter-spacing:-.03em}
.paid-panel .mhead{font-size:34px;letter-spacing:-.04em}
.finder .f-t{font-family:var(--serif);font-weight:700;font-size:38px;letter-spacing:-.04em;color:#F5F5F7}
.arow .k{font-size:14px}.arow .v{font-size:15px;color:#F5F5F7}

/* buttons: round. One pearl button for the main action; everything else is a gray bubble */
.btn{border:0;border-radius:999px;padding:11px 18px;font-family:var(--sans);font-size:14px;font-weight:600;background:rgba(255,255,255,.09);color:#F5F5F7;letter-spacing:-.005em}
.btn.primary{background:var(--pearl);color:#0b0b0c;font-weight:650;padding:13px 22px;box-shadow:inset 0 1px 0 rgba(255,255,255,.9)}
.btn.primary:disabled{opacity:.5}
.pdf-btn{border:0;background:rgba(255,255,255,.09);color:#F5F5F7}
.pdf-btn svg{color:#C4B5FD}
.copy{border:0;border-radius:999px;height:30px;padding:0 12px;background:rgba(255,255,255,.08);color:#E9E9EE;font-weight:600}
/* text links that act are small gray bubbles, never underlined words */
.lnk{text-decoration:none;display:inline-flex;align-items:center;gap:6px;padding:7px 13px;border-radius:999px;background:rgba(255,255,255,.07);color:#E9E9EE;font:600 12.5px/1.2 var(--sans)}
.sg-clear{padding:5px 11px}
@media(hover:hover){
  .btn:hover{background:rgba(255,255,255,.14)}
  .btn.primary:hover{background:var(--pearl);filter:brightness(1.03)}
  .pdf-btn:hover{background:rgba(255,255,255,.14)}
  .lnk:hover{background:rgba(255,255,255,.12);color:#fff}
  .copy:hover{background:rgba(255,255,255,.14);color:#fff}
}
.btn:focus-visible,.opt:focus-visible,.lnk:focus-visible,.copy:focus-visible,.ib-top:focus-visible,.sg-doc:focus-visible{outline:2px solid #B9A6FF}

/* fields */
.f input,.f textarea{border:0;border-radius:14px;background:rgba(255,255,255,.06);box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);color:#F5F5F7;font-size:16px;padding:13px 14px}
.f input:focus,.f textarea:focus{box-shadow:inset 0 0 0 1.5px rgba(196,181,253,.6)}
.f input::placeholder,.f textarea::placeholder{color:#6b716c}

/* status pills: plain glass; paid and late keep their own colours */
.planpill{font-family:var(--sans);letter-spacing:.08em;color:#14101f;background:linear-gradient(135deg,#C4B5FD,#A78BFA)}
.planpill.gray{color:#E9E9EE;background:rgba(255,255,255,.1);border:0}

/* the Pay | Pricing switch */
.pay-switch a{font:600 14.5px/1.2 var(--sans);color:#8b908b}
.pay-switch a.on{color:#F5F5F7;border-bottom-color:#F5F5F7}

/* payment methods */
.opt{border:0;border-radius:16px;padding:13px}
.opt .ic{border:0;border-radius:12px;background:rgba(255,255,255,.07);color:#E9E9EE}
.opt b{font-size:15px;font-weight:600;color:#F5F5F7}
.opt small{font-size:13px}
@media(hover:hover){.opt:hover{background:rgba(255,255,255,.06)}.opt:hover .ic{color:#C4B5FD}}
.note{border:0;border-radius:16px;background:rgba(196,181,253,.09);box-shadow:inset 0 0 0 1px rgba(196,181,253,.22);color:#ddd6f5}

/* the agreement: review, sign */
.sg{padding:26px 26px 28px}
.sg-rail li{font:600 11px/1 var(--sans);letter-spacing:.12em}
.sg-rail i{font:700 11px/1 var(--sans)}
.sg-meta{font-size:13px}
.sg-readbar{height:4px;border-radius:4px}
.sg-chips button{border:0;background:rgba(255,255,255,.07);color:#a7aca7;font:600 11.5px var(--sans);padding:5px 11px}
.sg-chips button.seen{background:rgba(196,181,253,.16);color:#DDD3FF}
.sg-doc{border:0;border-radius:20px;background:rgba(0,0,0,.28);box-shadow:inset 0 0 0 1px rgba(255,255,255,.07)}
.sg-sec{border-radius:16px}
.sg-sec.seen{background:rgba(196,181,253,.04)}
.sg-num{font-family:var(--serif);font-weight:700;font-size:15px;letter-spacing:-.02em;font-variant-numeric:tabular-nums;border:0;border-radius:12px;background:rgba(196,181,253,.14);color:#DDD3FF}
.sg-sec h3{font-family:var(--serif);font-weight:650;font-size:20px;letter-spacing:-.025em;color:#F5F5F7;margin:7px 0 10px}
.sg-sec p,.sg-items li{font-size:15px;color:#c9cdc9}
.sg-items li::before{border-radius:50%;transform:none;width:5px;height:5px;margin:9px 0 0 5px;background:#C4B5FD}
.sg-price b{font-family:var(--serif);font-weight:700;letter-spacing:-.02em}
.sg-end{font:600 11px/1 var(--sans);letter-spacing:.12em}
.sg-parties div{border:0;border-radius:16px;background:rgba(255,255,255,.05);padding:12px 14px}
.sg-sheet{border:0;border-radius:18px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.1);background:radial-gradient(120% 140% at 0% 0%,rgba(196,181,253,.08),transparent 60%),#0d0f10}
.sg-cert,.sg-signed{border:0;border-radius:16px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.09)}
.sg-signed{background:rgba(196,181,253,.08)}
.sg-lockmsg{font-weight:600}

/* the lists on the right */
.ways li{font-size:14.5px;color:#F5F5F7}
.items summary b{font-weight:600}
.ib-arrows button{border:0;background:rgba(255,255,255,.09)}
.ib-note{border:0;border-radius:14px}
.foot-note{font-size:13px}
.err{border:0;border-radius:14px;box-shadow:inset 0 0 0 1px rgba(226,75,74,.3)}

/* phones: the company label sits under the title, not squeezed beside it */
@media(max-width:560px){.sechead{flex-direction:column;align-items:flex-start;gap:10px;margin:26px 0 16px}.card{padding:22px}.sg{padding:22px 18px 22px}.amt{font-size:40px}}
