:root {
  --sky: #f0f9ff;
  --sky-strong: #7dd3fc;
  --ink: #0c4a6e;
  --muted: #416b83;
  --panel: rgba(255, 252, 244, 0.9);
  --panel-solid: #fff7ea;
  --blue: #1d7ed0;
  --blue-dark: #11519c;
  --pink: #c987b9;
  --purple: #8b5b91;
  --yellow: #ffd253;
  --orange: #f97316;
  --green: #68c842;
  --line: rgba(12, 74, 110, 0.16);
  --shadow-soft: 0 24px 70px rgba(14, 116, 144, 0.22);
  --shadow-clay: 0 10px 0 rgba(91, 63, 88, 0.22), 0 28px 60px rgba(14, 116, 144, 0.2);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --font-display: "Fredoka", "Arial Rounded MT Bold", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
}

[data-theme="dark"] {
  --sky: #0b2442;
  --sky-strong: #0ea5e9;
  --ink: #e6f7ff;
  --muted: #b8d4e6;
  --panel: rgba(13, 43, 75, 0.9);
  --panel-solid: #123456;
  --blue: #38bdf8;
  --blue-dark: #7dd3fc;
  --pink: #c084fc;
  --purple: #53346d;
  --yellow: #fde047;
  --orange: #fb923c;
  --green: #86efac;
  --line: rgba(230, 247, 255, 0.18);
  --shadow-soft: 0 24px 70px rgba(0, 0, 0, 0.4);
  --shadow-clay: 0 10px 0 rgba(0, 0, 0, 0.24), 0 28px 60px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at top left, rgba(125, 211, 252, 0.6), transparent 34rem),
    linear-gradient(180deg, var(--sky) 0%, #dff5ff 46%, #fff1d8 100%);
  overflow-x: hidden;
}

[data-theme="dark"] body,
body[data-theme="dark"] {
  background:
    radial-gradient(circle at top left, rgba(14, 165, 233, 0.25), transparent 34rem),
    linear-gradient(180deg, #071a31 0%, #102a45 52%, #251a37 100%);
}

body.modal-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.ua-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 16px;
  border-radius: 999px;
  color: #082f49;
  background: #ffffff;
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.ua-skip-link:focus {
  transform: translateY(0);
}

.ua-sky {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  overflow: hidden;
}

.ua-cloud,
.ua-orb,
.ua-screw {
  position: absolute;
  display: block;
}

.ua-cloud {
  width: 156px;
  height: 54px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  filter: blur(0.2px);
  box-shadow:
    35px -18px 0 rgba(255, 255, 255, 0.58),
    76px 0 0 rgba(255, 255, 255, 0.5);
}

.ua-cloud--one {
  top: 16%;
  left: -48px;
  animation: drift 24s linear infinite;
}

.ua-cloud--two {
  top: 28%;
  right: -96px;
  transform: scale(0.72);
  animation: driftReverse 30s linear infinite;
}

.ua-orb {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.28;
}

.ua-orb--green {
  right: -80px;
  bottom: 8%;
  background: var(--green);
}

.ua-orb--blue {
  left: -110px;
  bottom: 20%;
  background: var(--sky-strong);
}

.ua-screw {
  width: 38px;
  height: 92px;
  border-radius: 18px;
  background:
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.5) 0 8px, rgba(70, 90, 110, 0.16) 8px 15px),
    linear-gradient(90deg, #e5e7eb, #ffffff 42%, #9ca3af);
  box-shadow: 0 12px 26px rgba(12, 74, 110, 0.18);
}

