/*
 * United Factions 0.4
 * Rich campaign and support presentation layered over the stable 0.3 foundations.
 */

:root {
  --uf-v4-bg: #071014;
  --uf-v4-bg-soft: #0c171c;
  --uf-v4-panel: #111e23;
  --uf-v4-panel-2: #16262c;
  --uf-v4-line: rgba(126, 211, 230, 0.17);
  --uf-v4-line-strong: rgba(126, 211, 230, 0.38);
  --uf-v4-copy: #f3f7f6;
  --uf-v4-muted: #9babb0;
  --uf-v4-cyan: #3fd0ee;
  --uf-v4-cyan-deep: #1488a4;
  --uf-v4-violet: #9b82f3;
  --uf-v4-gold: #e6b950;
  --uf-v4-crimson: #dc5360;
  --uf-v4-green: #67d18a;
  --uf-v4-paper: #e7e4da;
  --uf-v4-paper-dark: #cac7bd;
  --uf-v4-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
  --uf-v4-radius: 4px;
}

[hidden] {
  display: none !important;
}

html {
  scroll-padding-top: 82px;
}

body {
  overflow-x: hidden;
  background: var(--uf-v4-bg);
  color: var(--uf-v4-copy);
}

body::selection {
  background: var(--uf-v4-cyan);
  color: var(--uf-v4-bg);
}

h1,
h2,
h3 {
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.uf-shell {
  width: min(calc(100% - 48px), 1240px);
}

.uf-header {
  height: 82px;
  border-bottom: 1px solid rgba(98, 213, 236, 0.17);
  background: linear-gradient(180deg, rgba(3, 10, 13, 0.92), rgba(3, 10, 13, 0.72));
  box-shadow: none;
  transition: background-color 180ms ease, box-shadow 180ms ease;
}

.uf-header.is-scrolled {
  background: rgba(3, 10, 13, 0.96);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.34);
}

.uf-brand__logo {
  width: 216px;
}

.uf-nav {
  gap: 16px;
}

.uf-nav__list {
  gap: 20px;
}

.uf-nav__list a {
  position: relative;
  padding: 30px 0 27px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.uf-nav__list a::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  left: 0;
  height: 2px;
  background: var(--uf-v4-cyan);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 160ms ease;
}

.uf-nav__list a:hover::after,
.uf-nav__list a:focus-visible::after {
  transform: scaleX(1);
}

.uf-language {
  position: relative;
}

.uf-language__toggle {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 6px;
  padding: 0 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.035);
  color: var(--uf-v4-copy);
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
}

.uf-language__toggle svg {
  width: 14px;
}

.uf-language__menu {
  position: absolute;
  z-index: 20;
  top: calc(100% + 13px);
  right: 0;
  width: 220px;
  padding: 10px;
  border: 1px solid var(--uf-v4-line-strong);
  background: #091419;
  box-shadow: var(--uf-v4-shadow);
}

