/*
 * /app/ — the Windows app's page.
 *
 * The bar on top is the site's own (styles-oxro8XNm.css); everything under it
 * is drawn here, in the same night sky, neon and violet as the new home page.
 * Every sentence lives in index.html, so the site-text map can still reach it.
 */

:root {
  --wa-bg: #050812;
  --wa-text: #eaf0fa;
  --wa-muted: #97a6bf;
  --wa-faint: #66758f;
  --wa-neon: #22d3ee;
  --wa-neon-soft: #67e8f9;
  --wa-violet: #7c5cff;
  --wa-amber: #fbbf24;
  --wa-rose: #fb7185;
  --wa-green: #34d399;
  --wa-line: rgba(148, 163, 184, 0.12);
  --wa-card: linear-gradient(180deg, rgba(17, 27, 50, 0.78), rgba(9, 14, 28, 0.88));
  --wa-grad: linear-gradient(135deg, #22d3ee 0%, #7c5cff 100%);
}

body.winapp {
  background: var(--wa-bg);
  color: var(--wa-text);
  overflow-x: hidden;
}

/* ------------------------------------------------------------------ the sky */
.sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(120% 80% at 50% -10%, #0d1630 0%, transparent 60%),
    linear-gradient(180deg, #070c1a 0%, #050812 60%);
}

.sky__nebula {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.55;
  will-change: transform;
}

.sky__nebula--a {
  top: -28vmax;
  right: -16vmax;
  width: 62vmax;
  height: 62vmax;
  background: radial-gradient(circle, rgba(34, 211, 238, 0.45), transparent 62%);
  animation: wa-drift 26s ease-in-out infinite alternate;
}

.sky__nebula--b {
  top: 30vh;
  left: -24vmax;
  width: 58vmax;
  height: 58vmax;
  background: radial-gradient(circle, rgba(124, 92, 255, 0.42), transparent 62%);
  animation: wa-drift 32s ease-in-out infinite alternate-reverse;
}

.sky__nebula--c {
  bottom: -30vmax;
  right: 10vw;
  width: 50vmax;
  height: 50vmax;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.22), transparent 62%);
  animation: wa-drift 38s ease-in-out infinite alternate;
}

.sky__stars {
  position: absolute;
  inset: -10% 0;
  background-image:
    radial-gradient(1px 1px at 12% 22%, rgba(255, 255, 255, 0.75) 50%, transparent 51%),
    radial-gradient(1.4px 1.4px at 34% 9%, rgba(186, 230, 253, 0.65) 50%, transparent 51%),
    radial-gradient(1px 1px at 58% 28%, rgba(255, 255, 255, 0.5) 50%, transparent 51%),
    radial-gradient(1.2px 1.2px at 79% 14%, rgba(196, 181, 253, 0.65) 50%, transparent 51%),
    radial-gradient(1px 1px at 45% 61%, rgba(255, 255, 255, 0.45) 50%, transparent 51%),
    radial-gradient(1.3px 1.3px at 88% 72%, rgba(186, 230, 253, 0.55) 50%, transparent 51%),
    radial-gradient(1px 1px at 6% 80%, rgba(255, 255, 255, 0.5) 50%, transparent 51%);
  background-size: 520px 440px;
  transform: translateY(calc(var(--sy, 0) * -0.04px));
  animation: wa-twinkle 7s ease-in-out infinite;
}

