/* Brand tokens come from the Kpay.pk website (../Kpay.pk/index.html). */
:root {
  --royal: #0047cc;
  --blue: #0a7cf0;
  --sky: #1e9bff;
  --cyan: #5cc8ff;
  --navy-800: #0b2361;
  --navy-900: #061433;
  --navy-950: #040d24;
  --brand-gradient: linear-gradient(135deg, #0047cc 0%, #0a7cf0 55%, #1e9bff 100%);
  /* The site's gradient ends too light for white text; this keeps 5.5:1 or better. */
  --button-gradient: linear-gradient(135deg, #0047cc 0%, #0560e0 100%);

  --page: #f4f7fd;
  --surface: #ffffff;
  --surface-soft: #f4f7fd;
  --ink: #0b1a3a;
  --text: #3b4a6b;
  --muted: #5b6a8a;
  --line: #e3e9f5;
  --line-strong: #c9d6f2;
  --accent: #0047cc;
  --accent-soft: #eaf3ff;
  --focus-ring: rgb(10 124 240 / 45%);
  --card-shadow: 0 20px 60px -20px rgb(8 35 97 / 25%);
  --button-shadow: 0 12px 28px -10px rgb(0 71 204 / 55%);

  --success-text: #0b7a3e;
  --success-soft: #e7f8ef;
  --danger-text: #b42318;
  --danger-soft: #fdecec;
  --warning-text: #8a5300;
  --warning-soft: #fff4e0;
  --info-text: #0047cc;
  --info-soft: #eaf3ff;
  --neutral-text: #4b5a7a;
  --neutral-soft: #eef2f9;

  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: #061433;
    --surface: #0b1a3a;
    --surface-soft: #0f2148;
    --ink: #eef3ff;
    --text: #c9d6f2;
    --muted: #9fb2dc;
    --line: rgb(255 255 255 / 9%);
    --line-strong: rgb(255 255 255 / 18%);
    --accent: #6cb2ff;
    --accent-soft: rgb(30 155 255 / 14%);
    --focus-ring: rgb(92 200 255 / 55%);
    --card-shadow: 0 30px 60px -20px rgb(0 10 40 / 60%);
    --button-shadow: 0 12px 28px -10px rgb(0 0 0 / 60%);

    --success-text: #4ade80;
    --success-soft: rgb(74 222 128 / 12%);
    --danger-text: #ff8a8a;
    --danger-soft: rgb(255 107 107 / 13%);
    --warning-text: #f5b453;
    --warning-soft: rgb(245 180 83 / 13%);
    --info-text: #7ab8ff;
    --info-soft: rgb(30 155 255 / 14%);
    --neutral-text: #a9bbe0;
    --neutral-soft: rgb(255 255 255 / 7%);
    color-scheme: dark;
  }
}

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

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

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--page);
  color: var(--text);
  font: 400 16px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

h1,
p {
  margin: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

[hidden] {
  display: none !important;
}

:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

.icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Layout: navy brand header on phones, split screen from 960px ---------- */

.shell {
  min-height: 100dvh;
  background: var(--surface);
}

.brand-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 20px 20px 52px;
  color: #fff;
  background:
    radial-gradient(70% 60% at 85% 0%, rgb(10 124 240 / 55%), transparent 70%),
    radial-gradient(60% 50% at 0% 100%, rgb(0 71 204 / 40%), transparent 70%),
    linear-gradient(160deg, var(--navy-800), var(--navy-900) 55%, var(--navy-950));
}

/* The grid texture from the kpay.pk hero. */
.brand-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 85%);
}

.brand-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo img {
  width: 112px;
}

.secure-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 999px;
  background: rgb(255 255 255 / 6%);
  color: rgb(255 255 255 / 88%);
  font-size: 13px;
  font-weight: 600;
}

.secure-pill .icon {
  width: 15px;
  height: 15px;
  color: var(--cyan);
}

.brand-copy,
.hero-visual,
.brand-panel .trust-row {
  display: none;
}

.content {
  position: relative;
  margin-top: -28px;
  padding: 32px 20px 40px;
  border-radius: 28px 28px 0 0;
  background: var(--surface);
}

.card {
  max-width: 520px;
  margin: 0 auto;
  animation: rise 0.45s var(--ease-out) both;
}