.ua-screw::before {
  content: "";
  position: absolute;
  top: -13px;
  left: -8px;
  width: 54px;
  height: 28px;
  border-radius: 50%;
  background: radial-gradient(circle, #f8fafc 0 32%, #9ca3af 33% 40%, #f8fafc 41% 100%);
}

.ua-screw::after {
  content: "";
  position: absolute;
  top: -3px;
  left: 7px;
  width: 24px;
  height: 5px;
  border-radius: 999px;
  background: #64748b;
  transform: rotate(35deg);
}

.ua-screw--one {
  top: 18%;
  right: 11%;
  transform: rotate(22deg);
  animation: bob 6s ease-in-out infinite;
}

.ua-screw--two {
  left: 6%;
  bottom: 20%;
  transform: rotate(-18deg) scale(0.75);
  animation: bob 7s ease-in-out infinite 0.6s;
}

.ua-screw--three {
  right: 18%;
  bottom: 6%;
  transform: rotate(46deg) scale(0.55);
  animation: bob 8s ease-in-out infinite 1s;
}

.ua-navbar {
  position: sticky;
  top: 14px;
  z-index: 50;
  padding: 0 18px;
  transition: transform 220ms ease, filter 220ms ease;
}

.ua-navbar.is-scrolled {
  filter: drop-shadow(0 18px 28px rgba(12, 74, 110, 0.16));
}

.ua-nav-shell {
  width: min(1180px, 100%);
  min-height: 72px;
  margin: 0 auto;
  padding: 10px 12px 10px 16px;
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  border: 2px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(22px);
  box-shadow: 0 8px 0 rgba(91, 63, 88, 0.12), 0 24px 50px rgba(14, 116, 144, 0.14);
}

[data-theme="dark"] .ua-nav-shell {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(13, 43, 75, 0.78);
}

.ua-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  font-family: var(--font-display);
  font-weight: 700;
}

.ua-brand-mark,
.ua-node-icon,
.ua-modal-icon {
  display: inline-grid;
  place-items: center;
  color: #ffffff;
  background: linear-gradient(180deg, var(--yellow), var(--orange));
  box-shadow: inset 0 -4px 0 rgba(107, 48, 8, 0.18), 0 8px 18px rgba(249, 115, 22, 0.28);
}

.ua-brand-mark {
  width: 44px;
  height: 44px;
  border: 3px solid #ffffff;
  border-radius: 16px;
  overflow: hidden;
}

.ua-brand-mark svg {
  width: 24px;
  height: 24px;
  stroke-width: 3;
}

.ua-brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ua-brand-text {
  white-space: nowrap;
}

.ua-scroll-meter {
  height: 14px;
  overflow: hidden;
  border: 2px solid rgba(12, 74, 110, 0.12);
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.09);
}

.ua-scroll-meter span {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green), var(--yellow));
  transition: width 120ms linear;
}

