/* Fonts: Noto Kufi Arabic (UI, headings) + Noto Naskh Arabic (petition text), self-hosted, OFL. */
@font-face {
  font-family: "Kufi";
  src: url("/fonts/kufi-arabic.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Kufi";
  src: url("/fonts/kufi-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2190-2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Naskh";
  src: url("/fonts/naskh-arabic.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-088E, U+0890-0891, U+0898-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Naskh";
  src: url("/fonts/naskh-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #0c1b24;
  --ink-2: #132a38;
  --sea: #24687a;
  --sea-soft: #1b4b5a;
  --paper: #f3eee3;
  --sheet: #fbf9f4;
  --sheet-2: #f2ede2;
  --rule: #ddd3c0;
  --text: #1a2329;
  --muted: #5a666d;
  --signal: #f2a227;
  --signal-hover: #f7b546;
  --signal-deep: #d9860a;
  --on-signal: #1b1203;
  --on-ink: #eef3f4;
  --on-ink-muted: #a7bbc2;
  --danger-on-ink: #ffb4a8;
  --font-ui: "Kufi", "Segoe UI", Tahoma, sans-serif;
  --font-text: "Naskh", "Traditional Arabic", "Times New Roman", serif;
  --radius: 14px;
  --gutter: 20px;
  --max: 1120px;
  --shadow: 0 1px 2px rgb(12 27 36 / 0.06), 0 18px 40px -18px rgb(12 27 36 / 0.35);
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background-color: var(--paper);
  /* survey-paper dot grid */
  background-image: radial-gradient(rgb(12 27 36 / 0.05) 1px, transparent 1.2px);
  background-size: 22px 22px;
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 1rem;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

a { color: inherit; }

:focus-visible {
  outline: 3px solid var(--signal);
  outline-offset: 3px;
  border-radius: 6px;
}

.nowrap { white-space: nowrap; }

.skip-link {
  position: absolute;
  top: -100px;
  inset-inline-start: 12px;
  z-index: 100;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: var(--signal);
  color: var(--on-signal);
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 52px;
  padding: 0.65em 1.5em;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.4;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn:active { transform: translateY(1px); }
.btn[disabled] { opacity: 0.75; cursor: progress; }

.btn--signal {
  background: var(--signal);
  color: var(--on-signal);
  box-shadow: 0 12px 26px -12px rgb(242 162 39 / 0.8);
}
.btn--signal::after {
  content: "\2190";
  font-weight: 400;
  transition: transform 0.2s ease;
}
.btn--signal:hover { background: var(--signal-hover); }
.btn--signal:hover::after { transform: translateX(-3px); }

.btn--ghost {
  border-color: rgb(255 255 255 / 0.28);
  color: var(--on-ink);
  background: transparent;
}
.btn--ghost:hover { background: rgb(255 255 255 / 0.07); }

.btn--ink {
  background: var(--ink);
  color: var(--on-ink);
}
.btn--ink:hover { background: var(--ink-2); }

.btn--block { width: 100%; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: clamp(40px, 8vw, 104px) var(--gutter) clamp(110px, 15vw, 190px);
  background:
    radial-gradient(110% 70% at 10% 0%, rgb(36 104 122 / 0.45) 0%, transparent 60%),
    linear-gradient(180deg, #08141c 0%, var(--ink) 55%, #0f2c39 100%);
  color: var(--on-ink);
}

.hero__rain {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  transform: skewX(-9deg);
  -webkit-mask-image: linear-gradient(to bottom, #000 20%, transparent 90%);
  mask-image: linear-gradient(to bottom, #000 20%, transparent 90%);
}
.hero__rain::before,
.hero__rain::after {
  content: "";
  position: absolute;
  inset: -120px -15% 0;
  background: repeating-linear-gradient(90deg, rgb(196 228 238 / 0.16) 0 1px, transparent 1px 31px);
  -webkit-mask-image: repeating-linear-gradient(180deg, #000 0 24px, transparent 24px 120px);
  mask-image: repeating-linear-gradient(180deg, #000 0 24px, transparent 24px 120px);
  animation: rain 0.9s linear infinite;
  will-change: transform;
}
.hero__rain::after {
  inset: -120px -15% 0;
  background: repeating-linear-gradient(90deg, transparent 0 13px, rgb(196 228 238 / 0.09) 13px 14px, transparent 14px 47px);
  -webkit-mask-image: repeating-linear-gradient(180deg, transparent 0 50px, #000 50px 66px, transparent 66px 120px);
  mask-image: repeating-linear-gradient(180deg, transparent 0 50px, #000 50px 66px, transparent 66px 120px);
  animation-duration: 1.35s;
}

.hero__clock {
  position: absolute;
  z-index: -1;
  top: 10%;
  /* physical side on purpose: direction:ltr would flip inset-inline-end */
  left: -1%;
  direction: ltr;
  font-size: clamp(6.5rem, 24vw, 21rem);
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgb(196 228 238 / 0.1);
  user-select: none;
  pointer-events: none;
}

.hero__inner {
  position: relative;
  max-width: var(--max);
  margin-inline: auto;
}
.hero__inner > * { animation: rise-in 0.9s var(--ease-out) both; }
.hero__inner > :nth-child(2) { animation-delay: 0.08s; }
.hero__inner > :nth-child(3) { animation-delay: 0.16s; }
.hero__inner > :nth-child(4) { animation-delay: 0.26s; }
.hero__inner > :nth-child(5) { animation-delay: 0.34s; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  margin: 0;
  padding: 0.3em 0.95em;
  border: 1px solid rgb(255 255 255 / 0.14);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.04);
  color: var(--on-ink-muted);
  font-size: 0.88rem;
  font-weight: 600;
}
.kicker__dot {
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: var(--signal);
  animation: beacon 2.4s ease-out infinite;
}

.hero__title {
  max-width: 9.5em;
  margin: 0.4em 0 0.35em;
  font-size: clamp(2.3rem, 1.1rem + 5.6vw, 5.4rem);
  font-weight: 900;
  line-height: 1.3;
  text-wrap: balance;
}
.hero__q { color: var(--signal); }

.hero__lead {
  max-width: 34em;
  margin: 0 0 1.8rem;
  color: #cddbe0;
  font-family: var(--font-text);
  font-size: clamp(1.1rem, 1rem + 0.55vw, 1.4rem);
  line-height: 1.95;
}

.tally {
  max-width: 31rem;
  padding: 1.1rem 1.25rem 1rem;
  border: 1px solid rgb(255 255 255 / 0.12);
  border-radius: var(--radius);
  background: rgb(6 16 22 / 0.55);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.tally__line {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 0.75rem;
  margin: 0 0 0.75rem;
}
.tally__num {
  direction: ltr;
  unicode-bidi: isolate;
  color: #fff;
  font-size: clamp(2.3rem, 1.7rem + 2.4vw, 3.3rem);
  font-weight: 800;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tally__label { color: var(--on-ink-muted); font-weight: 500; }
.tally__goal { margin: 0.55rem 0 0; color: var(--on-ink-muted); font-size: 0.88rem; }
.tally__goal strong { direction: ltr; unicode-bidi: isolate; color: #fff; }

.gauge {
  position: relative;
  height: 12px;
  overflow: hidden;
  border-radius: 999px;
  background-color: rgb(255 255 255 / 0.08);
  background-image: repeating-linear-gradient(90deg, transparent 0 calc(10% - 1px), rgb(255 255 255 / 0.14) calc(10% - 1px) 10%);
}
.gauge__fill {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: calc(var(--p, 0) * 1%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--signal-hover), var(--signal-deep));
  transition: width 1.4s var(--ease-out);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
}

.hero__water {
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  width: 100%;
  height: clamp(64px, 9vw, 124px);
  animation: water-rise 1.8s var(--ease-out) 0.15s both;
}
.wave--back {
  fill: var(--sea-soft);
  opacity: 0.6;
  transform-box: fill-box;
  animation: drift 9s ease-in-out infinite alternate;
}
.wave--front { fill: var(--paper); }

/* ---------- Demands strip ---------- */
.demands-strip {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: var(--max);
  margin: -6px auto 0;
  padding: 0 var(--gutter);
}
.demand-chip {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--sheet);
  color: var(--text);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.55;
  text-decoration: none;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.demand-chip:hover { border-color: var(--sea); transform: translateY(-2px); }
.demand-chip__n {
  flex: none;
  direction: ltr;
  color: var(--sea);
  font-size: 1.5rem;
  font-weight: 800;
}

/* ---------- Layout ---------- */
.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 4vw, 52px);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(28px, 5vw, 56px) var(--gutter) 72px;
}

/* ---------- Sign card ---------- */
.sign-card {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 3vw, 32px);
  border-radius: 20px;
  background: var(--ink);
  color: var(--on-ink);
  box-shadow: var(--shadow);
  scroll-margin-top: 16px;
}
.sign-card::before {
  content: "";
  position: absolute;
  inset-inline: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--signal), var(--sea));
}
.sign-card__title { margin: 0 0 0.2rem; font-size: 1.6rem; font-weight: 800; line-height: 1.45; }
.sign-card__intro { margin: 0 0 1.3rem; color: var(--on-ink-muted); font-size: 0.95rem; }

.form { position: relative; }
.field { margin-bottom: 1rem; }
.field label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.field__hint { color: var(--on-ink-muted); font-size: 0.82rem; font-weight: 400; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select {
  width: 100%;
  min-height: 50px;
  padding: 0.55rem 0.9rem;
  border: 1.5px solid #2e4c5c;
  border-radius: 10px;
  background-color: #f8fafb;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input[dir="ltr"] { text-align: right; }
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-inline-end: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='%230c1b24' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M5 8l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 0.9rem center;
  background-size: 18px;
}
.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--signal);
  box-shadow: 0 0 0 3px rgb(242 162 39 / 0.35);
}
.field [aria-invalid="true"] { border-color: var(--danger-on-ink); }

.field__error {
  margin: 0.3rem 0 0;
  color: var(--danger-on-ink);
  font-size: 0.85rem;
  line-height: 1.6;
}
.field__error:empty { display: none; }

.field--check {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 0 0.7rem;
  align-items: start;
  margin-bottom: 0.75rem;
}
.field--check input {
  width: 22px;
  height: 22px;
  margin: 0.32rem 0 0;
  accent-color: var(--signal);
  cursor: pointer;
}
.field--check label {
  margin: 0;
  color: #d5e2e6;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.75;
  cursor: pointer;
}
.field--check .field__error { grid-column: 2; }

.field--trap {
  position: absolute;
  inset-inline-start: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form__status {
  margin: 0.25rem 0 0.9rem;
  padding: 0.6rem 0.85rem;
  border-radius: 10px;
  background: rgb(255 180 168 / 0.1);
  color: var(--danger-on-ink);
  font-size: 0.9rem;
}
.form__status:empty { display: none; }

.form__privacy {
  margin: 0.9rem 0 0;
  color: var(--on-ink-muted);
  font-size: 0.82rem;
  text-align: center;
}
.form__privacy a { color: var(--on-ink); }

/* ---------- Thanks + share ---------- */
.sign-card__thanks:focus { outline: none; }
.thanks__mark {
  width: 64px;
  height: 64px;
  margin-bottom: 1rem;
  border-radius: 50%;
  background: var(--signal) center / 30px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1203' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E");
  animation: pop 0.5s var(--ease-out) both;
}
.share {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}
.share__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.4rem 0.6rem;
  border: 1px solid rgb(255 255 255 / 0.2);
  border-radius: 10px;
  background: rgb(255 255 255 / 0.05);
  color: var(--on-ink);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.share__btn:hover { background: rgb(255 255 255 / 0.12); }
.share__btn--native {
  grid-column: 1 / -1;
  border-color: transparent;
  background: var(--signal);
  color: var(--on-signal);
}
.share__btn--native:hover { background: var(--signal-hover); }
.share__copied { min-height: 1.6em; margin: 0.5rem 0 0.25rem; color: var(--signal); font-size: 0.88rem; }
.link-btn {
  padding: 0.4rem 0;
  border: 0;
  background: none;
  color: var(--on-ink-muted);
  font: inherit;
  font-size: 0.9rem;
  text-decoration: underline;
  text-underline-offset: 4px;
  cursor: pointer;
}
.link-btn:hover { color: var(--on-ink); }

/* ---------- Live pulse ---------- */
.pulse {
  margin-top: 1.25rem;
  padding: 1.25rem 1.25rem 0.75rem;
  border: 1px solid var(--rule);
  border-radius: 16px;
  background: var(--sheet);
}
.pulse__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.6rem;
  font-size: 1rem;
  font-weight: 700;
}
.pulse__title:first-child::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #2f9e6b;
  animation: beacon-green 2.4s ease-out infinite;
}
.pulse__list { margin: 0 0 1.3rem; padding: 0; list-style: none; }
.pulse__list li {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--rule);
  font-size: 0.92rem;
  line-height: 1.6;
}
.pulse__list li:last-child { border-bottom: 0; }
.pulse__gov { color: var(--muted); }
.pulse__when { flex: none; color: var(--muted); font-size: 0.8rem; white-space: nowrap; }

.bars { margin: 0 0 0.5rem; padding: 0; list-style: none; }
.bars li {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr) auto;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.45rem;
  font-size: 0.88rem;
}
.bars__track { height: 8px; overflow: hidden; border-radius: 99px; background: #e8e0d0; }
.bars__fill {
  display: block;
  height: 100%;
  width: calc(var(--w, 0) * 1%);
  border-radius: inherit;
  background: var(--sea);
}
.bars__n { direction: ltr; color: var(--muted); font-variant-numeric: tabular-nums; }

/* ---------- Petition document ---------- */
.petition {
  position: relative;
  padding: clamp(22px, 5vw, 56px);
  border: 1px solid var(--rule);
  border-radius: 6px;
  background: var(--sheet);
  box-shadow: var(--shadow);
  font-family: var(--font-text);
  font-size: clamp(1.08rem, 1rem + 0.25vw, 1.2rem);
  line-height: 2.05;
  scroll-margin-top: 16px;
}
.petition p { margin: 0 0 1.1rem; }

.petition__head {
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 2px solid var(--ink);
  font-family: var(--font-ui);
}
.petition__to-label { margin: 0 !important; color: var(--muted); font-size: 0.9rem; }
.petition__to {
  margin: 0.25rem 0 1rem;
  padding: 0;
  list-style: none;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.95;
}
.petition__to li::before {
  content: "";
  display: inline-block;
  width: 0.45em;
  height: 0.45em;
  margin-inline-end: 0.6em;
  border-radius: 1px;
  background: var(--signal);
  vertical-align: middle;
}
.petition__subject { margin: 0 !important; font-size: 1rem; font-weight: 600; line-height: 1.8; }
.petition__subject span { color: var(--sea); }

.petition__h {
  margin: 2.2rem 0 0.8rem;
  font-family: var(--font-ui);
  font-size: 1.35rem;
  font-weight: 800;
  line-height: 1.5;
}
.petition__head + .petition__h { margin-top: 0; }

.petition__emph {
  margin-block: 1.6rem !important;
  padding-inline-start: 1rem;
  border-inline-start: 4px solid var(--signal);
  color: var(--ink);
  font-size: 1.12em;
  font-weight: 700;
}

.demand {
  margin: 1.4rem 0;
  padding: 1.25rem 1.25rem 0.4rem;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: var(--sheet-2);
  scroll-margin-top: 16px;
}
.demand__title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 0.8rem;
  font-family: var(--font-ui);
  font-size: 1.12rem;
  font-weight: 800;
  line-height: 1.6;
}
.demand__n {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  background: var(--ink);
  color: var(--signal);
  font-size: 1rem;
}
.demand__items { margin: 0; }
.demand__items dt {
  margin-top: 0.4rem;
  color: var(--sea);
  font-family: var(--font-ui);
  font-size: 0.98rem;
  font-weight: 700;
}
.demand__items dd { margin: 0 0 0.85rem; }

.petition__quote {
  position: relative;
  margin: 1.8rem 0;
  padding: 1.6rem 1.5rem 1.5rem;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-family: var(--font-ui);
  font-size: clamp(1.12rem, 1rem + 0.7vw, 1.42rem);
  font-weight: 700;
  line-height: 1.95;
}
.petition__quote::before {
  content: "\00AB";
  position: absolute;
  top: -0.55em;
  inset-inline-start: 0.6em;
  color: var(--signal);
  font-size: 3.2rem;
  line-height: 1;
}
.petition__quote p { margin: 0 !important; }

.petition__sign {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px dashed var(--rule);
  font-family: var(--font-ui);
}
.petition__sign p { margin: 0 0 0.3rem !important; }
.petition__annex { color: var(--muted); font-size: 0.95rem; }
.petition__sign .btn { margin-top: 1rem; }

/* ---------- Footer ---------- */
.site-footer {
  padding: 48px var(--gutter) 128px;
  background: var(--ink);
  color: var(--on-ink-muted);
}
.site-footer__inner { max-width: 820px; margin: 0 auto; }
.site-footer__credit { margin: 0; color: var(--on-ink); font-size: 1rem; line-height: 1.95; }
.site-footer__credit strong { color: #fff; }
.privacy {
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  font-size: 0.9rem;
  line-height: 1.95;
}
.privacy__title { margin: 0 0 0.5rem; color: #fff; font-size: 1rem; }
.privacy p { margin: 0 0 0.6rem; }
.privacy a { color: var(--signal); }

/* ---------- Sticky CTA ---------- */
.sticky-cta {
  position: fixed;
  inset-inline: 12px;
  bottom: calc(12px + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 8px;
  padding-inline-start: 18px;
  border: 1px solid rgb(255 255 255 / 0.1);
  border-radius: 16px;
  background: rgb(12 27 36 / 0.94);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--on-ink);
  box-shadow: 0 18px 40px -14px rgb(0 0 0 / 0.55);
  transform: translateY(160%);
  visibility: hidden;
  transition: transform 0.35s var(--ease-out), visibility 0s linear 0.35s;
}
.sticky-cta.is-visible {
  transform: none;
  visibility: visible;
  transition: transform 0.35s var(--ease-out);
}
.sticky-cta__count { font-size: 0.92rem; }
.sticky-cta__count strong { direction: ltr; unicode-bidi: isolate; font-size: 1.1rem; }
.sticky-cta .btn { min-height: 46px; padding-inline: 1.2rem; }

/* ---------- Responsive ---------- */
@media (max-width: 760px) {
  .demands-strip { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .demand-chip { padding: 0.7rem 0.9rem; }
  .hero__clock { top: auto; bottom: 18%; opacity: 0.8; }
  .hero__actions .btn { flex: 1 1 auto; }
}

@media (min-width: 960px) {
  .layout {
    grid-template-columns: minmax(0, 1fr) 410px;
    grid-template-areas: "text sign";
    align-items: start;
  }
  .petition { grid-area: text; }
  .sign-column { grid-area: sign; }
  .sticky-cta {
    inset-inline-start: auto;
    inset-inline-end: 24px;
    bottom: 24px;
  }
}

/* ---------- Motion ---------- */
@keyframes rain { to { transform: translateY(120px); } }
@keyframes rise-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes water-rise {
  from { transform: translateY(55%); }
  to { transform: none; }
}
@keyframes drift {
  from { transform: translateX(-2%); }
  to { transform: translateX(2%); }
}
@keyframes beacon {
  0% { box-shadow: 0 0 0 0 rgb(242 162 39 / 0.6); }
  70%, 100% { box-shadow: 0 0 0 10px rgb(242 162 39 / 0); }
}
@keyframes beacon-green {
  0% { box-shadow: 0 0 0 0 rgb(47 158 107 / 0.55); }
  70%, 100% { box-shadow: 0 0 0 8px rgb(47 158 107 / 0); }
}
@keyframes pop {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .hero__rain { display: none; }
}