@media (min-width: 960px) {
  .shell {
    display: grid;
    grid-template-columns: minmax(440px, 46%) 1fr;
    background: var(--page);
  }

  .brand-panel {
    position: sticky;
    top: 0;
    height: 100dvh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 32px;
    padding: 40px clamp(40px, 5vw, 72px);
  }

  .logo img {
    width: 136px;
  }

  .brand-copy,
  .hero-visual {
    display: block;
  }

  .brand-panel .trust-row {
    display: flex;
  }

  .content {
    display: grid;
    place-items: center;
    margin: 0;
    padding: 48px clamp(24px, 5vw, 72px);
    border-radius: 0;
    background:
      radial-gradient(50% 40% at 100% 0%, rgb(30 155 255 / 10%), transparent 70%),
      var(--page);
  }

  .card {
    width: 100%;
    max-width: 480px;
    margin: 0;
    padding: 40px;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: var(--surface);
    box-shadow: var(--card-shadow);
  }
}

@media (min-width: 960px) and (max-height: 780px) {
  .hero-visual {
    display: none;
  }
}

/* ---------- Brand panel content (desktop) ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 5px 14px 5px 5px;
  border: 1px solid rgb(255 255 255 / 14%);
  border-radius: 999px;
  background: rgb(255 255 255 / 5%);
  color: rgb(255 255 255 / 90%);
  font-size: 14px;
  font-weight: 500;
}

.pill-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--royal);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.display {
  margin-top: 20px;
  color: #fff;
  font-size: clamp(38px, 3.6vw, 54px);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.gradient-text {
  background: linear-gradient(90deg, var(--cyan), var(--sky) 45%, #7aa8ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-text {
  max-width: 30em;
  margin-top: 16px;
  color: #a9bbe0;
  font-size: 17px;
}

.trust-row {
  margin: 0;
  padding: 0;
  list-style: none;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.trust-row li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
}

.brand-panel .trust-row {
  padding-top: 24px;
  border-top: 1px solid rgb(255 255 255 / 10%);
  color: rgb(255 255 255 / 85%);
}

.brand-panel .trust-row .icon {
  width: 18px;
  height: 18px;
  color: var(--sky);
}

.card .trust-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  text-align: center;
}

.card .trust-row li {
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.35;
}

.card .trust-row .icon {
  color: var(--accent);
}

/* On desktop the brand panel shows the trust row instead. */
@media (min-width: 960px) {
  .card .trust-row {
    display: none;
  }
}

/* ID card being scanned, echoing the payment card on kpay.pk. Decorative only. */
.hero-visual {
  position: relative;
  width: min(100%, 380px);
  margin: 0 auto;
  padding: 18px 18px 44px;
}

.scan-frame {
  position: relative;
  padding: 14px;
  transform: rotate(-4deg);
}

.corner {
  position: absolute;
  width: 26px;
  height: 26px;
  border: 3px solid var(--cyan);
}

.corner-tl {
  top: 0;
  left: 0;
  border-right: 0;
  border-bottom: 0;
  border-top-left-radius: 12px;
}

.corner-tr {
  top: 0;
  right: 0;
  border-left: 0;
  border-bottom: 0;
  border-top-right-radius: 12px;
}

.corner-bl {
  bottom: 0;
  left: 0;
  border-right: 0;
  border-top: 0;
  border-bottom-left-radius: 12px;
}

.corner-br {
  right: 0;
  bottom: 0;
  border-left: 0;
  border-top: 0;
  border-bottom-right-radius: 12px;
}

.id-card {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 14px;
  aspect-ratio: 1.586;
  padding: 18px 20px;
  border-radius: 18px;
  color: #fff;
  background:
    radial-gradient(120% 90% at 100% 0%, rgb(255 255 255 / 28%), transparent 55%),
    var(--brand-gradient);
  box-shadow:
    0 40px 80px -20px rgb(0 40 140 / 70%),
    inset 0 1px 0 rgb(255 255 255 / 30%);
}

.id-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.id-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}

.id-chip {
  width: 38px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, #ffe8a3, #d4a93c);
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 12%);
}

.id-card-body {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 16px;
}

.id-photo {
  flex-shrink: 0;
  width: 64px;
  height: 80px;
  overflow: hidden;
  border-radius: 10px;
  background: rgb(255 255 255 / 16%);
}

.id-photo svg {
  width: 100%;
  height: 100%;
  fill: rgb(255 255 255 / 60%);
}

.id-lines {
  display: grid;
  flex: 1;
  gap: 9px;
}

