:root {
  --ink: #0a2247;
  --ink-2: #4c5a70;
  --paper: #fffdfc;
  --sand: #f5f7fa;
  --line: #e2e8ef;
  --red: #c4060a;
  --red-dark: #0a2247;
  --red-soft: #fdeaea;
  --green: #1f7a4d;
  --green-soft: #eaf6ef;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--sand);
  color: var(--ink);
  font-family: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

.wrap { width: min(100% - 32px, 980px); margin-inline: auto; }

.top {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 253, 252, .86);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 8px 20px -14px rgba(10, 25, 47, .3);
}
.top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; }
.brand strong { display: block; font-size: 20px; line-height: 1.2; }
.brand small { display: block; color: var(--ink-2); font-size: 12px; }
.brand img.logo { height: 54px; width: auto; flex: none; }

/* ---------- hero ---------- */
.intro { padding: 28px 0 10px; display: grid; gap: 4px; }
.intro h1 { font-size: 26px; line-height: 1.4; margin: 0 0 10px; }
.intro p { margin: 0; color: var(--ink-2); max-width: 60ch; }

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  padding-top: 6px;
}
/* hero scene: blood bag drip -> patient rises */
.hero-art { align-content: center; }
.scene { width: 100%; max-width: 260px; height: auto; display: block; margin-inline: auto; overflow: visible; }
.bag { transform-box: view-box; transform-origin: 55px 22px; animation: sway 3.6s ease-in-out infinite; }
@keyframes sway { 0%, 100% { transform: rotate(2.5deg); } 50% { transform: rotate(-2.5deg); } }
.patient { transform-box: view-box; transform-origin: 212px 148px; animation: rise 6s cubic-bezier(.4, .1, .3, 1) .8s 1 forwards; }
@keyframes rise { 0%, 28% { transform: rotate(0deg); } 62%, 100% { transform: rotate(82deg); } }
.face { opacity: 0; animation: faceIn 6s ease .8s 1 forwards; }
@keyframes faceIn { 0%, 58% { opacity: 0; } 78%, 100% { opacity: 1; } }
.heart { transform-box: fill-box; transform-origin: center; transform: scale(0); animation: pop .7s cubic-bezier(.2, 1.6, .4, 1) 5.2s 1 forwards, heartBeat 1.8s ease-in-out 6.2s infinite; }
@keyframes pop { to { transform: scale(1); } }
@keyframes heartBeat { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.2); } 24% { transform: scale(1); } }

/* ---------- filters ---------- */
.filters {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  margin: 16px 0 18px;
  box-shadow: 0 1px 2px rgba(10, 25, 47, .04), 0 14px 28px -18px rgba(196, 6, 10, .18);
}
.filters label { display: grid; gap: 4px; }
.filters span { font-size: 12px; color: var(--ink-2); }
select, input {
  font: inherit;
  padding-block: 10px;
  padding-inline: 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  width: 100%;
  transition: border-color .15s ease, box-shadow .15s ease;
}
input[type="text"], input[type="search"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"] {
  min-height: 44px;
  box-sizing: border-box;
}
select, option { unicode-bidi: plaintext; }
select {
  text-align: right;
  appearance: none;
  -webkit-appearance: none;
  min-height: 44px;
  box-sizing: border-box;
  padding-inline-end: 42px;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23a58a84' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
  background-size: 12px;
  cursor: pointer;
}
select:hover, input:not([type="checkbox"]):not([type="radio"]):hover { border-color: #e8bcbc; }

select:focus, input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196, 6, 10, .16);
}

.count { grid-column: 1 / -1; margin: 0; font-size: 13px; color: var(--ink-2); }

/* ---------- cards ---------- */
.list { display: grid; gap: 14px; padding-bottom: 8px; }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 1px 2px rgba(10, 25, 47, .05), 0 10px 24px -16px rgba(196, 6, 10, .22);
  transition: box-shadow .25s ease, transform .18s ease, border-color .25s ease;
  will-change: transform;
}
@media (hover: hover) {
  .card:hover {
    border-color: #ccd6e2;
    box-shadow: 0 2px 4px rgba(10, 25, 47, .06), 0 22px 40px -18px rgba(196, 6, 10, .35);
  }
}
.card-head { display: flex; align-items: center; gap: 10px; justify-content: space-between; }
.badge {
  direction: ltr;
  unicode-bidi: isolate;
  font-weight: 700;
  font-size: 18px;
  color: var(--red);
  background: var(--red-soft);
  border: 1px solid #f6cdcc;
  box-shadow: inset 0 1px 0 #fff, 0 3px 8px -4px rgba(196, 6, 10, .5);
  border-radius: 12px;
  padding: 2px 10px;
  min-width: 56px;
  text-align: center;
}
.card h3 { margin: 0; font-size: 16px; flex: 1; }
.urgent {
  position: relative;
  font-size: 12px;
  color: var(--red);
  border: 1px solid var(--red);
  border-radius: 999px;
  padding: 1px 8px;
  background: #fff;
}
@media (prefers-reduced-motion: no-preference) {
  .urgent::after {
    content: "";
    position: absolute;
    inset: -1px;
    border: 1px solid var(--red);
    border-radius: 999px;
    animation: ping 1.8s ease-out infinite;
    pointer-events: none;
  }
}
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.4); opacity: 0; } }