.sky__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(148, 163, 184, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(148, 163, 184, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(80% 60% at 50% 0%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(80% 60% at 50% 0%, #000 30%, transparent 75%);
}

@keyframes wa-drift {
  to {
    transform: translate3d(-6vw, 6vh, 0) scale(1.12);
  }
}

@keyframes wa-twinkle {
  50% {
    opacity: 0.45;
  }
}

/* ----------------------------------------------------------------- layout */
.wa {
  max-width: 76rem;
  margin: 0 auto;
  padding: 3rem 1.25rem 5rem;
}

.wa-kicker {
  margin: 0;
  color: var(--wa-neon);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.wa-head {
  max-width: 44rem;
  margin: 0 auto 2.25rem;
  text-align: center;
}

.wa-head h2,
.wa-end h2 {
  margin: 0.6rem 0 0;
  font-family: Lalezar, Vazirmatn, sans-serif;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 400;
  line-height: 1.4;
}

.wa-section {
  padding: 4.5rem 0 0;
}

/* ------------------------------------------------------------------- hero */
.wa-hero {
  display: grid;
  gap: 3rem;
  align-items: center;
  padding-top: 1.5rem;
}

@media (min-width: 960px) {
  .wa-hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: 3.5rem;
  }
}

.wa-title {
  margin: 0.9rem 0 0;
  font-family: Lalezar, Vazirmatn, sans-serif;
  font-size: clamp(2.3rem, 5.2vw, 3.7rem);
  font-weight: 400;
  line-height: 1.3;
}

.wa-lead {
  max-width: 36rem;
  margin: 1.1rem 0 0;
  color: var(--wa-muted);
  font-size: 1rem;
  line-height: 2.1;
}

.wa-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.wa-ghost {
  display: inline-flex;
  align-items: center;
  min-height: 3.1rem;
  padding: 0 1.5rem;
  border: 1px solid rgba(34, 211, 238, 0.4);
  border-radius: 0.85rem;
  color: var(--wa-neon-soft);
  text-decoration: none;
  transition: background 0.3s, box-shadow 0.3s;
}

.wa-ghost:hover {
  background: rgba(34, 211, 238, 0.1);
  box-shadow: 0 0 28px -6px rgba(34, 211, 238, 0.6);
}

.wa-meta {
  margin: 0.9rem 0 0;
  color: var(--wa-faint);
  font-size: 0.82rem;
}

.wa-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.wa-trust li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.8rem;
  border: 1px solid var(--wa-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--wa-muted);
  font-size: 0.8rem;
}

.wa-trust li::before {
  content: "";
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--wa-green);
  box-shadow: 0 0 10px var(--wa-green);
}

/* ------------------------------------------------- the drawn desktop */
.wa-screen {
  position: relative;
  perspective: 1400px;
}

.wa-screen__frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 18px;
  overflow: hidden;
  background: #0b0f1d;
  box-shadow:
    0 0 0 8px rgba(13, 19, 36, 0.95),
    0 0 0 9px rgba(148, 163, 184, 0.2),
    0 50px 120px -40px rgba(34, 211, 238, 0.5),
    0 30px 80px -30px rgba(124, 92, 255, 0.45);
  transform: rotateY(9deg) rotateX(3deg);
  transform-style: preserve-3d;
  animation: wa-float 9s ease-in-out infinite;
}

.wa-screen__stand {
  width: 26%;
  height: 22px;
  margin: 14px auto 0;
  border-radius: 0 0 14px 14px;
  background: linear-gradient(180deg, rgba(30, 41, 59, 0.9), rgba(15, 23, 42, 0.4));
  filter: blur(0.3px);
}

@keyframes wa-float {
  50% {
    transform: rotateY(6deg) rotateX(1deg) translateY(-8px);
  }
}

/* The game behind everything. */
.wa-game {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #1a1446 0%, #3b1d5e 36%, #a8476f 60%, #f29c6b 72%, #24183a 72.5%);
}

.wa-game__sun {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 22%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe2a8 0%, #ffb36b 55%, rgba(255, 140, 90, 0) 72%);
  transform: translate(-50%, -50%);
  filter: blur(0.5px);
}

.wa-game__hill {
  position: absolute;
  inset: auto 0 0;
}

.wa-game__hill--far {
  height: 42%;
  background: #2b1d48;
  clip-path: polygon(0 55%, 12% 30%, 24% 48%, 38% 18%, 52% 42%, 66% 22%, 80% 46%, 92% 28%, 100% 40%, 100% 100%, 0 100%);
}