.id-lines span {
  height: 8px;
  border-radius: 99px;
  background: rgb(255 255 255 / 40%);
}

.id-lines .strong {
  height: 10px;
  background: rgb(255 255 255 / 85%);
}

.id-number {
  font: 500 14px/1 var(--mono);
  letter-spacing: 0.12em;
  opacity: 0.9;
}

/* Full-height layer with a bright band in the middle, slid up and down. */
.scan-beam {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgb(155 227 255 / 25%) 48%,
    rgb(255 255 255 / 95%) 50%,
    rgb(155 227 255 / 25%) 52%,
    transparent 60%
  );
  animation: scan 3.2s ease-in-out infinite alternate;
}

.verified-toast {
  position: absolute;
  bottom: 0;
  left: -8px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px 12px 12px;
  border-radius: 16px;
  background: #fff;
  color: #0b1a3a;
  box-shadow: 0 30px 60px -20px rgb(0 10 40 / 60%);
  animation: float 6s ease-in-out infinite;
}

.toast-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: #e7f8ef;
  color: #12a150;
}

.toast-text {
  display: grid;
  line-height: 1.3;
}

.toast-text small {
  color: #5b6a8a;
  font-size: 12px;
}

.toast-text strong {
  font-size: 15px;
  font-weight: 800;
}

.toast-time {
  align-self: flex-start;
  margin-left: 8px;
  color: #5b6a8a;
  font-size: 11px;
}

/* ---------- Card content ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: '';
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}

h1 {
  margin-top: 12px;
  color: var(--ink);
  font-size: clamp(26px, 1.6vw + 18px, 32px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.lead {
  margin-top: 10px;
  color: var(--text);
}

.steps {
  display: grid;
  gap: 6px;
  margin: 28px 0 24px;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 14px;
  padding: 8px 0;
}

/* Dashed connector from this step's icon to the next one. */
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 56px;
  bottom: -10px;
  left: 21px;
  border-left: 2px dashed var(--line-strong);
}

.step-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  box-shadow: inset 0 0 0 1px rgb(10 124 240 / 14%);
}

.step-icon .icon {
  width: 22px;
  height: 22px;
}

.step-title {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.3;
}

.step-text {
  margin-top: 2px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.demo-box {
  margin-bottom: 20px;
  padding: 14px 16px;
  border: 1.5px dashed var(--line-strong);
  border-radius: 16px;
  background: var(--surface-soft);
}

.demo-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.demo-tag {
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--warning-soft);
  color: var(--warning-text);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

input {
  width: 100%;
  min-height: 48px;
  padding: 10px 14px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font: 500 16px var(--mono);
  transition:
    border-color 0.15s,
    box-shadow 0.15s;
}

input:focus-visible {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px var(--focus-ring);
}

input[aria-invalid='true'] {
  border-color: var(--danger-text);
}

.hint {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.kind-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: 14px 0 0;
  padding: 0;
  border: 0;
}

.kind-toggle legend {
  width: 100%;
  margin-bottom: 6px;
  padding: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
}

.kind-toggle label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 32px;
  font-weight: 500;
  cursor: pointer;
}

.kind-toggle input {
  width: 18px;
  min-height: 0;
  height: 18px;
  margin: 0;
  accent-color: var(--blue);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 54px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  background: var(--button-gradient);
  color: #fff;
  font: 700 16px/1.2 var(--font);
  text-decoration: none;
  cursor: pointer;
  touch-action: manipulation;
  box-shadow:
    var(--button-shadow),
    inset 0 1px 0 rgb(255 255 255 / 18%);
  transition:
    transform 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out),
    filter 0.2s;
}

.button:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.button:active {
  transform: scale(0.985);
}

.button .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s var(--ease-out);
}

.button:hover .icon-arrow {
  transform: translateX(3px);
}

.button[disabled] {
  cursor: progress;
  transform: none;
  filter: saturate(0.85);
}

.button-ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line-strong);
}

.button-ghost:hover {
  filter: none;
  background: var(--surface-soft);
}

.spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgb(255 255 255 / 35%);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

.error {
  display: flex;
  gap: 10px;
  margin-top: 14px;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--danger-soft);
  color: var(--danger-text);
  font-size: 14px;
  font-weight: 500;
}

.error .icon {
  margin-top: 1px;
}

.notice {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--info-soft);
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.notice .icon {
  margin-top: 1px;
  color: var(--info-text);
}