.ua-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ua-nav-links a {
  min-height: 44px;
  padding: 12px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 800;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.ua-nav-links a:hover,
.ua-nav-links a:focus-visible {
  color: var(--ink);
  background: rgba(14, 165, 233, 0.12);
  outline: none;
  box-shadow: inset 0 -3px 0 rgba(14, 116, 144, 0.14);
}

.ua-nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ua-theme-toggle,
.ua-menu-button,
.ua-button,
.ua-store-button {
  min-height: 44px;
  border: 0;
  cursor: pointer;
}

.ua-theme-toggle {
  width: 48px;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(14, 165, 233, 0.12);
  display: grid;
  place-items: center;
  transition: background-color 180ms ease, transform 180ms ease;
}

.ua-theme-toggle:hover,
.ua-theme-toggle:focus-visible {
  background: rgba(14, 165, 233, 0.22);
  outline: 3px solid rgba(14, 165, 233, 0.26);
}

.ua-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 12px 20px;
  color: #ffffff;
  font-weight: 900;
  background: linear-gradient(180deg, #ffbd32, var(--orange));
  box-shadow: inset 0 -5px 0 rgba(126, 53, 4, 0.22), 0 12px 22px rgba(249, 115, 22, 0.28);
  transition: filter 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ua-button:hover,
.ua-button:focus-visible {
  filter: saturate(1.12);
  outline: none;
  box-shadow: inset 0 -5px 0 rgba(126, 53, 4, 0.22), 0 16px 28px rgba(249, 115, 22, 0.36);
}

.ua-button:active,
.ua-store-button:active {
  transform: translateY(2px);
}

.ua-button--small {
  padding-inline: 18px;
}

.ua-button--wide {
  width: 100%;
}

.ua-menu-button {
  display: none;
  width: 48px;
  border-radius: 50%;
  background: var(--panel-solid);
  place-items: center;
}

.ua-menu-button span {
  width: 22px;
  height: 3px;
  margin: 2px 0;
  display: block;
  border-radius: 999px;
  background: var(--ink);
}

.ua-hero,
.ua-features,
.ua-screens,
.ua-download {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.ua-hero {
  min-height: calc(100svh - 90px);
  padding: 92px 0 64px;
  display: grid;
  align-items: center;
}

.ua-hero-stage {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(28px, 4vw, 58px);
  align-items: center;
}

.ua-hero-stage::before {
  content: "";
  position: absolute;
  inset: auto 5% -42px 7%;
  height: 118px;
  border-radius: 50%;
  background: rgba(44, 130, 76, 0.22);
  filter: blur(20px);
  z-index: -1;
}

.ua-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  padding: 10px 14px;
  border: 2px solid rgba(255, 255, 255, 0.7);
  border-radius: 999px;
  color: var(--blue-dark);
  background: rgba(255, 255, 255, 0.64);
  font-weight: 900;
  box-shadow: 0 8px 20px rgba(14, 116, 144, 0.12);
}

[data-theme="dark"] .ua-kicker {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
}

.ua-kicker svg {
  width: 18px;
  height: 18px;
  stroke-width: 3;
}

.ua-hero-copy h1,
.ua-section-heading h2,
.ua-download-copy h2,
.ua-modal-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.ua-hero-copy h1 {
  max-width: 640px;
  font-size: clamp(2.9rem, 6.2vw, 5.8rem);
  color: var(--ink);
  text-shadow: 0 5px 0 rgba(255, 255, 255, 0.4);
}

[data-theme="dark"] .ua-hero-copy h1 {
  text-shadow: 0 5px 0 rgba(0, 0, 0, 0.2);
}

.ua-lead {
  max-width: 600px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.65;
  font-weight: 700;
}

.ua-hero-actions,
.ua-download-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.ua-store-button {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 174px;
  padding: 13px 18px;
  border-radius: 22px;
  color: #ffffff;
  text-align: left;
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.18), 0 16px 28px rgba(12, 74, 110, 0.18);
  transition: filter 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ua-store-button svg {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.ua-store-button small,
.ua-store-button span {
  display: block;
}

.ua-store-button span {
  font-family: var(--font-display);
  font-size: 1.05rem;
  line-height: 1;
}

.ua-store-button small {
  margin-bottom: 3px;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  opacity: 0.82;
}

.ua-store-button--apple {
  background: linear-gradient(180deg, #36506c, #152238);
}

.ua-store-button--play {
  background: linear-gradient(180deg, #3fd05e, #168834);
}

.ua-store-button:hover,
.ua-store-button:focus-visible {
  filter: brightness(1.06) saturate(1.08);
  outline: 3px solid rgba(14, 165, 233, 0.28);
  box-shadow: inset 0 -5px 0 rgba(0, 0, 0, 0.18), 0 20px 34px rgba(12, 74, 110, 0.24);
}

.ua-hero-visual {
  position: relative;
  min-height: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding-bottom: 34px;
}

.ua-hero-phones {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(16px, 3vw, 30px);
  width: min(640px, 100%);
}

.ua-phone-card {
  position: relative;
  z-index: 2;
  width: min(285px, 25vw);
  padding: 14px;
  border: 7px solid #fff8ed;
  border-radius: 42px;
  background: linear-gradient(180deg, #fbf3ea, #ffe3bb);
  box-shadow: var(--shadow-clay);
}

.ua-phone-card--primary {
  transform: rotate(3deg);
}

.ua-phone-card--secondary {
  width: min(258px, 23vw);
  transform: rotate(-5deg) translateY(48px);
}

.ua-phone-top {
  position: absolute;
  top: 13px;
  left: 50%;
  width: 82px;
  height: 20px;
  border-radius: 999px;
  background: rgba(10, 27, 48, 0.16);
  transform: translateX(-50%);
  z-index: 1;
}

.ua-phone-card img {
  width: 100%;
  height: auto;
  border-radius: 28px;
}

.ua-hero-visual::before,
.ua-hero-visual::after {
  content: "";
  position: absolute;
  z-index: 0;
  border-radius: 999px;
}

.ua-hero-visual::before {
  right: 0;
  bottom: 24px;
  width: 390px;
  height: 188px;
  background: linear-gradient(180deg, #6fe070, #36a856);
  box-shadow: inset 0 12px 0 rgba(255, 255, 255, 0.28);
  transform: rotate(-4deg);
}

.ua-hero-visual::after {
  left: 4%;
  bottom: 0;
  width: 280px;
  height: 136px;
  background: linear-gradient(180deg, #71d4ff, #38a0d8);
  opacity: 0.5;
}

.ua-features {
  padding: 76px 0 54px;
}

.ua-section-heading {
  max-width: 760px;
  margin: 0 auto 42px;
  text-align: center;
}

.ua-section-heading h2,
.ua-download-copy h2 {
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.ua-section-heading p:not(.ua-kicker),
.ua-download-copy p {
  margin: 18px auto 0;
  max-width: 680px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
  font-weight: 700;
}

.ua-adventure-map {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px clamp(28px, 8vw, 92px);
  padding: 48px 0;
}

.ua-adventure-map::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 30px;
  bottom: 30px;
  width: 16px;
  border-radius: 999px;
  background:
    repeating-linear-gradient(180deg, transparent 0 20px, rgba(255, 255, 255, 0.42) 20px 32px),
    linear-gradient(180deg, var(--pink), var(--blue), var(--green));
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.52), 0 18px 32px rgba(14, 116, 144, 0.14);
  transform: translateX(-50%);
}

.ua-map-node {
  position: relative;
  min-height: 254px;
  padding: 32px;
  border: 3px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-xl);
  background: var(--panel);
  box-shadow: var(--shadow-soft);
}

.ua-map-node--one,
.ua-map-node--three {
  margin-right: 42px;
}

.ua-map-node--two,
.ua-map-node--four {
  margin-left: 42px;
  transform: translateY(72px);
}

.ua-map-node::after {
  content: "";
  position: absolute;
  top: 46%;
  width: 54px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--yellow), var(--orange));
  box-shadow: inset 0 -3px 0 rgba(126, 53, 4, 0.14);
}

.ua-map-node--one::after,
.ua-map-node--three::after {
  right: -66px;
}

.ua-map-node--two::after,
.ua-map-node--four::after {
  left: -66px;
}

.ua-node-index {
  position: absolute;
  top: 22px;
  right: 26px;
  color: rgba(12, 74, 110, 0.22);
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
}

[data-theme="dark"] .ua-node-index {
  color: rgba(230, 247, 255, 0.18);
}

.ua-node-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 22px;
  border: 4px solid #ffffff;
  border-radius: 24px;
}

.ua-node-icon svg {
  width: 30px;
  height: 30px;
  stroke-width: 3;
}

.ua-map-node h3 {
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3vw, 2.15rem);
  line-height: 1;
}

.ua-map-node p {
  margin: 0;
  color: var(--muted);
  font-size: 1.03rem;
  line-height: 1.65;
  font-weight: 700;
}

.ua-screens {
  padding: 70px 0 46px;
}

.ua-screen-wall {
  position: relative;
  min-height: 680px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: end;
  gap: clamp(16px, 3vw, 34px);
  padding: 42px clamp(10px, 3vw, 28px);
  border: 4px solid rgba(255, 255, 255, 0.76);
  border-radius: 48px;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 210, 83, 0.6), transparent 13rem),
    radial-gradient(circle at 88% 24%, rgba(201, 135, 185, 0.45), transparent 12rem),
    linear-gradient(180deg, rgba(213, 243, 255, 0.78), rgba(255, 247, 234, 0.88));
  box-shadow: var(--shadow-clay);
  overflow: hidden;
}