.wa-game__hill--near {
  height: 30%;
  background: linear-gradient(180deg, #160f2c, #0c0819);
  clip-path: polygon(0 40%, 18% 62%, 34% 30%, 50% 58%, 64% 36%, 82% 64%, 100% 34%, 100% 100%, 0 100%);
}

.wa-game__cross {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(#fff, #fff) center / 2px 100% no-repeat,
    linear-gradient(#fff, #fff) center / 100% 2px no-repeat;
  opacity: 0.75;
}

.wa-game__hud {
  position: absolute;
  left: 4%;
  bottom: 6%;
  display: flex;
  gap: 5px;
}

.wa-game__hud span {
  width: 34px;
  height: 7px;
  border-radius: 4px;
  background: linear-gradient(90deg, #f43f5e, #fb7185);
  box-shadow: 0 0 10px rgba(244, 63, 94, 0.6);
}

.wa-game__hud span:last-child {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: none;
}

/* The app's pieces on the screen. Sizes are in % of the frame so the whole
   picture scales as one. */
.wa-viewers {
  position: absolute;
  top: 4%;
  left: 3%;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(8, 12, 24, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: clamp(9px, 1.2vw, 12px);
  backdrop-filter: blur(6px);
}

.wa-viewers i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: wa-pulse 1.6s ease-in-out infinite;
}

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

.wa-chat {
  position: absolute;
  top: 6%;
  right: 3%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 42%;
}

.wa-msg {
  display: grid;
  gap: 1px;
  padding: 6px 10px;
  border-radius: 14px 14px 14px 4px;
  background: rgba(28, 36, 56, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  color: #f1f5f9;
  font-size: clamp(9px, 1.15vw, 12.5px);
  line-height: 1.6;
  box-shadow: 0 6px 18px -8px rgba(0, 0, 0, 0.6);
}

.wa-msg b {
  color: var(--wa-neon-soft);
  font-size: 0.85em;
  direction: ltr;
  text-align: right;
}

.wa-msg--sub {
  border-color: rgba(251, 191, 36, 0.45);
}

.wa-msg--sub b {
  color: var(--wa-amber);
}

.wa-alert {
  position: absolute;
  top: 5%;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 44%;
  padding: 7px 11px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(251, 191, 36, 0.95), rgba(245, 158, 11, 0.92));
  color: #1c1305;
  font-size: clamp(9px, 1.1vw, 12px);
  line-height: 1.5;
  box-shadow: 0 14px 30px -12px rgba(245, 158, 11, 0.8);
  transform: translate(-50%, 0);
}

.wa-alert b {
  display: block;
  font-weight: 900;
}

.wa-alert__icon {
  font-size: 1.4em;
}

.wa-donate {
  position: absolute;
  left: 4%;
  bottom: 17%;
  display: grid;
  gap: 2px;
  padding: 8px 14px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(124, 92, 255, 0.95), rgba(34, 211, 238, 0.9));
  color: #04101c;
  font-size: clamp(9px, 1.1vw, 12px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25), 0 18px 40px -14px rgba(124, 92, 255, 0.9);
}

.wa-donate__amount {
  font-size: 1.35em;
  font-weight: 900;
}

/* The scene plays in steps (app.js adds the classes). Without the script,
   or with reduced motion, everything simply stands there. */
.wa-screen.is-live .wa-msg,
.wa-screen.is-live .wa-alert,
.wa-screen.is-live .wa-donate {
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.wa-screen.is-live .wa-msg {
  transform: translateY(12px) scale(0.96);
}

.wa-screen.is-live .wa-alert {
  transform: translate(-50%, -130%);
}

.wa-screen.is-live .wa-donate {
  transform: translateY(16px) scale(0.9);
}

.wa-screen.is-live .is-in {
  opacity: 1;
}

.wa-screen.is-live .wa-msg.is-in,
.wa-screen.is-live .wa-donate.is-in {
  transform: none;
}

.wa-screen.is-live .wa-alert.is-in {
  transform: translate(-50%, 0);
}

/* ------------------------------------------------------------- the cards */
.wa-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 720px) {
  .wa-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .wa-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wa-card--wide {
    grid-column: span 2;
  }
}

.wa-card {
  position: relative;
  isolation: isolate;
  padding: 1.6rem;
  border: 1px solid var(--wa-line);
  border-radius: 1.3rem;
  background: var(--wa-card);
  box-shadow: 0 30px 60px -40px rgba(0, 0, 0, 0.9);
  transition: transform 0.25s ease, border-color 0.3s;
  transform-style: preserve-3d;
}

.wa-card h3 {
  margin: 1rem 0 0.5rem;
  font-family: Lalezar, Vazirmatn, sans-serif;
  font-size: 1.25rem;
  font-weight: 400;
}

.wa-card p {
  margin: 0;
  color: var(--wa-muted);
  font-size: 0.9rem;
  line-height: 2;
}

.wa-card__icon {
  --tone: var(--wa-neon);
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 0.9rem;
  background:
    radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--tone) 45%, transparent), transparent 70%),
    rgba(255, 255, 255, 0.04);
  border: 1px solid color-mix(in srgb, var(--tone) 35%, transparent);
  color: var(--tone);
  box-shadow: 0 0 24px -8px var(--tone);
}