.uf-language__menu > span {
  display: block;
  padding: 6px 8px 9px;
  color: var(--uf-v4-muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.uf-language__menu button {
  display: flex;
  width: 100%;
  min-height: 38px;
  align-items: center;
  justify-content: space-between;
  padding: 0 9px;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: transparent;
  color: var(--uf-v4-copy);
  cursor: pointer;
  font-size: 12px;
}

.uf-language__menu button[aria-pressed="true"] {
  background: rgba(63, 208, 238, 0.1);
  color: var(--uf-v4-cyan);
}

.uf-language__menu button:disabled {
  color: rgba(255, 255, 255, 0.35);
  cursor: not-allowed;
}

.uf-language__menu small {
  color: inherit;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.uf-button {
  min-height: 48px;
  border-radius: 2px;
  font-size: 12px;
  letter-spacing: 0.02em;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.2);
}

.uf-button--large {
  min-height: 55px;
  padding-inline: 22px;
}

.uf-button--cyan {
  border-color: #63dff5;
  background: linear-gradient(180deg, #21aeca, #147c97);
  color: #fff;
}

.uf-button--cyan:hover,
.uf-button--cyan.is-confirmed {
  background: linear-gradient(180deg, #3fd0ee, #168da9);
}

.uf-button--outline {
  border-color: var(--uf-v4-line-strong);
  background: rgba(255, 255, 255, 0.035);
  color: var(--uf-v4-copy);
  box-shadow: none;
}

.uf-button--light {
  border-color: #fff;
  background: #fff;
  color: var(--uf-v4-bg);
}

.uf-v4-hero {
  min-height: 910px;
  align-items: stretch;
  border: 0;
  background: #061015;
}

.uf-v4-hero .uf-hero__image {
  background-image: url("../images/uf-real-hero-2020.jpg");
  background-position: center 42%;
  filter: saturate(0.96) contrast(1.08);
  transform: translate3d(var(--uf-parallax-x, 0), var(--uf-parallax-y, 0), 0) scale(1.09);
  transition: transform 420ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.uf-hero__depth {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 38%, transparent 0 14%, rgba(2, 8, 11, 0.18) 48%, rgba(2, 8, 11, 0.74) 100%),
    linear-gradient(90deg, rgba(2, 8, 11, 0.9) 0%, rgba(2, 8, 11, 0.52) 45%, rgba(2, 8, 11, 0.14) 75%);
}

.uf-v4-hero .uf-hero__shade {
  background:
    linear-gradient(180deg, rgba(3, 10, 13, 0.2) 0, transparent 32%, rgba(3, 10, 13, 0.2) 62%, #071014 100%),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.018) 0 1px, transparent 1px 72px);
}

.uf-v4-hero .uf-hero__vines {
  z-index: 2;
  height: 570px;
  background-position: top center;
  opacity: 0.58;
  transform: translate3d(var(--uf-parallax-vines-x, 0), var(--uf-parallax-vines-y, 0), 0) scale(1.02);
}

.uf-hero__glow {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: radial-gradient(circle at var(--uf-glow-x, 62%) var(--uf-glow-y, 38%), rgba(63, 208, 238, 0.16), transparent 24%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.uf-v4-hero .uf-particles span {
  width: 3px;
  height: 3px;
  animation-duration: 8s;
  background: rgba(95, 225, 249, 0.85);
}

.uf-v4-hero .uf-particles span:nth-child(9) { top: 44%; left: 6%; animation-delay: -6s; }
.uf-v4-hero .uf-particles span:nth-child(10) { top: 15%; left: 58%; width: 2px; height: 2px; animation-delay: -3.8s; }
.uf-v4-hero .uf-particles span:nth-child(11) { top: 67%; right: 34%; background: rgba(230, 185, 80, 0.9); animation-delay: -2.2s; }
.uf-v4-hero .uf-particles span:nth-child(12) { top: 39%; right: 5%; animation-delay: -7s; }

.uf-v4-hero .uf-hero__content {
  z-index: 5;
  display: grid;
  width: min(calc(100% - 48px), 1240px);
  max-width: none;
  align-items: center;
  gap: clamp(36px, 6vw, 90px);
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.55fr);
  padding: 154px 0 162px;
  text-align: left;
}

.uf-hero__primary {
  min-width: 0;
}

.uf-v4-hero .uf-eyebrow {
  margin-bottom: 18px;
  color: var(--uf-v4-cyan);
}

.uf-v4-hero .uf-hero__logo {
  width: min(440px, 68vw);
  margin-bottom: 22px;
}

.uf-v4-hero h1 {
  max-width: 820px;
  font-size: clamp(48px, 6.4vw, 84px);
  letter-spacing: -0.035em;
  line-height: 0.97;
  text-shadow: 0 8px 32px rgba(0, 0, 0, 0.62);
}

.uf-v4-hero p {
  max-width: 690px;
  margin-top: 25px;
  color: rgba(255, 255, 255, 0.78);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: clamp(17px, 1.7vw, 21px);
  font-weight: 500;
  line-height: 1.55;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.65);
}

.uf-v4-hero .uf-hero__actions {
  justify-content: flex-start;
  margin-top: 31px;
}

.uf-hero__microcopy {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.uf-hero__secondary-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 17px;
}

.uf-hero__secondary-links a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  color: rgba(255, 255, 255, 0.82);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
}

.uf-hero__secondary-links a:hover {
  border-color: var(--uf-v4-cyan);
  color: var(--uf-v4-cyan);
}

.uf-hero__secondary-links svg {
  width: 14px;
}

.uf-hero__microcopy span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.uf-hero__microcopy svg {
  width: 14px;
  color: var(--uf-v4-cyan);
}

.uf-hero-mission {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid var(--uf-v4-line-strong);
  border-top: 4px solid var(--uf-v4-cyan);
  background:
    linear-gradient(140deg, rgba(63, 208, 238, 0.09), transparent 42%),
    rgba(5, 15, 20, 0.83);
  box-shadow: 14px 16px 0 rgba(0, 0, 0, 0.2), var(--uf-v4-shadow);
  backdrop-filter: blur(10px);
}

.uf-hero-mission::after {
  position: absolute;
  top: -42px;
  right: -42px;
  width: 108px;
  height: 108px;
  border: 14px solid rgba(63, 208, 238, 0.06);
  content: "";
  transform: rotate(45deg);
}

.uf-hero-mission header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--uf-v4-muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.uf-hero-mission header strong {
  color: var(--uf-v4-cyan);
  font-size: 11px;
}

.uf-hero-mission__icon {
  display: grid;
  width: 54px;
  height: 54px;
  margin: 25px 0 18px;
  place-items: center;
  border: 1px solid var(--uf-v4-line-strong);
  background: rgba(63, 208, 238, 0.1);
  color: var(--uf-v4-cyan);
  box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.2);
}

.uf-hero-mission__icon svg {
  width: 26px;
}

.uf-hero-mission small {
  color: var(--uf-v4-cyan);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.uf-hero-mission h2 {
  margin-top: 6px;
  font-size: 27px;
}

.uf-hero-mission p {
  margin-top: 14px;
  font-size: 13px;
  line-height: 1.55;
  text-shadow: none;
}

.uf-hero-mission__progress {
  height: 5px;
  margin: 24px 0 18px;
  background: rgba(255, 255, 255, 0.09);
}

.uf-hero-mission__progress span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--uf-v4-cyan-deep), var(--uf-v4-cyan));
  box-shadow: 0 0 15px rgba(63, 208, 238, 0.45);
}

.uf-hero-mission > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--uf-v4-copy);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.uf-hero-mission > a svg {
  width: 16px;
  color: var(--uf-v4-cyan);
}

.uf-hero__signal {
  position: absolute;
  z-index: 6;
  right: 0;
  bottom: 0;
  left: 0;
  border-top: 1px solid var(--uf-v4-line);
  background: rgba(4, 12, 16, 0.92);
}

.uf-hero__signal .uf-shell {
  display: grid;
  min-height: 92px;
  align-items: center;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.uf-hero__signal .uf-shell > div {
  position: relative;
  display: grid;
  gap: 2px;
  padding: 0 28px;
  border-left: 1px solid rgba(255, 255, 255, 0.09);
}

.uf-hero__signal .uf-shell > div:first-child {
  padding-left: 0;
  border-left: 0;
}

.uf-hero__signal small {
  color: var(--uf-v4-muted);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.uf-hero__signal strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.uf-hero__signal strong span {
  color: var(--uf-v4-muted);
  font-weight: 500;
}

.uf-status-orb {
  position: absolute;
  top: 13px;
  right: 20px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
}

.uf-status-orb.is-online {
  background: var(--uf-v4-green);
  box-shadow: 0 0 0 5px rgba(103, 209, 138, 0.12), 0 0 16px rgba(103, 209, 138, 0.5);
}

.uf-status-orb.is-offline {
  background: var(--uf-v4-crimson);
}

.uf-route {
  padding: 86px 0 92px;
  border-bottom: 1px solid var(--uf-v4-line);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px) 0 0 / 56px 56px,
    var(--uf-v4-bg-soft);
}

.uf-route__heading {
  display: grid;
  align-items: end;
  gap: 28px;
  grid-template-columns: 220px minmax(0, 780px);
  margin-bottom: 34px;
}

.uf-route__heading .uf-kicker {
  margin: 0;
}

.uf-route__heading h2 {
  font-size: clamp(35px, 4.3vw, 54px);
}

.uf-route__grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.uf-route-card {
  position: relative;
  display: flex;
  min-height: 300px;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--uf-v4-line);
  background: rgba(255, 255, 255, 0.025);
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.uf-route-card:hover {
  border-color: var(--uf-v4-line-strong);
  background: rgba(255, 255, 255, 0.045);
  transform: translateY(-3px);
}

.uf-route-card--primary {
  border-color: rgba(63, 208, 238, 0.36);
  background: linear-gradient(145deg, rgba(63, 208, 238, 0.13), rgba(255, 255, 255, 0.025));
}

.uf-route-card > svg {
  width: 28px;
  height: 28px;
  margin: 46px 0 22px;
  color: var(--uf-v4-cyan);
}

.uf-route-card__step {
  position: absolute;
  top: 18px;
  right: 20px;
  color: rgba(255, 255, 255, 0.18);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 30px;
  font-weight: 900;
}

.uf-route-card h3 {
  font-size: 22px;
}

.uf-route-card p {
  margin: 12px 0 22px;
  color: var(--uf-v4-muted);
  font-size: 13px;
  line-height: 1.6;
}

.uf-route-card a,
.uf-route-card button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  margin-top: auto;
  background: transparent;
  color: var(--uf-v4-cyan);
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
  text-transform: uppercase;
}