[data-theme="dark"] .ua-screen-wall {
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 210, 83, 0.24), transparent 13rem),
    radial-gradient(circle at 88% 24%, rgba(201, 135, 185, 0.24), transparent 12rem),
    linear-gradient(180deg, rgba(13, 43, 75, 0.9), rgba(28, 36, 64, 0.92));
}

.ua-screen-wall::before {
  content: "";
  position: absolute;
  inset: 28px;
  border: 3px dashed rgba(255, 255, 255, 0.72);
  border-radius: 38px;
  pointer-events: none;
}

.ua-screen-shot {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 12px 12px 18px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 16px 0 rgba(91, 63, 88, 0.13), 0 28px 50px rgba(14, 116, 144, 0.2);
  transform-origin: center bottom;
}

[data-theme="dark"] .ua-screen-shot {
  background: rgba(255, 255, 255, 0.12);
}

.ua-screen-shot--left {
  transform: rotate(-7deg) translateY(34px);
}

.ua-screen-shot--center {
  transform: translateY(-18px);
}

.ua-screen-shot--right {
  transform: rotate(7deg) translateY(34px);
}

.ua-screen-shot img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.ua-screen-shot figcaption {
  margin-top: 12px;
  color: var(--blue-dark);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  text-align: center;
}

.ua-download {
  padding: 64px 0 96px;
}

