/* ---------------- premium surfaces
   One rule for every card: a fine lit edge, a warm glow that follows your pointer along that edge,
   and a small lift for the cards you can pick. Same everywhere, so nothing feels different from place to place. */
@property --g { syntax:'<number>'; inherits:true; initial-value:0; }

.pf, .steps > li, .gets li, #contact form { position:relative; isolation:isolate; --g:0;
  transition:--g .45s ease, translate .6s var(--ease), box-shadow .6s var(--ease); }
.res, .ctl { position:relative; }

/* the edge: bright at the top-left like light on glass, plus the pointer glow */
.pf::after, .steps > li::after, .gets li::after, #contact form::after {
  content:""; position:absolute; inset:0; z-index:2; border-radius:inherit; padding:1px; pointer-events:none;
  background:
    radial-gradient(240px circle at var(--mx,50%) var(--my,-40%), rgba(255,196,128,calc(var(--g) * .95)), rgba(255,196,128,0) 70%),
    linear-gradient(155deg, rgba(255,255,255,.5) 0%, rgba(255,255,255,.1) 28%, rgba(255,255,255,.03) 60%, rgba(255,255,255,.16) 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite:xor;
          mask:linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }

/* a soft light inside the card, under the pointer */
.pf, .steps > li, .gets li, #contact form { background-image:
    radial-gradient(420px circle at var(--mx,50%) var(--my,-40%), rgba(255,210,160,calc(var(--g) * .07)), transparent 70%), var(--frost); }
.pf, #contact form { background-color:rgba(10,14,24,.38); }

.pf:hover, .steps > li:hover, .gets li:hover, #contact form:hover, .pf:focus-within, #contact form:focus-within { --g:1; }

/* cards you can pick rise a little, like a card lifted off the table */
.steps > li:hover, .gets li:hover { translate:0 -4px;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.3), 0 30px 70px -26px rgba(0,0,0,.75), 0 0 40px -18px rgba(255,170,90,.45); }

/* the first screen says there's more, and why: a soft line that keeps dropping, gone once you scroll */
.cue { position:absolute; left:50%; bottom:30px; z-index:3; translate:-50% 0; display:flex; flex-direction:column; align-items:center; gap:12px;
  text-decoration:none; color:#fff; font-size:16.5px; font-weight:600; letter-spacing:-.005em; text-shadow:0 1px 14px rgba(0,0,0,.45);
  opacity:0; transition:opacity .8s var(--ease), translate .8s var(--ease); }