.uf-route-card a svg,
.uf-route-card button svg {
  width: 15px;
}

.uf-section {
  padding-block: 112px;
}

.uf-section-heading {
  align-items: end;
  margin-bottom: 46px;
}

.uf-section-heading > p {
  max-width: 510px;
  color: var(--uf-v4-muted);
  font-size: 14px;
  line-height: 1.65;
}

.uf-section-heading h2 {
  max-width: 720px;
  font-size: clamp(38px, 4.6vw, 58px);
}

.uf-kicker {
  color: var(--uf-v4-cyan);
  font-size: 10px;
  letter-spacing: 0.1em;
}

.uf-campaign-section {
  overflow: hidden;
  border-bottom: 1px solid var(--uf-v4-line);
  background:
    radial-gradient(circle at 78% 20%, rgba(63, 208, 238, 0.08), transparent 22%),
    linear-gradient(180deg, #081217, #0b151a);
}

.uf-campaign-section__mist {
  position: absolute;
  top: 0;
  right: -10%;
  width: 60%;
  height: 620px;
  background: url("../images/uf-vines-overlay.webp") top right / 780px auto no-repeat;
  opacity: 0.09;
  pointer-events: none;
}

.uf-section-heading--campaign {
  display: grid;
  align-items: end;
  gap: 50px;
  grid-template-columns: minmax(0, 1fr) 420px;
}

.uf-campaign {
  display: grid;
  min-height: 570px;
  border: 1px solid var(--uf-v4-line-strong);
  background: #071115;
  box-shadow: 16px 18px 0 rgba(0, 0, 0, 0.19);
  grid-template-columns: minmax(0, 1.65fr) minmax(310px, 0.75fr);
}

.uf-campaign-map {
  min-width: 0;
  border-right: 1px solid var(--uf-v4-line);
}

.uf-campaign-map__topline {
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  border-bottom: 1px solid var(--uf-v4-line);
  color: var(--uf-v4-muted);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.uf-campaign-map__topline > span {
  display: flex;
  align-items: center;
  gap: 8px;
}

.uf-campaign-map__topline svg {
  width: 15px;
  color: var(--uf-v4-cyan);
}

.uf-campaign-map__topline strong {
  color: var(--uf-v4-copy);
}

.uf-campaign-map__canvas {
  position: relative;
  min-height: 510px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5, 14, 18, 0.38), rgba(5, 14, 18, 0.82)),
    linear-gradient(90deg, rgba(63, 208, 238, 0.04) 1px, transparent 1px) 0 0 / 36px 36px,
    linear-gradient(rgba(63, 208, 238, 0.04) 1px, transparent 1px) 0 0 / 36px 36px,
    url("../images/uf-real-waterfront-2020.jpg") center / cover;
}

.uf-campaign-map__canvas::after {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 58%, rgba(23, 119, 92, 0.22), transparent 22%),
    radial-gradient(circle at 76% 32%, rgba(23, 95, 119, 0.25), transparent 22%);
  content: "";
  pointer-events: none;
}

.uf-campaign-path {
  position: absolute;
  z-index: 2;
  inset: 12% 4% 13%;
  width: 92%;
  height: 75%;
  overflow: visible;
}

.uf-campaign-path path {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.uf-campaign-path__shadow {
  stroke: rgba(0, 0, 0, 0.7);
  stroke-width: 11;
}

.uf-campaign-path__base {
  stroke: rgba(255, 255, 255, 0.28);
  stroke-dasharray: 4 10;
  stroke-linecap: round;
  stroke-width: 3;
}

.uf-campaign-path__done {
  stroke: var(--uf-v4-cyan);
  stroke-linecap: round;
  stroke-width: 4;
  filter: drop-shadow(0 0 8px rgba(63, 208, 238, 0.65));
}

.uf-quest-node {
  position: absolute;
  z-index: 4;
  top: var(--node-y);
  left: var(--node-x);
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--uf-v4-copy);
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.uf-quest-node > span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.48);
  background: #152127;
  box-shadow: 5px 6px 0 rgba(0, 0, 0, 0.35);
  transform: rotate(45deg);
  transition: border-color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.uf-quest-node > span svg {
  width: 21px;
  transform: rotate(-45deg);
}

.uf-quest-node > small {
  position: absolute;
  top: -18px;
  right: -11px;
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: #071115;
  color: var(--uf-v4-muted);
  font-size: 8px;
  font-weight: 900;
}

.uf-quest-node > strong {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  width: 130px;
  padding: 5px 7px;
  background: rgba(4, 12, 16, 0.72);
  font-size: 9px;
  letter-spacing: 0.02em;
  line-height: 1.3;
  text-align: center;
  transform: translateX(-50%);
}

.uf-quest-node.is-completed > span {
  border-color: var(--uf-v4-green);
  background: #17472f;
}