.ua-download-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 420px) auto;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 5vw, 58px);
  border: 4px solid rgba(255, 255, 255, 0.76);
  border-radius: 42px;
  background:
    radial-gradient(circle at top right, rgba(255, 210, 83, 0.72), transparent 20rem),
    linear-gradient(135deg, rgba(255, 247, 234, 0.96), rgba(212, 241, 255, 0.94));
  box-shadow: var(--shadow-clay);
}

[data-theme="dark"] .ua-download-card {
  background:
    radial-gradient(circle at top right, rgba(249, 115, 22, 0.28), transparent 20rem),
    linear-gradient(135deg, rgba(13, 43, 75, 0.96), rgba(22, 78, 99, 0.88));
}

.ua-download-card::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -86px;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(104, 200, 66, 0.26);
}

.ua-download-actions {
  position: relative;
  z-index: 1;
  flex-direction: column;
  margin: 0;
}

.ua-download-banner {
  position: relative;
  z-index: 1;
  margin: 0;
  width: min(420px, 34vw);
  padding: 12px;
  border: 5px solid rgba(255, 255, 255, 0.82);
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 14px 0 rgba(91, 63, 88, 0.12), 0 24px 42px rgba(14, 116, 144, 0.18);
  transform: rotate(-2deg);
}

.ua-download-banner img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.ua-footer {
  padding: 34px 18px 40px;
  color: #ffffff;
  background: linear-gradient(180deg, #16699c, #0c4a6e);
}

[data-theme="dark"] .ua-footer {
  background: linear-gradient(180deg, #071a31, #061423);
}

.ua-footer-shell {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
}

.ua-brand--footer .ua-brand-mark {
  border-color: rgba(255, 255, 255, 0.75);
}

.ua-footer p {
  margin: 12px 0 0;
  max-width: 360px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.ua-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.ua-footer-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 800;
  transition: background-color 180ms ease, color 180ms ease;
}

.ua-footer-links a:hover,
.ua-footer-links a:focus-visible {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  outline: none;
}

.ua-copyright {
  width: min(1180px, 100%);
  margin: 28px auto 0;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  text-align: center;
}

.ua-modal[hidden] {
  display: none;
}

.ua-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
}

.ua-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 47, 73, 0.54);
  backdrop-filter: blur(8px);
}

.ua-modal-panel {
  position: relative;
  width: min(430px, 100%);
  padding: 34px;
  border: 4px solid rgba(255, 255, 255, 0.78);
  border-radius: 34px;
  color: var(--ink);
  background: var(--panel-solid);
  box-shadow: var(--shadow-clay);
  text-align: center;
}

.ua-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  background: rgba(14, 165, 233, 0.14);
  cursor: pointer;
}

.ua-modal-icon {
  width: 76px;
  height: 76px;
  margin: 0 auto 18px;
  border: 4px solid #ffffff;
  border-radius: 28px;
}

.ua-modal-panel h2 {
  font-size: 2.7rem;
}

.ua-modal-panel p {
  margin: 14px 0 24px;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.6;
}

@keyframes drift {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(100vw + 220px));
  }
}

@keyframes driftReverse {
  0% {
    transform: translateX(0) scale(0.72);
  }
  100% {
    transform: translateX(calc(-100vw - 220px)) scale(0.72);
  }
}

@keyframes bob {
  0%,
  100% {
    translate: 0 0;
  }
  50% {
    translate: 0 -16px;
  }
}