.wa-card__icon svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.wa-card--alert .wa-card__icon {
  --tone: var(--wa-rose);
}

.wa-card--hot .wa-card__icon {
  --tone: var(--wa-amber);
}

.wa-card--mc .wa-card__icon {
  --tone: var(--wa-green);
}

.wa-card--violet .wa-card__icon {
  --tone: #a78bfa;
}

.wa-card kbd {
  display: inline-block;
  padding: 0 0.4rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  border-bottom-width: 2px;
  border-radius: 0.35rem;
  background: rgba(255, 255, 255, 0.05);
  color: var(--wa-text);
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.78rem;
  direction: ltr;
}

/* Little pictures inside two of the cards. */
.wa-bubbles {
  position: absolute;
  top: 1.4rem;
  left: 1.4rem;
  display: grid;
  gap: 6px;
  width: 38%;
  opacity: 0.9;
}

.wa-bubbles span {
  height: 18px;
  border-radius: 10px 10px 10px 3px;
  background: rgba(103, 232, 249, 0.14);
  border: 1px solid rgba(103, 232, 249, 0.25);
  animation: wa-bubble 4.5s ease-in-out infinite;
}

.wa-bubbles span:nth-child(2) {
  width: 78%;
  animation-delay: 0.5s;
}

.wa-bubbles span:nth-child(3) {
  width: 58%;
  animation-delay: 1s;
}

@keyframes wa-bubble {
  0%,
  100% {
    opacity: 0.35;
    transform: translateY(4px);
  }
  30%,
  70% {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 719px) {
  .wa-bubbles {
    display: none;
  }
}

.wa-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 1rem;
}

.wa-swatches i {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
}