.uf-quest-node.is-active > span,
.uf-quest-node.is-selected > span {
  border-color: var(--uf-v4-cyan);
  background: #0e6074;
  box-shadow: 0 0 0 7px rgba(63, 208, 238, 0.12), 5px 6px 0 rgba(0, 0, 0, 0.35);
  transform: rotate(45deg) scale(1.08);
}

.uf-quest-node.is-available > span {
  border-color: var(--uf-v4-gold);
}

.uf-quest-node.is-locked {
  color: rgba(255, 255, 255, 0.42);
}

.uf-quest-node.is-locked > span {
  border-style: dashed;
  background: #10171a;
}

.uf-campaign-map__legend {
  position: absolute;
  z-index: 4;
  right: 16px;
  bottom: 15px;
  display: flex;
  gap: 14px;
  padding: 8px 10px;
  background: rgba(4, 12, 16, 0.74);
  color: var(--uf-v4-muted);
  font-size: 8px;
  font-weight: 800;
  text-transform: uppercase;
}

.uf-campaign-map__legend span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.uf-campaign-map__legend i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.uf-campaign-map__legend .is-completed { background: var(--uf-v4-green); }
.uf-campaign-map__legend .is-active { background: var(--uf-v4-cyan); }
.uf-campaign-map__legend .is-locked { background: #687378; }

.uf-quest-details {
  position: relative;
  min-width: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 47px, rgba(255, 255, 255, 0.022) 47px 48px),
    #101b20;
}

.uf-quest-panel {
  padding: 34px 30px;
}

.uf-quest-panel__status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.uf-quest-panel__status span {
  padding: 5px 8px;
  border: 1px solid currentColor;
  color: var(--uf-v4-cyan);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.uf-quest-panel__status span.is-completed { color: var(--uf-v4-green); }
.uf-quest-panel__status span.is-available { color: var(--uf-v4-gold); }
.uf-quest-panel__status span.is-locked { color: #78858a; }

.uf-quest-panel__status small {
  color: var(--uf-v4-muted);
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.uf-quest-panel__icon {
  display: grid;
  width: 58px;
  height: 58px;
  margin: 35px 0 23px;
  place-items: center;
  border: 1px solid var(--uf-v4-line-strong);
  background: rgba(63, 208, 238, 0.08);
  color: var(--uf-v4-cyan);
}

.uf-quest-panel h3 {
  font-size: 31px;
}

.uf-quest-panel__block {
  margin-top: 25px;
}

.uf-quest-panel__block small {
  color: var(--uf-v4-cyan);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.uf-quest-panel__block p {
  margin-top: 7px;
  color: var(--uf-v4-muted);
  font-size: 13px;
  line-height: 1.55;
}

.uf-quest-panel .uf-button {
  width: 100%;
  margin-top: 30px;
}

.uf-tech {
  margin-top: 84px;
}

.uf-tech__header {
  display: grid;
  align-items: end;
  gap: 46px;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  margin-bottom: 34px;
}

.uf-tech__header h3 {
  font-size: clamp(32px, 3.8vw, 46px);
}

.uf-tech__header p {
  color: var(--uf-v4-muted);
  font-size: 13px;
  line-height: 1.65;
}

.uf-tech__grid {
  position: relative;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.uf-tech__grid::before {
  position: absolute;
  z-index: 0;
  top: 50%;
  right: 3%;
  left: 3%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--uf-v4-line-strong) 10% 90%, transparent);
  content: "";
}

.uf-tech-node {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 205px;
  align-items: center;
  flex-direction: column;
  padding: 18px 13px;
  border: 1px solid var(--uf-v4-line);
  background: #101b20;
  color: var(--uf-v4-copy);
  cursor: pointer;
  text-align: center;
  transition: border-color 160ms ease, transform 160ms ease;
}

.uf-tech-node:hover,
.uf-tech-node.is-inspecting {
  z-index: 4;
  border-color: var(--uf-v4-cyan);
  transform: translateY(-4px);
}

.uf-tech-node__branch {
  align-self: stretch;
  padding-bottom: 11px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--uf-v4-muted);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.uf-tech-node__icon {
  display: grid;
  width: 45px;
  height: 45px;
  margin: 21px 0 13px;
  place-items: center;
  border: 1px solid var(--uf-v4-line-strong);
  background: rgba(63, 208, 238, 0.08);
  color: var(--uf-v4-cyan);
  transform: rotate(45deg);
}

.uf-tech-node__icon svg {
  width: 20px;
  transform: rotate(-45deg);
}

.uf-tech-node strong {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 13px;
}

.uf-tech-node > small {
  margin-top: 5px;
  color: var(--uf-v4-muted);
  font-size: 8px;
  font-weight: 900;
  text-transform: uppercase;
}

.uf-tech-node.is-unlocked .uf-tech-node__icon {
  border-color: var(--uf-v4-green);
  background: rgba(103, 209, 138, 0.13);
  color: var(--uf-v4-green);
}

.uf-tech-node.is-available .uf-tech-node__icon {
  border-color: var(--uf-v4-gold);
  background: rgba(230, 185, 80, 0.1);
  color: var(--uf-v4-gold);
}

.uf-tech-node.is-locked {
  color: rgba(255, 255, 255, 0.5);
}

.uf-tech-node__tooltip {
  position: absolute;
  z-index: 8;
  right: 7px;
  bottom: calc(100% + 12px);
  left: 7px;
  display: none;
  padding: 14px;
  border: 1px solid var(--uf-v4-line-strong);
  background: #061014;
  box-shadow: var(--uf-v4-shadow);
  color: var(--uf-v4-muted);
  font-size: 11px;
  line-height: 1.5;
  text-align: left;
}

.uf-tech-node__tooltip b {
  display: block;
  margin-bottom: 4px;
  color: var(--uf-v4-copy);
}

.uf-tech-node.is-inspecting .uf-tech-node__tooltip {
  display: block;
}

.uf-factions-section {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px) 0 0 / 48px 48px,
    #172226;
}

.uf-factions-section .uf-faction {
  min-height: 390px;
  padding: 28px;
  background:
    linear-gradient(145deg, rgba(63, 208, 238, 0.035), transparent 38%),
    #202c30;
}

.uf-factions-section .uf-faction h3 {
  font-size: 24px;
}

.uf-faction__style {
  display: flex;
  align-items: center;
  gap: 8px;
}

.uf-faction__style svg {
  width: 15px;
  color: var(--uf-v4-cyan);
}

.uf-guide-hub {
  overflow: hidden;
  background: var(--uf-v4-paper);
  color: #152126;
}

.uf-guide-hub__vines {
  position: absolute;
  top: -20px;
  right: -140px;
  width: 650px;
  height: 330px;
  background: url("../images/uf-vines-overlay.webp") top right / 760px auto no-repeat;
  opacity: 0.19;
  pointer-events: none;
}

.uf-guide-hub__layout {
  display: grid;
  align-items: start;
  gap: 78px;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.25fr);
}

.uf-guide-hub__intro {
  position: sticky;
  top: 120px;
}

.uf-guide-hub .uf-kicker {
  color: #147f97;
}

.uf-guide-hub h2 {
  font-size: clamp(40px, 4.8vw, 62px);
}

.uf-guide-hub__intro p {
  max-width: 480px;
  margin: 24px 0 30px;
  color: #586368;
}

.uf-guide-hub__tracks {
  border-top: 1px solid rgba(21, 33, 38, 0.18);
}

.uf-guide-track {
  display: grid;
  min-height: 140px;
  align-items: center;
  gap: 18px;
  grid-template-columns: 35px 52px minmax(0, 1fr) 22px;
  padding: 22px 15px;
  border-bottom: 1px solid rgba(21, 33, 38, 0.18);
  color: #152126;
  text-decoration: none;
  transition: background-color 160ms ease, padding-left 160ms ease;
}

.uf-guide-track:hover {
  padding-left: 23px;
  background: rgba(255, 255, 255, 0.38);
}

.uf-guide-track > span {
  color: #8a9292;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 15px;
  font-weight: 900;
}

.uf-guide-track > svg:first-of-type {
  width: 26px;
  color: #147f97;
}

.uf-guide-track > svg:last-of-type {
  width: 17px;
}

.uf-guide-track small {
  color: #147f97;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.uf-guide-track strong {
  display: block;
  margin-top: 3px;
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 20px;
}

.uf-guide-track p {
  margin-top: 5px;
  color: #697377;
  font-size: 12px;
}

.uf-map-section {
  background:
    radial-gradient(circle at 22% 30%, rgba(102, 197, 134, 0.16), transparent 22%),
    #0e392d;
}

.uf-map-section__grid {
  gap: 80px;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, 0.8fr);
}