@media (max-width: 1040px) {
  .ua-nav-shell {
    grid-template-columns: auto minmax(80px, 1fr) auto;
  }

  .ua-nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 18px;
    left: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    border: 2px solid rgba(255, 255, 255, 0.72);
    border-radius: 28px;
    background: var(--panel-solid);
    box-shadow: var(--shadow-soft);
  }

  .ua-nav-links.is-open {
    display: flex;
  }

  .ua-nav-links a {
    text-align: center;
  }

  .ua-menu-button {
    display: grid;
  }

  .ua-hero-stage {
    grid-template-columns: 1fr;
  }

  .ua-hero-copy {
    text-align: center;
  }

  .ua-hero-copy .ua-kicker,
  .ua-hero-actions {
    justify-content: center;
  }

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

  .ua-hero-visual {
    justify-content: center;
    padding-bottom: 28px;
  }

  .ua-hero-phones {
    justify-content: center;
    width: min(660px, 100%);
  }

  .ua-phone-card {
    width: min(270px, 42vw);
  }

  .ua-phone-card--secondary {
    width: min(246px, 38vw);
    transform: rotate(-5deg) translateY(40px);
  }

  .ua-download-card {
    grid-template-columns: 1fr;
  }

  .ua-download-banner {
    width: min(460px, 100%);
    justify-self: center;
  }

  .ua-download-actions {
    flex-direction: row;
    justify-content: center;
  }
}

@media (max-width: 760px) {
  .ua-navbar {
    top: 8px;
    padding-inline: 10px;
  }

  .ua-nav-shell {
    min-height: 64px;
    grid-template-columns: auto 1fr auto;
    gap: 10px;
  }

  .ua-brand-text,
  .ua-scroll-meter,
  .ua-button--small {
    display: none;
  }

  .ua-hero,
  .ua-features,
  .ua-screens,
  .ua-download {
    width: min(100% - 24px, 1180px);
  }

  .ua-hero {
    min-height: auto;
    padding-top: 54px;
  }

  .ua-hero-copy h1 {
    font-size: clamp(2.45rem, 12.5vw, 3.9rem);
  }

  .ua-hero-actions,
  .ua-download-actions {
    width: 100%;
    flex-direction: column;
  }

  .ua-store-button {
    width: 100%;
    justify-content: center;
  }

  .ua-hero-visual {
    padding-bottom: 22px;
  }

  .ua-hero-phones {
    gap: 8px;
  }

  .ua-phone-card {
    width: min(190px, 48%);
    padding: 9px;
    border-width: 5px;
    border-radius: 30px;
  }

  .ua-phone-card--secondary {
    width: min(178px, 45%);
    transform: rotate(-4deg) translateY(30px);
  }

  .ua-phone-card img {
    border-radius: 20px;
  }

  .ua-phone-top {
    top: 9px;
    width: 56px;
    height: 13px;
  }

  .ua-hero-visual::before {
    right: 50%;
    bottom: 16px;
    width: 330px;
    height: 156px;
    transform: translateX(50%) rotate(-4deg);
  }

  .ua-adventure-map {
    grid-template-columns: 1fr;
    padding: 20px 0 0 24px;
  }

  .ua-adventure-map::before {
    left: 0;
    transform: none;
  }

  .ua-map-node,
  .ua-map-node--one,
  .ua-map-node--two,
  .ua-map-node--three,
  .ua-map-node--four {
    margin: 0;
    transform: none;
  }

  .ua-map-node::after {
    left: -29px;
    right: auto;
    top: 38px;
    width: 38px;
    height: 12px;
  }

  .ua-screen-wall {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: 30px 18px;
  }

  .ua-screen-wall::before {
    inset: 16px;
    border-radius: 30px;
  }

  .ua-screen-shot,
  .ua-screen-shot--left,
  .ua-screen-shot--center,
  .ua-screen-shot--right {
    width: min(320px, 100%);
    margin-inline: auto;
    transform: none;
  }

  .ua-download-card {
    grid-template-columns: 1fr;
  }

  .ua-download-banner {
    width: min(360px, 100%);
    margin: 0 auto;
    transform: rotate(0deg);
  }

  .ua-footer-shell {
    flex-direction: column;
  }

  .ua-footer-links {
    justify-content: flex-start;
  }
}

@media (max-width: 420px) {
  .ua-map-node {
    padding: 26px 22px;
  }

  .ua-node-index {
    top: 18px;
    right: 18px;
    font-size: 2.4rem;
  }

  .ua-modal-panel {
    padding: 30px 22px;
  }
}

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