.wa-swatches i:nth-child(1) { background: #1c1c1e; }
.wa-swatches i:nth-child(2) { background: #f2f2f7; }
.wa-swatches i:nth-child(3) { background: #1e3a8a; }
.wa-swatches i:nth-child(4) { background: #6d28d9; }
.wa-swatches i:nth-child(5) { background: #047857; }
.wa-swatches i:nth-child(6) { background: linear-gradient(135deg, #f97316, #db2777); }
.wa-swatches i:nth-child(7) { background: #f5ecd7; }
.wa-swatches i:nth-child(8) { background: #bae6fd; }

/* The main site's card hover: a light that follows the pointer, and a
   coloured edge where it is. app.js sets --mx / --my. */
.glow-card::before,
.glow-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.glow-card::before {
  z-index: -1;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%), rgba(34, 211, 238, 0.2), transparent 62%);
}

.glow-card::after {
  padding: 1px;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 50%), rgba(103, 232, 249, 0.95), rgba(124, 92, 255, 0.6) 40%, transparent 70%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}

.glow-card:hover::before,
.glow-card:hover::after {
  opacity: 1;
}

/* ------------------------------------------------------------- the steps */
.wa-steps {
  position: relative;
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

@media (min-width: 860px) {
  .wa-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .wa-steps::before {
    content: "";
    position: absolute;
    top: 2.6rem;
    right: 16%;
    left: 16%;
    height: 2px;
    background: linear-gradient(90deg, rgba(124, 92, 255, 0.1), rgba(34, 211, 238, 0.6), rgba(124, 92, 255, 0.1));
  }
}

.wa-steps li {
  position: relative;
  padding: 1.5rem;
  border: 1px solid var(--wa-line);
  border-radius: 1.2rem;
  background: var(--wa-card);
  text-align: center;
}

.wa-steps__n {
  position: relative;
  display: inline-grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background: var(--wa-grad);
  color: #041019;
  font-weight: 900;
  box-shadow: 0 0 0 6px rgba(5, 8, 18, 0.9), 0 0 26px -4px rgba(34, 211, 238, 0.8);
}

.wa-steps h3 {
  margin: 0.9rem 0 0.4rem;
  font-family: Lalezar, Vazirmatn, sans-serif;
  font-size: 1.2rem;
  font-weight: 400;
}

.wa-steps p {
  margin: 0;
  color: var(--wa-muted);
  font-size: 0.88rem;
  line-height: 2;
}

/* ------------------------------------------------------- before install */
.wa-before__grid {
  display: grid;
  gap: 1.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .wa-before__grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  }
}

.wa-checks {
  display: grid;
  gap: 0.8rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.wa-checks li {
  position: relative;
  padding: 1rem 3.2rem 1rem 1.2rem;
  border: 1px solid var(--wa-line);
  border-radius: 1rem;
  background: var(--wa-card);
  color: var(--wa-muted);
  font-size: 0.9rem;
  line-height: 2;
}

.wa-checks li::before {
  content: "✓";
  position: absolute;
  top: 1rem;
  right: 1.1rem;
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: rgba(52, 211, 153, 0.15);
  color: var(--wa-green);
  font-size: 0.8rem;
  font-weight: 900;
}

.wa-checks strong {
  color: var(--wa-text);
}

/* SmartScreen, drawn. Latin text, left to right, like the real one. */
.wa-smart {
  direction: ltr;
  max-width: 24rem;
  margin-inline: auto;
  overflow: hidden;
  border-radius: 0.6rem;
  background: #1360b8;
  color: #fff;
  font-family: "Segoe UI", system-ui, sans-serif;
  text-align: left;
  box-shadow: 0 40px 80px -30px rgba(19, 96, 184, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.wa-smart__bar {
  padding: 1.1rem 1.2rem 0.4rem;
  font-size: 1.15rem;
  font-weight: 600;
}

.wa-smart__body {
  padding: 0 1.2rem 1rem;
  font-size: 0.8rem;
  line-height: 1.6;
}

.wa-smart__body p {
  margin: 0 0 0.6rem;
  opacity: 0.9;
}

.wa-smart__link,
.wa-smart__run {
  position: relative;
  display: inline-block;
}

.wa-smart__link {
  text-decoration: underline;
}

.wa-smart__link::after,
.wa-smart__run::after {
  content: "";
  position: absolute;
  inset: -6px -8px;
  border: 2px solid #fde047;
  border-radius: 8px;
  animation: wa-ring 2.4s ease-in-out infinite;
}

.wa-smart__run::after {
  animation-delay: 1.2s;
}

@keyframes wa-ring {
  0%,
  100% {
    opacity: 0;
    transform: scale(0.9);
  }
  25%,
  50% {
    opacity: 1;
    transform: none;
  }
}

.wa-smart__foot {
  display: flex;
  justify-content: flex-end;
  gap: 0.6rem;
  padding: 0.8rem 1.2rem;
  background: rgba(0, 0, 0, 0.2);
  font-size: 0.8rem;
}

.wa-smart__foot span {
  padding: 0.35rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.6);
}

/* --------------------------------------------------------------- the end */
.wa-end {
  position: relative;
  margin-top: 5rem;
  padding: 3rem 1.5rem;
  border-radius: 1.6rem;
  text-align: center;
  background:
    radial-gradient(80% 120% at 50% 0%, rgba(34, 211, 238, 0.18), transparent 60%),
    radial-gradient(60% 100% at 100% 100%, rgba(124, 92, 255, 0.22), transparent 60%),
    rgba(10, 16, 32, 0.85);
  border: 1px solid rgba(103, 232, 249, 0.25);
  box-shadow: 0 40px 100px -50px rgba(34, 211, 238, 0.6);
}

.wa-end p {
  margin: 0.8rem auto 0;
  max-width: 32rem;
  color: var(--wa-muted);
  line-height: 2;
}

.wa-end .wa-cta {
  justify-content: center;
}

/* ------------------------------------------- scroll entrances (reymit's AOS) */
html.aos-ready [data-aos] {
  opacity: 0;
  transition-property: opacity, transform;
  transition-duration: 0.6s;
  transition-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1);
}

html.aos-ready [data-aos="fade-up"] { transform: translate3d(0, 40px, 0); }
html.aos-ready [data-aos="fade-left"] { transform: translate3d(60px, 0, 0); }
html.aos-ready [data-aos="zoom-in"] { transform: scale(0.85); }
html.aos-ready [data-aos="zoom-in-up"] { transform: translate3d(0, 80px, 0) scale(0.7); }

html.aos-ready [data-aos].aos-animate {
  opacity: 1;
  transform: none;
}

/* A card someone is pointing at keeps its tilt instead of the entrance's. */
html.aos-ready .wa-card[data-aos].aos-animate.is-tilting {
  transition-duration: 0.12s;
}

@media (prefers-reduced-motion: reduce) {
  .sky__nebula,
  .sky__stars,
  .wa-screen__frame,
  .wa-bubbles span,
  .wa-viewers i,
  .wa-smart__link::after,
  .wa-smart__run::after {
    animation: none !important;
  }

  html.aos-ready [data-aos] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* -------------------------------------------------------------- phones */
@media (max-width: 640px) {
  .wa {
    padding-top: 2rem;
  }

  .wa-hero__text {
    text-align: center;
  }

  .wa-lead {
    margin-inline: auto;
  }

  .wa-cta,
  .wa-trust {
    justify-content: center;
  }

  .wa-screen__frame {
    transform: none;
    animation: none;
  }

  .wa-chat {
    width: 52%;
  }

  .wa-alert {
    width: 58%;
  }

  .wa-checks li {
    padding-right: 2.9rem;
  }
}

/* The page links under the bar on phones, as on the other pages. */
.navstrip {
  display: none;
}

@media (max-width: 767px) {
  .navstrip {
    display: flex;
    gap: 1.25rem;
    padding: 0.75rem 1.25rem;
    overflow-x: auto;
    scrollbar-width: none;
    border-bottom: 1px solid var(--wa-line);
    font-size: 0.8125rem;
    white-space: nowrap;
  }

  .navstrip::-webkit-scrollbar {
    display: none;
  }

  .navstrip a {
    color: var(--wa-muted);
    text-decoration: none;
  }

  .navstrip [aria-current] {
    color: var(--wa-neon);
  }
}
