/* The paid-flow pages' main button (checkout, thank-you, Lost Code), in the site's own gradients: no grain, no
   glow underneath. A lit top edge and a soft shadow make it a pressable object, like the app's metal. Under the
   pointer a little light follows across it (flow/cta.js sets --mx and --my), and a press sinks it slightly.
   Deep Blue: the install window's blue, bright at the top to navy at the bottom (chosen 12 November 2026 over
   the page's night-to-day gradient and the icon's silver). */
.ct-btn { position: relative; isolation: isolate; overflow: hidden; box-sizing: border-box; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border: 0; border-radius: 999px; cursor: pointer; text-decoration: none; --mx: 50%; --my: 50%;
  font: 600 17px/1 var(--td-font, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Helvetica Neue", sans-serif);
  color: #fff; -webkit-text-fill-color: currentColor; text-shadow: 0 1px 1px rgba(3,19,47,.45);
  background: linear-gradient(180deg, #2A97FF 0%, #0A6BEB 45%, #0844A6 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.4), inset 0 0 0 1px rgba(255,255,255,.1), inset 0 -1px 0 rgba(3,19,47,.4), 0 1px 2px rgba(3,19,47,.35), 0 8px 18px -10px rgba(3,19,47,.6);
  transition: box-shadow .25s, scale .18s ease, filter .25s; }
.ct-btn:hover { text-decoration: none; filter: brightness(1.08) saturate(1.05); }
.ct-btn:active { scale: .97; filter: brightness(.96); }
.ct-btn:focus-visible { outline: 3px solid rgba(0,122,255,.55); outline-offset: 3px; }
/* The light that follows the pointer. */
.ct-btn::after { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s ease;
  background: radial-gradient(120px circle at var(--mx) var(--my), rgba(255,255,255,.28), rgba(255,255,255,.06) 50%, transparent 75%); }
.ct-btn:hover::after { opacity: 1; }
.ct-btn[aria-busy="true"]::after { opacity: 0; }

/* The small one, in the menu bar. */
.ct-btn.sm { font-size: 13px; font-weight: 500; padding: 4px 12px; gap: 5px; }

@media (prefers-reduced-motion: reduce) { .ct-btn { transition: none; } .ct-btn:active { scale: 1; } }
@media (forced-colors: active) { .ct-btn { border: 1px solid ButtonText; } }