.uf-map-preview {
  min-height: 500px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #315d4b;
  box-shadow: 16px 18px 0 rgba(0, 0, 0, 0.22);
}

.uf-map-preview__privacy {
  position: absolute;
  z-index: 3;
  right: 17px;
  bottom: 17px;
  left: 17px;
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 13px 15px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(5, 22, 17, 0.82);
  color: rgba(255, 255, 255, 0.78);
  font-size: 10px;
  font-weight: 800;
  backdrop-filter: blur(7px);
}

.uf-map-preview__privacy svg {
  width: 17px;
  color: #9df0bc;
}

.uf-map-section__content h2 {
  font-size: clamp(40px, 4.6vw, 58px);
}

.uf-map-section__content p {
  font-size: 15px;
  line-height: 1.65;
}

.uf-map-section__content ul {
  display: grid;
  gap: 11px;
  padding: 0;
  margin: 0 0 28px;
  list-style: none;
}

.uf-map-section__content li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.uf-map-section__content li svg {
  width: 15px;
  color: #9df0bc;
}

.uf-map-section__content li:last-child svg {
  color: #ff9aa3;
}

.uf-support {
  border-bottom: 1px solid var(--uf-v4-line);
  background:
    radial-gradient(circle at 84% 14%, rgba(155, 130, 243, 0.09), transparent 20%),
    radial-gradient(circle at 12% 40%, rgba(63, 208, 238, 0.07), transparent 18%),
    #081216;
}

.uf-section-heading--support {
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 1fr) 440px;
}

.uf-commerce-status {
  display: grid;
  margin-bottom: 40px;
  border: 1px solid var(--uf-v4-line);
  background: rgba(255, 255, 255, 0.02);
  grid-template-columns: repeat(3, 1fr);
}

.uf-commerce-status > div {
  display: grid;
  min-height: 112px;
  align-items: start;
  gap: 14px;
  grid-template-columns: 26px minmax(0, 1fr);
  padding: 23px;
  border-left: 1px solid var(--uf-v4-line);
}

.uf-commerce-status > div:first-child {
  border-left: 0;
}

.uf-commerce-status svg {
  width: 21px;
  color: var(--uf-v4-cyan);
}

.uf-commerce-status span {
  color: var(--uf-v4-muted);
  font-size: 11px;
  line-height: 1.5;
}