.fineprint {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.fineprint .icon {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  color: var(--accent);
}

/* ---------- Result page ---------- */

.result {
  text-align: center;
}

.result[data-tone='success'] {
  --fill: linear-gradient(145deg, #16a35a, #0d7f43);
  --ring: rgb(18 161 80 / 13%);
  --glow: rgb(18 161 80 / 55%);
  --tone-text: var(--success-text);
  --tone-soft: var(--success-soft);
}

.result[data-tone='danger'] {
  --fill: linear-gradient(145deg, #e5484d, #c62a2f);
  --ring: rgb(229 72 77 / 13%);
  --glow: rgb(229 72 77 / 50%);
  --tone-text: var(--danger-text);
  --tone-soft: var(--danger-soft);
}

.result[data-tone='warning'] {
  --fill: linear-gradient(145deg, #cc7a00, #a35a00);
  --ring: rgb(204 122 0 / 14%);
  --glow: rgb(204 122 0 / 50%);
  --tone-text: var(--warning-text);
  --tone-soft: var(--warning-soft);
}

.result[data-tone='info'] {
  --fill: var(--button-gradient);
  --ring: rgb(10 124 240 / 13%);
  --glow: rgb(0 71 204 / 50%);
  --tone-text: var(--info-text);
  --tone-soft: var(--info-soft);
}

.result[data-tone='neutral'] {
  --fill: linear-gradient(145deg, #6b7a99, #4b5a7a);
  --ring: rgb(107 122 153 / 14%);
  --glow: rgb(75 90 122 / 45%);
  --tone-text: var(--neutral-text);
  --tone-soft: var(--neutral-soft);
}

.status-visual {
  position: relative;
  display: grid;
  place-items: center;
  width: 88px;
  height: 88px;
  margin: 12px auto 28px;
  border-radius: 50%;
  background: var(--fill);
  color: #fff;
  box-shadow:
    0 0 0 10px var(--ring),
    0 18px 40px -12px var(--glow);
}

.status-visual svg {
  width: 40px;
  height: 40px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.status-visual.is-settled {
  animation: pop 0.5s var(--ease-spring) both;
}

.status-visual.is-pending::after {
  content: '';
  position: absolute;
  inset: -16px;
  border: 3px solid transparent;
  border-top-color: var(--sky);
  border-right-color: var(--sky);
  border-radius: 50%;
  animation: spin 1.1s linear infinite;
}

.draw {
  stroke-dasharray: 24;
  stroke-dashoffset: 24;
  animation: draw 0.45s 0.25s var(--ease-out) forwards;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px 6px 10px;
  border-radius: 999px;
  background: var(--tone-soft);
  color: var(--tone-text);
  font-size: 13px;
  font-weight: 700;
}

.chip::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.result[aria-busy='true'] .chip::before {
  animation: pulse 1.2s ease-in-out infinite;
}

.result h1 {
  margin-top: 14px;
}

.result .lead {
  max-width: 34em;
  margin-inline: auto;
}

.tips {
  margin-top: 24px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface-soft);
  text-align: left;
}

.tips-title {
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
}

.tips ul {
  display: grid;
  gap: 10px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.tips li {
  display: flex;
  gap: 10px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.5;
}

.tips li .icon {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  color: var(--accent);
}

.note {
  display: flex;
  gap: 12px;
  margin-top: 24px;
  padding: 14px 16px;
  border-radius: 16px;
  background: var(--tone-soft);
  color: var(--text);
  font-size: 14px;
  line-height: 1.55;
  text-align: left;
}

.note .icon {
  margin-top: 1px;
  color: var(--tone-text);
}

.actions {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.reference {
  margin-top: 20px;
  color: var(--muted);
  font-size: 13px;
}

.reference code {
  margin-left: 6px;
  padding: 3px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--ink);
  font: 500 12.5px var(--mono);
  letter-spacing: 0.04em;
}

/* ---------- Motion ---------- */

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
}

@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {
  50% {
    opacity: 0.35;
  }
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes scan {
  from {
    transform: translateY(-50%);
  }
  to {
    transform: translateY(50%);
  }
}

@keyframes float {
  50% {
    transform: translateY(-6px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  /* Loading indicators still need to show that something is happening. */
  .spinner,
  .status-visual.is-pending::after {
    animation: spin 2.4s linear infinite !important;
  }

  .scan-beam {
    display: none;
  }

  .draw {
    stroke-dashoffset: 0;
  }
}
