/**
 * Upgrade / plans overlay
 * 
 * Extracted from index.html (inline <style> that began at line 44140).
 * Stylesheet order matters (cascade); index.html links the files in numeric order.
 * See assets/README.md.
 */
@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Syne:wght@500;600;700;800&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── ROOT ── */
#upgradePlanOverlay {
  font-family: 'DM Sans', sans-serif;
  background: rgba(6,10,22,0.6);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
#up-sheet {
  min-height: 100vh;
  background: #f5f2ed;
  position: relative;
  padding-bottom: 100px;
}

/* ── ANIMATED ORBS ── */
.up-orb-field { position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
.up-orb {
  position: absolute; border-radius: 50%; filter: blur(90px);
}
.up-orb-a {
  width: 650px; height: 650px; top: -180px; right: -180px;
  background: radial-gradient(circle, rgba(160,190,255,0.55) 0%, transparent 70%);
  animation: upOrb1 20s ease-in-out infinite;
}
.up-orb-b {
  width: 480px; height: 480px; bottom: -60px; left: -120px;
  background: radial-gradient(circle, rgba(210,175,110,0.22) 0%, transparent 70%);
  animation: upOrb2 26s ease-in-out infinite 6s;
}
.up-orb-c {
  width: 380px; height: 380px; top: 45%; left: 42%;
  background: radial-gradient(circle, rgba(130,170,250,0.18) 0%, transparent 70%);
  animation: upOrb3 17s ease-in-out infinite 3s;
}
@keyframes upOrb1 { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-70px,50px) scale(1.1)} }
@keyframes upOrb2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(55px,-35px) scale(1.07)} }
@keyframes upOrb3 { 0%,100%{transform:translate(-50%,-50%) scale(1)} 50%{transform:translate(-50%,-50%) scale(1.18)} }

.up-noise {
  position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 190px;
}

/* Grid lines */
.up-grid-lines {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 63px, rgba(120,140,180,0.05) 64px);
}

/* Content layer */
.up-layer { position: relative; z-index: 2; }

/* ── HEADER ── */
.up-topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 32px 0;
  position: sticky; top: 0; z-index: 20;
}
.up-brand {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Instrument Serif', serif;
  font-size: 1.15rem; color: #0d1a2e; letter-spacing: 0.01em;
}
.up-brand-gem {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, #4A7BB0, #0e2fa0);
  display: grid; place-items: center;
  box-shadow: 0 4px 14px rgba(74,123,176,0.4), inset 0 1px 0 rgba(255,255,255,0.25);
}
.up-brand-gem svg { width: 14px; height: 14px; }

.up-x-btn {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(26,50,120,0.13);
  display: grid; place-items: center;
  cursor: pointer; color: #7a8aaa;
  backdrop-filter: blur(10px);
  -webkit-tap-highlight-color: transparent;
  transition: all 0.2s; flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.up-x-btn:hover { background: rgba(255,255,255,0.95); color: #0d1a2e; transform: scale(1.06); }
.up-x-btn svg { width: 15px; height: 15px; }

/* ── HERO ── */
.up-hero {
  text-align: center;
  padding: 62px 24px 50px;
  animation: upFadeUp 0.75s cubic-bezier(.16,1,.3,1) both;
}
@keyframes upFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}
.up-pill-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Syne', sans-serif;
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: #4A7BB0; background: rgba(200,218,255,0.4);
  border: 1px solid rgba(74,123,176,0.2); border-radius: 40px;
  padding: 6px 18px; margin-bottom: 26px;
}
.up-pill-pulse {
  width: 7px; height: 7px; border-radius: 50%; background: #4A7BB0;
  animation: upPulse 2s ease-in-out infinite;
}
@keyframes upPulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:0.4;transform:scale(0.7)} }

.up-h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.6rem, 8vw, 4.6rem);
  font-weight: 400; line-height: 1.06;
  color: #0a0f1e; letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.up-h1 em { font-style: italic; color: #4A7BB0; }