.uf-commerce-status strong {
  display: block;
  margin-bottom: 4px;
  color: var(--uf-v4-copy);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.uf-billing-toggle {
  display: inline-grid;
  gap: 4px;
  grid-template-columns: 1fr 1fr;
  padding: 4px;
  margin-bottom: 22px;
  background: #101d22;
}

.uf-commerce-lanes {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: -20px 0 30px;
}

.uf-commerce-lanes article {
  display: grid;
  min-height: 76px;
  align-items: center;
  gap: 12px;
  grid-template-columns: 22px 28px minmax(0, 1fr);
  padding: 14px;
  border: 1px solid var(--uf-v4-line);
  background: rgba(255, 255, 255, 0.018);
}

.uf-commerce-lanes article > span {
  color: rgba(255, 255, 255, 0.24);
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 14px;
  font-weight: 900;
}

.uf-commerce-lanes article > svg {
  width: 20px;
  color: var(--uf-v4-cyan);
}

.uf-commerce-lanes strong,
.uf-commerce-lanes small {
  display: block;
}

.uf-commerce-lanes strong {
  font-size: 10px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.uf-commerce-lanes small {
  margin-top: 3px;
  color: var(--uf-v4-muted);
  font-size: 8px;
}

.uf-billing-toggle button {
  min-width: 160px;
  padding: 10px 15px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--uf-v4-muted);
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  text-align: left;
}

.uf-billing-toggle button[aria-pressed="true"] {
  border-color: var(--uf-v4-line-strong);
  background: rgba(63, 208, 238, 0.09);
  color: var(--uf-v4-copy);
}

.uf-billing-toggle small {
  display: block;
  margin-top: 2px;
  color: inherit;
  font-size: 8px;
  font-weight: 500;
}

.uf-support-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.uf-support-card {
  position: relative;
  display: flex;
  min-height: 520px;
  flex-direction: column;
  padding: 26px 22px 22px;
  border: 1px solid var(--uf-v4-line);
  border-top: 4px solid var(--uf-v4-cyan);
  background:
    linear-gradient(145deg, rgba(63, 208, 238, 0.07), transparent 32%),
    #111d22;
  transition: border-color 160ms ease, transform 160ms ease;
}

.uf-support-card:hover {
  border-color: var(--uf-v4-line-strong);
  transform: translateY(-4px);
}

.uf-support-card--violet {
  border-top-color: var(--uf-v4-violet);
  background: linear-gradient(145deg, rgba(155, 130, 243, 0.1), transparent 34%), #111d22;
}

.uf-support-card--gold {
  border-top-color: var(--uf-v4-gold);
  background: linear-gradient(145deg, rgba(230, 185, 80, 0.1), transparent 34%), #111d22;
}

.uf-support-card--crimson {
  border-top-color: var(--uf-v4-crimson);
  background: linear-gradient(145deg, rgba(220, 83, 96, 0.1), transparent 34%), #111d22;
}

.uf-support-card.is-featured {
  border-color: rgba(155, 130, 243, 0.55);
  box-shadow: 0 0 42px rgba(155, 130, 243, 0.09);
}

.uf-support-card__recommended {
  position: absolute;
  top: 12px;
  right: 12px;
  padding: 5px 7px;
  background: rgba(155, 130, 243, 0.15);
  color: #c2b3ff;
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.uf-support-card__crest {
  display: grid;
  width: 48px;
  height: 54px;
  margin-bottom: 22px;
  place-items: center;
  clip-path: polygon(0 0, 100% 0, 100% 78%, 50% 100%, 0 78%);
  background: rgba(63, 208, 238, 0.14);
  color: var(--uf-v4-cyan);
}

.uf-support-card--violet .uf-support-card__crest { background: rgba(155, 130, 243, 0.14); color: var(--uf-v4-violet); }
.uf-support-card--gold .uf-support-card__crest { background: rgba(230, 185, 80, 0.14); color: var(--uf-v4-gold); }
.uf-support-card--crimson .uf-support-card__crest { background: rgba(220, 83, 96, 0.14); color: var(--uf-v4-crimson); }

.uf-support-card__crest svg {
  width: 23px;
}

.uf-support-card h3 {
  font-size: 23px;
}

.uf-support-card > p {
  min-height: 68px;
  margin-top: 12px;
  color: var(--uf-v4-muted);
  font-size: 12px;
  line-height: 1.55;
}

.uf-support-card__price {
  display: flex;
  align-items: end;
  gap: 7px;
  padding: 19px 0;
  margin-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.uf-support-card__price strong {
  font-family: "Roboto Slab", Georgia, serif;
  font-size: 34px;
  line-height: 1;
}

.uf-support-card__price span {
  color: var(--uf-v4-muted);
  font-size: 9px;
}

.uf-support-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 20px 0;
  list-style: none;
}

.uf-support-card li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #c3ccce;
  font-size: 10px;
  line-height: 1.45;
}

.uf-support-card li svg {
  width: 13px;
  flex: 0 0 13px;
  color: var(--uf-v4-green);
}

.uf-button--support {
  width: 100%;
  margin-top: auto;
  border-color: var(--uf-v4-line-strong);
  background: rgba(255, 255, 255, 0.04);
  color: var(--uf-v4-copy);
  box-shadow: none;
}

.uf-button--support.is-confirmed {
  border-color: var(--uf-v4-green);
  color: var(--uf-v4-green);
}

.uf-merch-heading {
  display: grid;
  align-items: end;
  gap: 46px;
  grid-template-columns: minmax(0, 1fr) 480px;
  padding-top: 100px;
  margin: 0 0 34px;
}

.uf-merch-heading h3 {
  font-size: clamp(32px, 3.8vw, 46px);
}

.uf-merch-heading > p {
  color: var(--uf-v4-muted);
  font-size: 13px;
  line-height: 1.6;
}

.uf-merch-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.uf-merch-card {
  overflow: hidden;
  border: 1px solid var(--uf-v4-line);
  background: #101b20;
}

.uf-merch-card__visual {
  position: relative;
  display: grid;
  min-height: 260px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(63, 208, 238, 0.16), transparent 28%),
    linear-gradient(145deg, #1b2b31, #0b1519);
}

.uf-merch-card__visual::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 32px 32px,
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px) 0 0 / 32px 32px;
  content: "";
}

.uf-merch-card__visual > span:last-child {
  position: absolute;
  right: 12px;
  bottom: 10px;
  color: rgba(255, 255, 255, 0.35);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.uf-merch-object {
  position: relative;
  z-index: 2;
  display: grid;
  width: 132px;
  height: 150px;
  place-items: center;
  background: #20272a;
  box-shadow: 15px 18px 30px rgba(0, 0, 0, 0.32);
}

.uf-merch-object img {
  width: 86%;
  height: auto;
}

.uf-merch-card__visual--mug .uf-merch-object {
  width: 120px;
  height: 132px;
  border-radius: 3px 3px 24px 24px;
}

.uf-merch-card__visual--mug .uf-merch-object::after {
  position: absolute;
  top: 25px;
  right: -38px;
  width: 43px;
  height: 66px;
  border: 12px solid #20272a;
  border-left: 0;
  border-radius: 0 30px 30px 0;
  content: "";
}

.uf-merch-card__visual--cap .uf-merch-object {
  width: 150px;
  height: 83px;
  border-radius: 80px 80px 8px 8px;
}

.uf-merch-card__visual--cap .uf-merch-object::after {
  position: absolute;
  right: -32px;
  bottom: -5px;
  width: 77px;
  height: 24px;
  border-radius: 0 100% 50% 0;
  background: #20272a;
  content: "";
  transform: rotate(8deg);
}

.uf-merch-card__visual--shirt .uf-merch-object {
  clip-path: polygon(22% 0, 40% 8%, 60% 8%, 78% 0, 100% 22%, 82% 36%, 78% 28%, 78% 100%, 22% 100%, 22% 28%, 18% 36%, 0 22%);
}

.uf-merch-card__visual--poster .uf-merch-object {
  width: 112px;
  height: 158px;
  border: 8px solid #35302b;
  background: url("../images/uf-legacy-castle-2012.webp") center / cover;
}

.uf-merch-card__visual--poster .uf-merch-object img {
  position: absolute;
  bottom: 12px;
}

.uf-merch-card__body {
  padding: 19px;
}

.uf-merch-card__body > div {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
}

.uf-merch-card__body h3 {
  font-size: 17px;
}

.uf-merch-card__body > div > strong {
  color: var(--uf-v4-cyan);
  font-size: 13px;
}

.uf-merch-card__body p {
  min-height: 54px;
  margin: 10px 0 15px;
  color: var(--uf-v4-muted);
  font-size: 10px;
  line-height: 1.5;
}

.uf-merch-card__body button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: 12px 0 0;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: transparent;
  color: var(--uf-v4-copy);
  cursor: pointer;
  font-size: 9px;
  font-weight: 900;
  text-transform: uppercase;
}