html.ready .cue { opacity:1; transition-delay:1.6s; }
html.ready .cue.gone { opacity:0; translate:-50% 10px; transition-delay:0s; pointer-events:none; }
.cue i { position:relative; width:2px; height:44px; border-radius:2px; overflow:hidden; background:rgba(255,255,255,.22); }
.cue i::after { content:""; position:absolute; left:0; right:0; top:0; height:16px; border-radius:2px; background:linear-gradient(180deg,rgba(255,255,255,0),#ffb25c);
  animation:cue-drop 1.8s cubic-bezier(.65,0,.35,1) infinite; }
@keyframes cue-drop { 0% { transform:translateY(-18px); } 100% { transform:translateY(46px); } }
.cue:hover i::after { animation-duration:1.2s; }
@media (prefers-reduced-motion: reduce) { .cue i::after { animation:none; transform:translateY(14px); } }

/* small controls answer the touch */
.pm, .tgl, .seg, .copy { transition:background .25s, box-shadow .35s var(--ease), transform .2s var(--ease); }
.pm:hover:not(:disabled) { box-shadow:inset 0 0 0 1px rgba(255,255,255,.35), 0 0 22px -6px rgba(255,190,120,.55); }
.tgl:hover { box-shadow:inset 0 0 0 1px rgba(255,255,255,.22), 0 0 26px -12px rgba(255,190,120,.5); }
.tgl:active, .seg label:active span { transform:scale(.985); }

/* the pay choices: one white pill that glides to your pick */
.seg { position:relative; }
.seg > .thumb { position:absolute; z-index:0; top:4px; bottom:4px; left:0; width:0; border-radius:999px; pointer-events:none;
  background:linear-gradient(180deg,#fff,#eef0f4); box-shadow:0 1px 0 rgba(255,255,255,.8) inset, 0 6px 18px -6px rgba(0,0,0,.55), 0 0 22px -8px rgba(255,200,140,.6);
  transition:transform .5s var(--ease), width .5s var(--ease); }
.seg.sub > .thumb { top:3px; bottom:3px; }
.seg.glide input:checked + span { background:transparent; }
.seg label { position:relative; z-index:1; }

/* a number that changes gives a small, warm pop */
@keyframes win { 0% { transform:scale(1); } 35% { transform:scale(1.07); text-shadow:0 0 22px rgba(255,196,128,.75); } 100% { transform:scale(1); text-shadow:none; } }
.pop { display:inline-block; animation:win .55s var(--ease); transform-origin:right center; }
.step b.pop, #covOut.pop { transform-origin:center; }

@media (prefers-reduced-motion: reduce) { .pop { animation:none; } .seg > .thumb { transition:none; } .steps > li:hover, .gets li:hover { translate:none; } }

/* Care365 button: a frosted pill with a slowly turning green-to-orange edge, a live "we're watching" dot, and an arrow that slides */
@property --cb-a { syntax:'<angle>'; inherits:false; initial-value:0deg; }
.care-btn { position:relative; display:inline-flex; align-items:center; gap:14px; padding:8px 8px 8px 20px; border-radius:999px; isolation:isolate;
  font-size:17px; font-weight:600; letter-spacing:-.01em; color:#fff;
  background:linear-gradient(180deg,rgba(255,255,255,.16),rgba(255,255,255,.05)); -webkit-backdrop-filter:blur(18px) saturate(1.4); backdrop-filter:blur(18px) saturate(1.4);
  box-shadow:0 10px 40px -10px rgba(52,211,153,.45), inset 0 1px 0 rgba(255,255,255,.25);
  transition:transform .4s var(--ease, cubic-bezier(.2,.8,.2,1)), box-shadow .4s; }
.care-btn::before { content:""; position:absolute; inset:0; z-index:-1; padding:1.5px; border-radius:inherit;
  background:conic-gradient(from var(--cb-a), #34d399, #f28c18, rgba(255,255,255,.15) 40%, rgba(255,255,255,.15) 60%, #34d399);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite:xor; mask-composite:exclude;
  animation:cb-spin 6s linear infinite; }
@keyframes cb-spin { to { --cb-a:360deg; } }
.cb-dot { position:relative; width:10px; height:10px; border-radius:50%; background:#34d399; box-shadow:0 0 12px #34d399; flex:none; }
.cb-dot::after { content:""; position:absolute; inset:0; border-radius:50%; border:2px solid #34d399; animation:cb-ping 2.2s cubic-bezier(0,0,.2,1) infinite; }
@keyframes cb-ping { 0% { transform:scale(1); opacity:.9; } 80%, 100% { transform:scale(2.6); opacity:0; } }
.cb-ar { display:grid; place-items:center; width:40px; height:40px; border-radius:50%; font-size:18px; color:var(--accent-ink);
  background:linear-gradient(180deg,#ffa53f,#f28c18 60%,#e47e0b); box-shadow:0 4px 16px -4px rgba(242,140,24,.7); transition:transform .4s var(--ease, cubic-bezier(.2,.8,.2,1)); }
.care-btn:hover { transform:translateY(-2px); box-shadow:0 16px 50px -10px rgba(52,211,153,.6), inset 0 1px 0 rgba(255,255,255,.3); }
.care-btn:hover .cb-ar { transform:translateX(4px) rotate(-12deg); }
.care-btn:active { transform:scale(.97); }
@media (prefers-reduced-motion: reduce) { .care-btn::before, .cb-dot::after { animation:none; } }

/* taps feel native: no grey flash, no text caret on double tap */
.b-seg button, .b-main, .add, .opt, .care-btn, .send, .pill { -webkit-tap-highlight-color:transparent; -webkit-user-select:none; user-select:none; }