.card p { margin: 6px 0 0; color: var(--ink-2); font-size: 14px; }
.meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 13px; color: var(--ink-2); margin-top: 8px; }
.donors { margin-top: 10px; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.donors span { font-size: 12px; color: var(--ink-2); }
.chip {
  direction: ltr;
  unicode-bidi: isolate;
  font-size: 12px;
  background: var(--green-soft);
  color: var(--green);
  border: 1px solid #cdeadb;
  box-shadow: inset 0 1px 0 #fff;
  border-radius: 8px;
  padding: 1px 8px;
  font-weight: 700;
}
.card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; }
.phone { font-size: 13px; color: var(--ink-2); direction: ltr; }

/* ---------- buttons ---------- */
.btn {
  font: inherit;
  white-space: nowrap;
  border-radius: 10px;
  padding: 9px 14px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform .12s ease, box-shadow .2s ease, filter .15s ease, border-color .15s ease;
}
.btn.primary {
  background: var(--red);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 2px 4px rgba(10, 34, 71, .25), 0 12px 22px -12px rgba(196, 6, 10, .55);
}
.btn.primary:hover { filter: brightness(1.06); }
.btn.primary:active {
  transform: translateY(1px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 1px 2px rgba(10, 34, 71, .4);
}
.btn.ghost {
  background: #fff;
  border-color: var(--line);
  color: var(--ink);
  box-shadow: 0 1px 2px rgba(10, 25, 47, .05);
}
.btn.ghost:hover { border-color: #d3dce6; }
.btn.small { padding: 7px 12px; font-size: 14px; }

.empty { text-align: center; color: var(--ink-2); padding: 24px 0; }

.foot { padding: 18px 0 40px; color: var(--ink-2); font-size: 13px; }

/* ---------- dialogs ---------- */
.sheet {
  border: none;
  border-radius: 20px;
  padding: 0;
  width: min(100% - 24px, 560px);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 70px -18px rgba(10, 25, 47, .45);
}
.sheet::backdrop { background: rgba(10, 34, 71, .5); backdrop-filter: blur(3px); }
.sheet[open] { animation: sheet-in .24s cubic-bezier(.2, .9, .3, 1.15); }
@keyframes sheet-in { from { transform: translateY(16px) scale(.96); opacity: 0; } }
.sheet form { padding: 18px; }
.sheet h2 { margin: 0 0 4px; font-size: 20px; }
.hint { margin: 0 0 12px; color: var(--ink-2); font-size: 13px; }
.grid2 { display: grid; gap: 10px; grid-template-columns: 1fr; }
.grid2 label { display: grid; gap: 4px; }
.grid2 span { font-size: 12px; color: var(--ink-2); }
.check { display: flex; align-items: center; gap: 8px; margin: 12px 0; }
.check input { width: 18px; height: 18px; accent-color: var(--red); }
.actions { display: flex; gap: 10px; }

/* ---------- toast ---------- */
.toast {
  position: fixed;
  inset-inline: 0;
  bottom: 18px;
  margin-inline: auto;
  width: max-content;
  max-width: 90%;
  background: var(--ink);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 14px;
  box-shadow: 0 14px 34px -10px rgba(0, 0, 0, .5);
}

@media (min-width: 720px) {
  .intro { padding: 40px 0 16px; }
  .intro h1 { font-size: 32px; }
  .filters { grid-template-columns: repeat(3, 1fr); align-items: end; }
  .grid2 { grid-template-columns: 1fr 1fr; }
  .grid2 .wide { grid-column: 1 / -1; }
  .list { grid-template-columns: 1fr 1fr; }
}

.top-actions { display: flex; gap: 8px; }
.stack { display: grid; gap: 4px; margin-bottom: 12px; }
.stack span { font-size: 12px; color: var(--ink-2); }
.badge-demo, .badge-unv, .badge-ver { font-size: 11px; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-2); background: #fff; }
.badge-ver { color: #0a6b34; border-color: #0a6b34; }
.pledges { font-size: 13px; color: var(--ink-2); }
.result { margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; background: #fff; }
.result a { color: var(--red); font-weight: 700; }
.mine { margin-top: 16px; }
.mine h2 { font-size: 20px; }

@media (max-width: 719px) {
  .brand small { display: none; }
  .brand img.logo { height: 40px; }
  .top-inner { padding: 10px 0; gap: 8px; }
  .top-actions { flex: none; }
  .top-actions .btn { padding: 8px; font-size: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  .sheet[open], .bag, .patient, .face, .heart { animation: none; }
  .patient { transform: rotate(82deg); }
  .face { opacity: 1; }
  .heart { transform: scale(1); }
  .drips { display: none; }
}

/* ---------- journey hero (spacing scale: 8 / 16 / 24 / 32) ---------- */
.intro { padding-bottom: 16px; }
.journey { height: 260vh; margin: 24px 0 32px; }
.j-stage {
  position: sticky; top: 72px;
  height: calc(100vh - 96px); height: calc(100svh - 96px);
  min-height: 440px; max-height: 760px;
  border-radius: 24px; overflow: hidden; background: transparent;
}
.j-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.j-caps { position: absolute; inset-inline: 24px; top: 24px; height: 88px; pointer-events: none; text-align: center; color: var(--ink); }
.j-cap { position: absolute; inset: 0; opacity: 0; transform: translateY(8px); transition: opacity .35s ease, transform .35s ease; }
.j-cap.on { opacity: 1; transform: none; }
.j-cap b { display: block; font-size: 24px; line-height: 1.4; margin-bottom: 8px; }
.j-cap span { display: block; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.j-dots { position: absolute; inset-inline: 0; bottom: 64px; display: flex; justify-content: center; gap: 8px; }
.j-dot { width: 8px; height: 8px; border-radius: 999px; background: rgba(10, 34, 71, .16); transition: background .3s ease, width .3s ease; }
.j-dot.on { background: var(--red); width: 24px; }
.j-skip {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 16px; z-index: 2; white-space: nowrap;
  padding: 8px 16px; border-radius: 999px; font-size: 13px; text-decoration: none;
  color: var(--ink); background: var(--paper); border: 1px solid var(--line);
}
.j-skip:hover { background: var(--red-soft); }
.is-static.journey { height: auto; }
.is-static .j-stage { position: relative; top: 0; height: 440px; }
@media (min-width: 720px) {
  .j-cap b { font-size: 30px; }
  .j-cap span { font-size: 17px; }
}

/* ---------- report ---------- */
.card-acts { display: inline-flex; align-items: center; gap: 8px; }
.btn-report {
  font: inherit; font-size: 12.5px; color: var(--ink-2); background: none;
  border: 1px solid transparent; border-radius: 999px; padding: 6px 10px; cursor: pointer;
}
.btn-report:hover { color: var(--red); border-color: var(--line); background: var(--red-soft); }
.reasons { display: grid; gap: 8px; margin: 12px 0 14px; }
.reason {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px; cursor: pointer;
  border: 1px solid var(--line); border-radius: 12px; background: var(--paper); font-size: 14px;
}
.reason:has(input:checked) { border-color: var(--red); background: var(--red-soft); }
.reason input { accent-color: var(--red); }

.reason input[type=radio] { width: 18px; height: 18px; min-width: 18px; flex: none; padding: 0; margin: 0; box-shadow: none; }
.reason span { flex: 1; font-size: 14px; color: var(--ink); }

/* ---------- footer social ---------- */
.foot .social { display: flex; flex-wrap: wrap; gap: 28px; justify-content: center; align-items: center; margin: 0 0 16px; }
.foot .social a {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--line); color: var(--red);
  transition: transform .15s, box-shadow .15s, color .15s;
}
.foot .social a:hover { color: var(--red-dark); transform: translateY(-2px); box-shadow: 0 4px 12px rgba(196, 6, 10, .18); }
.foot .social svg { width: 20px; height: 20px; fill: currentColor; }

/* ---------- professional footer ---------- */
.foot2 { margin-top: 56px; background: var(--sand); color: var(--ink); border-top: 1px solid var(--line); }
.foot2 .wrap { max-width: 1060px; margin: 0 auto; padding: 0 20px; }
.foot2-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 28px;
  padding-top: 48px !important;
  padding-bottom: 40px !important;
  align-items: start;
}
.foot-logo { display: inline-block; }
.foot-logo .logo { width: 150px; height: auto; display: block; }
.foot-tag { margin: 18px 0 0; font-size: 14px; line-height: 1.8; color: var(--ink-2); max-width: 30ch; }
.foot-brand .social { display: flex; gap: 12px; margin-top: 22px; }
.foot-brand .social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--paper); border: 1px solid var(--line);
  color: var(--red);
  transition: background .15s, transform .15s;
}
.foot-brand .social a:hover { background: var(--red-soft); border-color: rgba(196, 6, 10, .35); transform: translateY(-2px); }
.foot-brand .social svg { width: 18px; height: 18px; fill: currentColor; }
.foot-col h3 {
  margin: 6px 0 18px;
  font-size: 15px; font-weight: 700; color: var(--red-dark);
  padding-bottom: 10px;
  border-bottom: 2px solid rgba(10, 34, 71, .28);
  display: inline-block; min-width: 64px;
}
/* .foot-contact is display:grid; keep its heading content-width like the other columns */
.foot-contact h3 { justify-self: start; }
.foot-col a, .foot-col .flink {
  display: block;
  background: none; border: 0; padding: 0;
  margin: 0 0 14px;
  font: inherit; font-size: 14px; text-align: right;
  color: var(--ink-2); text-decoration: none; cursor: pointer;
  transition: color .15s;
}
.foot-col a:hover, .foot-col .flink:hover { color: var(--red-dark); }
.foot-contact { display: grid; gap: 28px; align-content: start; }
.contact-card {
  display: flex !important; flex-direction: row; align-items: center; gap: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px 16px;
  margin: 0 !important;
  direction: rtl;
  transition: background .15s, border-color .15s;
}
.contact-card:hover { border-color: rgba(196, 6, 10, .4); box-shadow: 0 6px 16px -10px rgba(10, 34, 71, .35); }
.cc-ic {
  flex: none; width: 42px; height: 42px; border-radius: 13px;
  background: var(--red-soft);
  border: 1px solid rgba(196, 6, 10, .3);
  color: var(--red, #c4060a);
  box-shadow: 0 2px 6px -2px rgba(10, 34, 71, .28), inset 0 1px 0 #fff;
  display: grid; place-items: center;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.cc-ic svg { width: 21px; height: 21px; fill: currentColor; }
.cc-ic.wa {
  background: var(--green-soft);
  border-color: rgba(31, 138, 76, .34);
  color: #1f8a4c;
  box-shadow: 0 2px 6px -2px rgba(31, 138, 76, .26), inset 0 1px 0 #fff;
}
.contact-card:hover .cc-ic {
  transform: translateY(-2px);
  border-color: rgba(10, 34, 71, .45);
  box-shadow: 0 7px 14px -6px rgba(10, 34, 71, .38), inset 0 1px 0 #fff;
}
.contact-card:hover .cc-ic.wa { border-color: rgba(31, 138, 76, .5); box-shadow: 0 7px 14px -6px rgba(31, 138, 76, .36), inset 0 1px 0 #fff; }
.cc-t { display: grid; gap: 2px; text-align: right; }
.cc-t small { font-size: 12px; color: var(--ink-2); }
.cc-t b { font-size: 15px; color: var(--ink); font-weight: 700; letter-spacing: .3px; }
.foot-base { border-top: 1px solid var(--line); }
.foot-base-in {
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  padding-top: 20px !important; padding-bottom: 22px !important;
  font-size: 13px; color: var(--ink-2);
}
.dev-credit b { color: var(--red-dark); font-weight: 600; }
@media (max-width: 900px) {
  .foot2-grid { grid-template-columns: 1fr 1fr; gap: 28px; padding-top: 36px !important; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .foot2-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .foot-brand, .foot-contact { grid-column: 1 / -1; }
  .foot-base-in { justify-content: center; text-align: center; }
}

/* homepage counters */
.hero-stats { display: flex; margin-top: 28px; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 24px 0; }
.hstat { flex: 1; text-align: center; padding: 0 20px; }
.hstat + .hstat { border-inline-start: 1px solid var(--line); }
.hstat b { display: block; font-size: 40px; font-weight: 700; color: var(--red); line-height: 1.15; font-variant-numeric: tabular-nums; }
.hstat span { display: block; margin-top: 6px; font-size: 13px; color: var(--ink-2); }
@media (max-width: 719px) {
  .hero-stats { padding: 16px 0; }
  .hstat { padding: 0 10px; }
  .hstat b { font-size: 26px; }
  .hstat span { font-size: 12px; }
}

/* donor personal link box */
.linkbox { background: #faf5ec; border: 1px solid #e6dcc8; border-radius: 10px; padding: 10px 12px; word-break: break-all; font-size: 13px; text-align: left; }

/* ---- content pages (eligibility/terms/privacy/feedback) ---- */
.doc{padding-top:28px;padding-bottom:40px}
.doc-body{max-width:760px;margin:0 auto}
.doc-kicker{font-size:.9rem;color:#6e7c90;margin:0 0 8px}
.doc-kicker a{color:#c4060a;text-decoration:none}
.doc-body h1{font-size:1.9rem;line-height:1.35;color:#081a38;margin:0 0 12px}
.doc-lead{font-size:1.05rem;line-height:1.9;color:#22354f;margin:0 0 24px}
.doc-body h2{font-size:1.3rem;color:#081a38;margin:28px 0 10px}
.doc-body h3{font-size:1.05rem;color:#081a38;margin:18px 0 6px}
.doc-body p,.doc-body li{line-height:2;color:#1c2f49}
.doc-body ul{padding-inline-start:22px;margin:0 0 8px}
.doc-body li{margin-bottom:6px}
.doc-sources li{word-break:break-word}
.doc-sources a{color:#c4060a}
.doc-note{background:#fbf3e7;border:1px solid #ecdcc3;border-radius:12px;padding:12px 16px;color:#6b4f2a}
.fb-form{display:flex;flex-direction:column;gap:20px;margin-top:20px}
.fb-field{display:flex;flex-direction:column;gap:6px}
.fb-field span{font-weight:600;color:#081a38}
.fb-field input,.fb-field textarea{min-height:44px;border:1px solid #cfd8e2;border-radius:10px;padding:10px 14px;font:inherit;background:#fff;color:#1c2f49}
.fb-field textarea{min-height:140px;resize:vertical}
.fb-field input:focus,.fb-field textarea:focus{outline:2px solid #c4060a;outline-offset:1px;border-color:#c4060a}
.fb-actions{display:flex;align-items:center;gap:14px}
.fb-done{background:#f2f9f2;border:1px solid #cfe5cf;border-radius:14px;padding:20px;margin-top:20px}
.fb-done h2{margin-top:0}

/* footer: contact tips + social inside contact column */
.foot-tips { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 10px; }
.foot-tips li { position: relative; padding-inline-start: 18px; line-height: 1.9; color: #22354f; font-size: .92rem; }
.foot-tips li::before { content: ''; position: absolute; inset-inline-start: 0; top: .72em; width: 7px; height: 7px; border-radius: 50%; background: var(--red); }
.foot-contact .social { display: flex; gap: 12px; margin: 4px 0 14px; }
.foot-contact .social a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); color: var(--red); transition: background .15s, transform .15s; }
.foot-contact .social a:hover { background: var(--red-soft); border-color: rgba(179,38,30,.35); transform: translateY(-2px); }
.foot-contact .social svg { width: 18px; height: 18px; fill: currentColor; }
.hero-stats[hidden] { display: none; }

/* footer contact CTA */
.foot-contact .foot-cta { justify-self: start; display: inline-flex; align-items: center; gap: 8px; background: var(--paper); border: 1px solid var(--red); border-radius: 12px; color: var(--red); font-size: 14px; font-weight: 600; padding: 10px 18px; text-decoration: none; transition: background .15s, transform .15s; }
.foot-contact .foot-cta:hover { background: var(--red-soft); transform: translateY(-1px); }
.foot-contact .foot-cta svg { width: 16px; height: 16px; fill: currentColor; }

/* ---- install prompt card ---- */
.install-card {
  position: fixed; inset-inline: 14px; bottom: 14px; z-index: 60;
  display: flex; align-items: center; gap: 12px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 16px;
  padding: 12px 14px; box-shadow: 0 12px 32px -12px rgba(10, 34, 71, .35);
  opacity: 0; transform: translateY(12px); transition: opacity .25s, transform .25s;
}
.install-card.show { opacity: 1; transform: none; }
.install-card img { border-radius: 10px; flex: none; }
.install-text { flex: 1; display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.install-text b { font-size: 14px; color: var(--ink); }
.install-text span { font-size: 12px; color: var(--ink-2); line-height: 1.6; }
.install-actions { display: flex; flex-direction: column; gap: 6px; flex: none; }
.install-go {
  background: var(--red); color: #fff; border: 0; border-radius: 10px;
  font: inherit; font-size: 13px; font-weight: 700; padding: 8px 18px; cursor: pointer;
}
.install-dismiss {
  background: none; border: 0; color: var(--ink-3); font: inherit; font-size: 12px; cursor: pointer; padding: 2px;
}
@media (min-width: 640px) {
  .install-card { inset-inline-start: auto; inset-inline-end: 24px; bottom: 24px; max-width: 400px; }
  .install-actions { flex-direction: row-reverse; align-items: center; }
}