.uf-merch-card__body button svg {
  width: 14px;
}

.uf-merch-card__body button.is-confirmed {
  color: var(--uf-v4-green);
}

.uf-heritage {
  padding-block: 112px;
}

.uf-heritage__heading h2 {
  font-size: clamp(40px, 4.6vw, 58px);
}

.uf-heritage__gallery {
  height: 610px;
}

.uf-join {
  position: relative;
  padding-block: 90px;
  border-top: 2px solid var(--uf-v4-cyan);
  background: #671923;
}

.uf-join__backdrop {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 16, 20, 0.34), rgba(7, 16, 20, 0.78)),
    url("../images/uf-legacy-banner-2013.webp") center 42% / cover;
  opacity: 0.72;
}

.uf-join__inner {
  position: relative;
  z-index: 2;
}

.uf-join__inner > div:first-child {
  max-width: 660px;
}

.uf-join h2 {
  font-size: clamp(38px, 4.6vw, 58px);
}

.uf-join p {
  margin-top: 15px;
  color: rgba(255, 255, 255, 0.7);
}

.uf-footer {
  padding-block: 64px 34px;
}

.uf-footer__grid {
  display: grid;
  align-items: start;
  gap: 40px;
  grid-template-columns: minmax(240px, 1.4fr) repeat(3, minmax(120px, 0.55fr));
}

.uf-footer__brand p {
  max-width: 300px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.45);
  font-size: 12px;
}

.uf-brand--footer .uf-brand__logo {
  width: 220px;
}

.uf-footer__column {
  display: grid;
  gap: 10px;
}

.uf-footer__column strong {
  margin-bottom: 3px;
  color: var(--uf-v4-copy);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.uf-footer__column a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  text-decoration: none;
}

.uf-footer__column a:hover {
  color: var(--uf-v4-cyan);
}

.uf-footer__legal {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  grid-column: 1 / -1;
  padding-top: 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  color: rgba(255, 255, 255, 0.34);
  font-size: 9px;
  line-height: 1.5;
}