.up-h1-sub { display: block; color: #2a3a56; font-size: 0.88em; }

.up-hero-p {
  font-size: 0.93rem; color: #7a8aaa; line-height: 1.75;
  max-width: 400px; margin: 0 auto;
}

/* ── TRUST ROW ── */
.up-trust {
  display: flex; align-items: center; justify-content: center;
  gap: 32px; flex-wrap: wrap;
  padding: 0 20px 56px;
  animation: upFadeUp 0.75s cubic-bezier(.16,1,.3,1) 0.12s both;
}
.up-trust-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.75rem; font-weight: 500; color: #9aaabb;
}
.up-trust-item svg { opacity: 0.45; flex-shrink: 0; }
.up-trust-sep { width: 4px; height: 4px; border-radius: 50%; background: rgba(120,140,180,0.25); }

/* ── SEGMENT + BILLING ── */
.up-controls {
  display: flex; flex-direction: column; align-items: center; gap: 14px;
  padding-bottom: 52px;
  animation: upFadeUp 0.75s cubic-bezier(.16,1,.3,1) 0.18s both;
}
.up-seg {
  display: flex;
  background: rgba(255,255,255,0.68);
  border: 1px solid rgba(26,50,120,0.12);
  border-radius: 50px; padding: 5px;
  backdrop-filter: blur(14px);
  box-shadow: 0 2px 16px rgba(10,15,40,0.07);
}
.up-seg-btn {
  padding: 9px 22px; border-radius: 40px;
  border: none; background: transparent;
  font-family: 'Syne', sans-serif;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.02em;
  color: #9aaabb; cursor: pointer;
  transition: all 0.28s cubic-bezier(.16,1,.3,1);
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.up-seg-btn.active {
  background: #0a0f1e; color: #fff;
  box-shadow: 0 3px 14px rgba(10,15,40,0.22);
}
.up-bill-row {
  display: flex; align-items: center; gap: 13px;
  font-size: 0.8rem; font-weight: 500;
}
.up-bill-lbl { color: #1a2a40; transition: opacity 0.2s; }
.up-bill-lbl.dim { opacity: 0.32; }
.up-sw {
  position: relative; width: 48px; height: 27px; cursor: pointer;
}
.up-sw input { opacity: 0; width: 0; height: 0; position: absolute; }
.up-sw-track {
  position: absolute; inset: 0; border-radius: 14px;
  background: rgba(180,200,230,0.65);
  border: 1px solid rgba(26,50,120,0.18);
  transition: background 0.28s;
}
.up-sw-thumb {
  position: absolute; top: 3px; left: 3px;
  width: 19px; height: 19px; border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.28s cubic-bezier(.16,1,.3,1);
}
.up-sw input:checked ~ .up-sw-track { background: #4A7BB0; }
.up-sw input:checked ~ .up-sw-track ~ .up-sw-thumb { transform: translateX(21px); }
.up-save-badge {
  font-family: 'Syne', sans-serif;
  background: rgba(12,128,72,0.1);
  border: 1px solid rgba(12,128,72,0.22);
  color: #0c6840; font-size: 0.62rem; font-weight: 800;
  border-radius: 20px; padding: 3px 10px; letter-spacing: 0.05em;
  white-space: nowrap;
}

/* ── PLANS WRAP ── */
.up-plans-outer {
  padding: 0 20px;
  max-width: 720px; margin: 0 auto;
}

/* Free strip */
.up-free-strip {
  display: flex; align-items: center; flex-wrap: wrap; gap: 14px;
  justify-content: space-between;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(180,200,230,0.45);
  border-radius: 18px; padding: 18px 22px;
  backdrop-filter: blur(10px);
  margin-bottom: 16px;
  animation: upSlideIn 0.55s cubic-bezier(.16,1,.3,1) 0.22s both;
}
.up-free-left { display: flex; align-items: center; gap: 14px; }
.up-free-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: #eeeae3; border: 1px solid rgba(180,200,230,0.45);
  display: grid; place-items: center; font-size: 1.1rem; flex-shrink: 0;
}
.up-free-name {
  font-family: 'Syne', sans-serif;
  font-size: 0.9rem; font-weight: 700; color: #0a0f1e; margin-bottom: 2px;
}
.up-free-desc { font-size: 0.74rem; color: #9aaabb; }
.up-free-feats { display: flex; gap: 16px; flex-wrap: wrap; }
.up-free-feat {
  display: flex; align-items: center; gap: 5px;
  font-size: 0.72rem; font-weight: 500; color: #4a5a72;
}
.up-free-feat svg { opacity: 0.35; flex-shrink: 0; }
.up-free-cta {
  background: transparent;
  border: 1.5px solid rgba(26,50,120,0.18);
  border-radius: 11px; padding: 9px 20px;
  font-family: 'Syne', sans-serif;
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em;
  color: #6a7a92; cursor: pointer; white-space: nowrap;
  transition: all 0.2s; -webkit-tap-highlight-color: transparent;
}
.up-free-cta:hover { border-color: #4A7BB0; color: #4A7BB0; }

/* Card grid */
.up-card-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 22px;
  /* Extra top padding reserves room for up-feat-topper's scale(1.045),
     which grows outside its box's normal layout bounds — without this
     the scaled card visually overlaps the free-plan strip above it. */
  padding-top: 14px;
  animation: upSlideIn 0.55s cubic-bezier(.16,1,.3,1) 0.28s both;
}
@keyframes upSlideIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
@media (max-width: 520px) {
  .up-card-grid { grid-template-columns: 1fr; padding-top: 6px; }
  .up-free-strip { flex-direction: column; align-items: flex-start; }
}

/* Plan card */
.up-card {
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(180,200,230,0.42);
  border-radius: 26px; padding: 34px 28px 28px;
  position: relative; overflow: hidden;
  backdrop-filter: blur(14px);
  box-shadow: 0 4px 24px rgba(10,15,40,0.07);
  display: flex; flex-direction: column;
  transition: transform 0.32s cubic-bezier(.16,1,.3,1), box-shadow 0.32s;
}
.up-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 48px rgba(10,15,40,0.12);
}
/* top shimmer line */
.up-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(74,123,176,0.18), transparent);
}
.up-card.up-feat::before {
  background: linear-gradient(90deg, transparent, rgba(74,123,176,0.55), transparent);
}