.uf-footer__legal p {
  max-width: 430px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 500ms ease, transform 500ms ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

.uf-content-page {
  background: var(--uf-v4-paper);
  color: #152126;
}

@media (max-width: 1120px) {
  .uf-nav__list {
    gap: 14px;
  }

  .uf-nav__list a {
    font-size: 10px;
  }

  .uf-v4-hero .uf-hero__content {
    grid-template-columns: minmax(0, 1fr) 310px;
  }

  .uf-route__grid,
  .uf-support-grid,
  .uf-merch-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .uf-tech__grid::before {
    display: none;
  }
}

@media (max-width: 980px) {
  .uf-header__inner {
    position: relative;
  }

  .uf-nav {
    top: 82px;
    align-items: stretch;
    gap: 12px;
    padding: 20px 24px 26px;
    border-top: 1px solid var(--uf-v4-line);
    border-bottom: 1px solid var(--uf-v4-line-strong);
    background: #071115;
    box-shadow: 0 22px 40px rgba(0, 0, 0, 0.42);
  }

  .uf-nav.is-open {
    display: grid;
  }

  .uf-nav__list a {
    padding: 13px 4px;
    font-size: 12px;
  }

  .uf-nav__list a::after {
    display: none;
  }

  .uf-language {
    width: max-content;
  }

  .uf-language__menu {
    right: auto;
    left: 0;
  }

  .uf-v4-hero {
    min-height: 1050px;
  }

  .uf-v4-hero .uf-hero__content {
    align-content: center;
    gap: 38px;
    grid-template-columns: 1fr;
    padding: 140px 0 170px;
  }

  .uf-hero-mission {
    max-width: 440px;
  }

  .uf-route__heading {
    grid-template-columns: 1fr;
  }

  .uf-section-heading--campaign,
  .uf-section-heading--support,
  .uf-tech__header,
  .uf-merch-heading {
    gap: 22px;
    grid-template-columns: 1fr;
  }

  .uf-campaign {
    grid-template-columns: 1fr;
  }

  .uf-campaign-map {
    border-right: 0;
    border-bottom: 1px solid var(--uf-v4-line);
  }

  .uf-quest-panel {
    min-height: 510px;
  }

  .uf-commerce-status {
    grid-template-columns: 1fr;
  }

  .uf-commerce-status > div {
    min-height: auto;
    border-top: 1px solid var(--uf-v4-line);
    border-left: 0;
  }

  .uf-commerce-status > div:first-child {
    border-top: 0;
  }

  .uf-guide-hub__layout {
    gap: 52px;
    grid-template-columns: 1fr;
  }

  .uf-guide-hub__intro {
    position: static;
  }

  .uf-map-section__grid {
    gap: 54px;
    grid-template-columns: 1fr;
  }

  .uf-footer__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .uf-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 760px) {
  .uf-shell {
    width: min(calc(100% - 30px), 1240px);
  }

  .uf-header {
    height: 72px;
  }

  .uf-brand__logo {
    width: 176px;
  }

  .uf-nav {
    top: 72px;
  }

  .uf-v4-hero {
    min-height: 980px;
    align-items: stretch;
  }

  .uf-v4-hero .uf-hero__image {
    background-position: 57% center;
    transform: scale(1.08);
  }

  .uf-hero__depth {
    background:
      linear-gradient(180deg, rgba(2, 8, 11, 0.25), rgba(2, 8, 11, 0.48) 28%, rgba(2, 8, 11, 0.88) 77%),
      linear-gradient(90deg, rgba(2, 8, 11, 0.66), rgba(2, 8, 11, 0.18));
  }

  .uf-v4-hero .uf-hero__vines {
    height: 360px;
    background-size: auto 340px;
  }

  .uf-v4-hero .uf-hero__content {
    align-content: start;
    gap: 28px;
    padding: 116px 0 142px;
  }

  .uf-v4-hero .uf-hero__logo {
    width: min(300px, 86vw);
    margin-bottom: 16px;
  }

  .uf-v4-hero h1 {
    max-width: 560px;
    font-size: clamp(42px, 13vw, 62px);
  }

  .uf-v4-hero p {
    font-size: 16px;
  }

  .uf-v4-hero .uf-hero__actions {
    align-items: stretch;
    flex-direction: column;
  }

  .uf-hero__microcopy {
    align-items: flex-start;
    flex-direction: column;
  }

  .uf-hero__secondary-links {
    gap: 12px 18px;
  }

  .uf-hero-mission {
    padding: 22px;
  }

  .uf-hero-mission h2 {
    font-size: 23px;
  }

  .uf-hero__signal .uf-shell {
    min-height: 100px;
    grid-template-columns: 1fr 1fr;
  }

  .uf-hero__signal .uf-shell > div {
    padding: 11px 15px;
  }

  .uf-hero__signal .uf-shell > div:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .uf-hero__signal .uf-shell > div:nth-child(n + 3) {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .uf-status-orb {
    top: 19px;
    right: 12px;
  }

  .uf-route {
    padding: 68px 0 72px;
  }

  .uf-route__grid {
    grid-template-columns: 1fr;
  }

  .uf-route-card {
    min-height: 255px;
  }

  .uf-section {
    padding-block: 82px;
  }

  .uf-section-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .uf-campaign-map__topline {
    gap: 8px;
    padding: 0 14px;
  }

  .uf-campaign-map__topline span:first-child {
    max-width: 180px;
  }

  .uf-campaign-map__canvas {
    min-height: 560px;
  }

  .uf-campaign-path {
    display: none;
  }

  .uf-quest-node:nth-of-type(1) { --node-x: 20% !important; --node-y: 17% !important; }
  .uf-quest-node:nth-of-type(2) { --node-x: 67% !important; --node-y: 31% !important; }
  .uf-quest-node:nth-of-type(3) { --node-x: 30% !important; --node-y: 47% !important; }
  .uf-quest-node:nth-of-type(4) { --node-x: 70% !important; --node-y: 63% !important; }
  .uf-quest-node:nth-of-type(5) { --node-x: 34% !important; --node-y: 79% !important; }

  .uf-quest-node > strong {
    width: 115px;
  }

  .uf-campaign-map__legend {
    right: 10px;
    bottom: 9px;
    left: 10px;
    justify-content: center;
  }

  .uf-quest-panel {
    min-height: 0;
    padding: 28px 22px;
  }

  .uf-tech {
    margin-top: 62px;
  }

  .uf-tech__grid {
    grid-template-columns: 1fr 1fr;
  }

  .uf-tech-node {
    min-height: 190px;
  }

  .uf-faction-grid {
    grid-template-columns: 1fr;
  }

  .uf-guide-hub__vines {
    right: -290px;
  }

  .uf-guide-track {
    gap: 12px;
    grid-template-columns: 24px 36px minmax(0, 1fr);
    padding-inline: 5px;
  }

  .uf-guide-track > svg:first-of-type {
    width: 21px;
  }

  .uf-guide-track > svg:last-of-type {
    display: none;
  }

  .uf-map-preview {
    min-height: 380px;
  }

  .uf-billing-toggle {
    display: grid;
    width: 100%;
  }

  .uf-commerce-lanes {
    overflow-x: auto;
    grid-template-columns: repeat(3, 220px);
    padding-bottom: 8px;
    overscroll-behavior-inline: contain;
  }

  .uf-billing-toggle button {
    min-width: 0;
  }

  .uf-support-grid,
  .uf-merch-grid {
    grid-template-columns: 1fr;
  }

  .uf-support-card {
    min-height: 480px;
  }

  .uf-merch-heading {
    padding-top: 76px;
  }

  .uf-merch-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
  }

  .uf-merch-card__visual {
    min-height: 250px;
  }

  .uf-merch-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .uf-heritage__gallery {
    height: auto;
  }

  .uf-heritage-card,
  .uf-heritage-card--wide {
    min-height: 280px;
  }

  .uf-join {
    padding-block: 72px;
  }

  .uf-join__inner {
    align-items: stretch;
    flex-direction: column;
  }

  .uf-footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .uf-footer__brand {
    grid-column: 1 / -1;
  }

  .uf-footer__column:last-of-type {
    grid-column: 1 / -1;
  }

  .uf-footer__legal {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .uf-v4-hero {
    min-height: 960px;
  }

  .uf-v4-hero h1 {
    font-size: 43px;
  }

  .uf-hero-mission {
    padding: 18px;
  }

  .uf-hero__signal strong {
    font-size: 12px;
  }

  .uf-tech__grid {
    grid-template-columns: 1fr 1fr;
  }

  .uf-tech-node {
    min-height: 175px;
  }

  .uf-tech-node__tooltip {
    right: 12px;
    left: 12px;
  }

  .uf-merch-card {
    grid-template-columns: 0.88fr 1.12fr;
  }

  .uf-merch-card__visual {
    min-height: 250px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .uf-v4-hero .uf-hero__image,
  .uf-v4-hero .uf-hero__vines {
    transform: none;
  }

  .uf-v4-hero .uf-particles {
    display: none;
  }
}