/* Featured card */
.up-card.up-feat {
  background: #0a0f1e;
  border-color: transparent;
  box-shadow: 0 8px 48px rgba(10,15,40,0.28), 0 0 0 1px rgba(74,123,176,0.35);
}
.up-card.up-feat:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 72px rgba(10,15,40,0.35), 0 0 0 1px rgba(74,123,176,0.4);
}

/* Badge */
.up-badge {
  position: absolute; top: 22px; right: 22px;
  font-family: 'Syne', sans-serif;
  font-size: 0.58rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 20px;
}
.up-badge.blue {
  background: linear-gradient(135deg, #4A7BB0, #6FA0D6);
  color: #fff; box-shadow: 0 4px 16px rgba(74,123,176,0.45);
}
.up-badge.gold {
  background: linear-gradient(135deg, #c08018, #daa030);
  color: #fff; box-shadow: 0 4px 16px rgba(192,128,24,0.4);
}

/* ── TOPPER: featured-card treatment ──
   Soft-blue breathing glow + one-time shimmer sweep + a slight forward
   scale, so the recommended plan reads as a physical step toward the
   viewer rather than just a different fill color. Kept isolated to this
   one card on purpose — everything else keeps the calmer, existing motion. */
.up-feat-topper {
  transform: scale(1.045);
  z-index: 1;
}
.up-feat-topper:hover {
  transform: scale(1.045) translateY(-7px);
}
@media (max-width: 520px) {
  /* Side-by-side forward-scale only reads correctly in a 2-col grid;
     stacked single-column mobile keeps the card at natural size. */
  .up-feat-topper, .up-feat-topper:hover { transform: none; }
}
.up-feat-glow {
  position: absolute; inset: -1px; border-radius: 27px;
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(111,160,214,0.9), rgba(74,123,176,0.25) 40%, rgba(111,160,214,0.9) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; z-index: 0;
  animation: upGlowBreathe 3.2s ease-in-out infinite;
}
@keyframes upGlowBreathe {
  0%, 100% { opacity: 0.55; }
  50%      { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .up-feat-glow { animation: none; opacity: 0.85; }
}
.up-feat-shimmer {
  position: absolute; inset: 0; border-radius: 26px; overflow: hidden;
  pointer-events: none; z-index: 0;
}
.up-feat-shimmer::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 45%;
  background: linear-gradient(100deg, transparent, rgba(111,160,214,0.16), transparent);
  animation: upShimmerSweep 2.6s cubic-bezier(.4,0,.2,1) 0.9s 1;
  left: -60%;
}
@keyframes upShimmerSweep {
  to { left: 130%; }
}
@media (prefers-reduced-motion: reduce) {
  .up-feat-shimmer::after { animation: none; display: none; }
}

/* Card icon */
.up-card-icon {
  width: 50px; height: 50px; border-radius: 15px;
  display: grid; place-items: center;
  font-size: 1.35rem; margin-bottom: 18px; flex-shrink: 0;
}
.up-card-icon.lite { background: rgba(74,123,176,0.08); border: 1px solid rgba(74,123,176,0.12); }
.up-card-icon.dark { background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.1); }

/* Card name */
.up-card-name {
  font-family: 'Instrument Serif', serif;
  font-size: 1.6rem; font-weight: 400; letter-spacing: -0.01em;
  color: #0a0f1e; margin-bottom: 6px; line-height: 1.1;
}
.up-card.up-feat .up-card-name { color: #fff; }

.up-card-desc {
  font-size: 0.8rem; color: #8090aa; line-height: 1.65;
  margin-bottom: 20px;
}
.up-card.up-feat .up-card-desc { color: rgba(255,255,255,0.45); }

/* Usage pill */
.up-usage {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.7rem; font-weight: 600;
  padding: 5px 12px; border-radius: 30px; width: fit-content; margin-bottom: 18px;
}
.up-usage.norm {
  background: rgba(74,123,176,0.08); color: #4A7BB0;
  border: 1px solid rgba(74,123,176,0.14);
}
.up-usage.unlim {
  background: rgba(192,128,24,0.1); color: #a06010;
  border: 1px solid rgba(192,128,24,0.2);
}
.up-card.up-feat .up-usage.unlim {
  background: rgba(210,160,40,0.12); color: #e0a830;
  border-color: rgba(210,160,40,0.25);
}
.up-card.up-feat .up-usage.norm {
  background: rgba(111,160,214,0.14); color: #8fb8e6;
  border-color: rgba(111,160,214,0.28);
}

/* Pricing */
.up-price-row {
  display: flex; align-items: flex-end; gap: 3px; margin-bottom: 5px;
}
.up-cur {
  font-family: 'Syne', sans-serif;
  font-size: 1.05rem; font-weight: 700;
  color: #6a7a92; padding-bottom: 8px;
}
.up-card.up-feat .up-cur { color: rgba(255,255,255,0.45); }
.up-amt {
  font-family: 'Instrument Serif', serif;
  font-size: 3.6rem; font-weight: 400; line-height: 1;
  color: #0a0f1e; transition: all 0.3s cubic-bezier(.16,1,.3,1);
}
.up-card.up-feat .up-amt { color: #fff; }
.up-amt.up-anim { animation: upAmtFlip 0.32s cubic-bezier(.16,1,.3,1); }
@keyframes upAmtFlip {
  0% { opacity: 0.35; transform: translateY(9px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.up-per {
  font-size: 0.76rem; font-weight: 500; color: #9aaabb;
  padding-bottom: 10px; padding-left: 4px; white-space: nowrap;
}
.up-card.up-feat .up-per { color: rgba(255,255,255,0.3); }

.up-stag {
  font-family: 'Syne', sans-serif;
  display: inline-block; font-size: 0.63rem; font-weight: 700;
  color: #0c7848; background: rgba(12,120,72,0.1);
  border: 1px solid rgba(12,120,72,0.22);
  border-radius: 20px; padding: 3px 10px;
  margin-bottom: 22px; letter-spacing: 0.04em;
  transition: opacity 0.2s;
}
.up-stag.hidden { opacity: 0; pointer-events: none; }
.up-card.up-feat .up-stag {
  background: rgba(12,120,72,0.15); color: #40e098;
  border-color: rgba(12,120,72,0.3);
}

/* Divider */
.up-rule {
  width: 100%; height: 1px; margin-bottom: 18px;
  background: linear-gradient(to right, rgba(180,200,230,0.5), transparent);
}
.up-card.up-feat .up-rule { background: linear-gradient(to right, rgba(255,255,255,0.1), transparent); }

/* Feature list */
.up-feats { list-style: none; flex: 1; margin-bottom: 26px; }
.up-feat-li {
  display: flex; align-items: flex-start; gap: 10px;
  padding: 5.5px 0;
  font-size: 0.8rem; line-height: 1.5; color: #3a4a6a;
}
.up-card.up-feat .up-feat-li { color: rgba(255,255,255,0.65); }
.up-chk {
  width: 19px; height: 19px; border-radius: 6px;
  background: rgba(74,123,176,0.09); border: 1px solid rgba(74,123,176,0.14);
  display: grid; place-items: center; flex-shrink: 0; margin-top: 1px;
}
.up-card.up-feat .up-chk {
  background: rgba(60,110,255,0.18); border-color: rgba(60,110,255,0.28);
}
.up-chk svg { width: 10px; height: 10px; }

/* CTA button */
.up-cta {
  width: 100%; padding: 15px 22px;
  border-radius: 15px; border: none;
  font-family: 'Syne', sans-serif;
  font-size: 0.84rem; font-weight: 700; letter-spacing: 0.03em;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 10px;
  transition: all 0.26s cubic-bezier(.16,1,.3,1);
  -webkit-tap-highlight-color: transparent; position: relative; overflow: hidden;
}
.up-cta::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent);
  opacity: 0; transition: opacity 0.2s;
}
.up-cta:hover::after { opacity: 1; }
.up-cta-outline {
  background: transparent;
  border: 1.5px solid rgba(74,123,176,0.22);
  color: #4A7BB0;
}
.up-cta-outline:hover {
  background: rgba(74,123,176,0.06); border-color: rgba(74,123,176,0.35);
  transform: translateY(-2px);
}
.up-cta-solid {
  background: linear-gradient(135deg, #4A7BB0, #6FA0D6);
  color: #fff;
  box-shadow: 0 6px 28px rgba(74,123,176,0.45);
}
.up-cta-solid:hover {
  box-shadow: 0 10px 40px rgba(74,123,176,0.55);
  transform: translateY(-2px);
}
.up-cta-arrow {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: grid; place-items: center;
  transition: transform 0.2s; flex-shrink: 0;
}
.up-cta-arrow.dk { background: rgba(74,123,176,0.1); }
.up-cta:hover .up-cta-arrow { transform: translateX(3px); }

/* ── SELECTABLE CARDS ──
   Cards are now click targets (a plan picker) instead of each holding
   its own CTA — one shared button in the sticky footer bar acts on
   whichever plan is currently selected. */
.up-card {
  cursor: pointer;
}
.up-card:focus-visible {
  outline: 2.5px solid #4A7BB0; outline-offset: 3px;
}
.up-radio {
  position: absolute; top: 24px; left: 24px; z-index: 2;
  width: 22px; height: 22px; border-radius: 50%;
  border: 2px solid rgba(122,138,170,0.35);
  background: rgba(255,255,255,0.6);
  display: grid; place-items: center;
  transition: all 0.22s cubic-bezier(.16,1,.3,1);
}
.up-card.up-feat .up-radio {
  border-color: rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.06);
}
.up-radio-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #4A7BB0;
  transform: scale(0);
  transition: transform 0.22s cubic-bezier(.34,1.56,.64,1);
}
.up-card.selected .up-radio {
  border-color: #4A7BB0; background: #4A7BB0;
  box-shadow: 0 0 0 4px rgba(74,123,176,0.15);
}
.up-card.selected .up-radio-dot {
  background: #fff; transform: scale(1);
}

/* Unselected card dims slightly so the pick reads clearly against its
   neighbour, without looking disabled. */
.up-card:not(.selected):not(:hover) {
  opacity: 0.82;
}
.up-card.up-feat:not(.selected):not(:hover) {
  opacity: 0.86; /* dark card needs a lighter touch to stay legible */
}
.up-card.selected {
  border-color: rgba(74,123,176,0.55);
  box-shadow: 0 4px 24px rgba(10,15,40,0.07), 0 0 0 1.5px rgba(74,123,176,0.35);
}
.up-card.up-feat.selected {
  box-shadow: 0 8px 48px rgba(10,15,40,0.28), 0 0 0 1.5px rgba(74,123,176,0.55);
}

/* Static "included" row replacing the old per-card button — shows
   plainly that the choice is made via the card itself now. */
.up-card-pick-row {
  display: flex; align-items: center; justify-content: center; gap: 7px;
  padding: 13px; margin-top: auto;
  border-radius: 13px; border: 1.5px dashed rgba(122,138,170,0.3);
  font-family: 'Syne', sans-serif; font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.02em; color: #7a8aaa;
}
.up-card.up-feat .up-card-pick-row { border-color: rgba(255,255,255,0.16); color: rgba(255,255,255,0.5); }
.up-card.selected .up-card-pick-row {
  border-style: solid; border-color: rgba(74,123,176,0.4);
  background: rgba(74,123,176,0.07); color: #4A7BB0;
}
.up-card.up-feat.selected .up-card-pick-row {
  background: rgba(111,160,214,0.14); color: #8fb8e6; border-color: rgba(111,160,214,0.4);
}

/* ── STICKY FOOTER BAR ──
   Reachable without scrolling back up, the way a real checkout bar
   works — holds the one CTA that acts on whichever card is picked. */
.up-footer-bar {
  position: sticky; bottom: 0; left: 0; right: 0; z-index: 30;
  margin-top: 40px;
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px));
  background: rgba(245,242,237,0.88);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid rgba(180,200,230,0.4);
  box-shadow: 0 -8px 32px rgba(10,15,40,0.06);
}
.up-footer-inner {
  max-width: 720px; margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.up-footer-info { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.up-footer-plan {
  font-family: 'Syne', sans-serif; font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase; color: #7a8aaa;
}
.up-footer-price {
  font-family: 'Instrument Serif', serif; font-size: 1.5rem; color: #0a0f1e;
  line-height: 1.1; white-space: nowrap;
}
.up-footer-price span { font-family: 'DM Sans', sans-serif; font-size: 0.62rem; font-weight: 500; color: #9aaabb; }
.up-footer-bar .up-cta { width: auto; min-width: 200px; padding: 14px 26px; flex-shrink: 0; }
@media (max-width: 480px) {
  .up-footer-inner { gap: 12px; }
  .up-footer-price { font-size: 1.25rem; }
  .up-footer-bar .up-cta { min-width: 0; padding: 13px 18px; font-size: 0.78rem; }
}

/* ── INFO STRIPS ── */
.up-strips {
  max-width: 720px; margin: 52px auto 0; padding: 0 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
  animation: upSlideIn 0.55s cubic-bezier(.16,1,.3,1) 0.35s both;
}
@media (max-width: 520px) { .up-strips { grid-template-columns: 1fr; } }
.up-strip-card {
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(180,200,230,0.4);
  border-radius: 22px; padding: 28px 26px;
  backdrop-filter: blur(10px);
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
  transition: box-shadow 0.2s, background 0.2s;
}
.up-strip-card:hover {
  background: rgba(255,255,255,0.82);
  box-shadow: 0 6px 28px rgba(10,15,40,0.09);
}
.up-strip-card::after {
  content: ''; position: absolute; bottom: -40px; right: -40px;
  width: 110px; height: 110px; border-radius: 50%;
  background: radial-gradient(circle, rgba(74,123,176,0.07), transparent);
  pointer-events: none;
}
.up-strip-icon {
  width: 50px; height: 50px; border-radius: 15px;
  background: #eeeae3; border: 1px solid rgba(180,200,230,0.4);
  display: grid; place-items: center; font-size: 1.5rem;
}
.up-strip-title {
  font-family: 'Instrument Serif', serif;
  font-size: 1.25rem; color: #0a0f1e;
}
.up-strip-desc { font-size: 0.79rem; color: #8090aa; line-height: 1.7; }
.up-strip-btn {
  align-self: flex-start;
  font-family: 'Syne', sans-serif;
  font-size: 0.73rem; font-weight: 700; letter-spacing: 0.03em;
  padding: 9px 18px; border-radius: 11px;
  background: #4A7BB0; color: #fff; border: none; cursor: pointer;
  transition: all 0.2s; -webkit-tap-highlight-color: transparent;
}
.up-strip-btn:hover {
  background: #2a5fe8; transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(74,123,176,0.35);
}

/* ── FINE PRINT ── */
.up-fine {
  text-align: center; padding: 40px 20px 0;
  font-size: 0.65rem; color: #b0bcc8; line-height: 1.9;
  max-width: 500px; margin: 0 auto;
  animation: upSlideIn 0.55s cubic-bezier(.16,1,.3,1) 0.4s both;
}
.up-fine a { color: #4A7BB0; text-decoration: none; cursor: pointer; }
.up-fine a:hover { text-decoration: underline; }

/* Amount animation class (set via JS) */
.up-amount-anim { animation: upAmtFlip 0.32s cubic-bezier(.16,1,.3,1) both; }
