:root {
  --site-width: 75rem;
  --page-gutter: clamp(1rem, 4vw, 3.5rem);
  --font-display: "Barlow Condensed", "Arial Narrow", "Liberation Sans Narrow", sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --font-pixel: var(--font-mono);
  --cream: #f4f6ec;
  --ink: #0d2b26;
  --muted: #2d4c40;
  --green: #006a4e;
  --bangla-green: #006a4e;
  --bangla-emerald: #14854e;
  --bangla-leaf: #2dc653;
  --bangla-crimson: #e02f3e;
  --line: #cadbc9;
  --nav-offset: 6.3rem;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--font-body);
  font-size: 100%;
  line-height: 1.55;
  scroll-padding-top: var(--nav-offset);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; }
button { cursor: pointer; }
a { color: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1; }
code { font-family: var(--font-mono); }
:focus-visible { outline: 3px solid #076449; outline-offset: 4px; }
[hidden] { display: none !important; }

.wrap {
  width: min(var(--site-width), calc(100% - var(--page-gutter) * 2));
  margin-inline: auto;
}

.sr-only, .skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  z-index: 50;
  top: 12px;
  left: 12px;
  padding: .7rem 1rem;
  background: white;
  color: var(--ink);
  pointer-events: auto;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: .75rem;
  padding: .5rem 1.1rem;
  border: 2px solid #123643;
  border-radius: 4px;
  box-shadow: 0 4px 0 #123643;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.15;
  transition: background-color .2s, transform .2s, box-shadow .2s;
}

.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(3px); box-shadow: 0 1px 0 #123643; }
.button--green { background: #c8ee65; color: #172f22; }
.button--green:hover { background: #ddf988; }
.button--light { background: #fcfbef; color: #142c35; }
.button--light:hover { background: #fff; }

.site-header {
  position: fixed;
  inset: clamp(.65rem, 2.3vw, 1.65rem) 0 auto;
  z-index: 20;
  pointer-events: none;
}

.site-header__bar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1.5rem;
  min-height: 66px;
  padding: .4rem .65rem .45rem 1rem;
  background: #fffdf4;
  border: 2px solid #183947;
  border-radius: 7px;
  box-shadow: 0 4px 0 #183947, 0 10px 20px #14394722;
  pointer-events: auto;
}

.site-brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 44px;
  font: 800 1.42rem/1 var(--font-display);
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
}

.site-brand img { width: 41px; }
.site-nav { display: flex; align-items: center; gap: clamp(.8rem, 2.15vw, 2.1rem); }
.site-nav a {
  display: flex;
  align-items: center;
  min-height: 44px;
  font-size: .87rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.site-nav a:hover, .site-nav a[aria-current] { color: #126446; text-decoration: underline; text-underline-offset: .3rem; }
.site-header__play { justify-self: end; min-height: 44px; margin-block-end: 3px; box-shadow: 0 3px 0 #0c232a; }
.nav__toggle { display: none; }

.hero {
  --sky-horizon-height: clamp(5.1rem, 14vw, 10.25rem);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  display: grid;
  align-items: center;
  padding: clamp(7.25rem, 15svh, 10rem) 0 clamp(8rem, 20svh, 12.5rem);
  background:
    radial-gradient(ellipse 68% 54% at 18% 12%, rgba(255, 249, 214, 0.24), transparent 72%),
    linear-gradient(180deg, #1d85c2 0%, #43ade2 43%, #93dcf1 79%, #cdeee0 100%);
}

.sky__scene { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }

.sky__foliage {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.sky__leaf-canvas {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.sky__tree-canvas,
.sky__tree-fallback {
  display: block;
  width: 100%;
  height: 100%;
}

.sky__tree {
  position: absolute;
  inset-block-end: calc(var(--sky-horizon-height) - clamp(2.15rem, 3.4vw, 3.3rem));
  inset-inline-start: max(0.75rem, calc((100vw - var(--site-width)) / 2 + 0.15rem));
  z-index: 0;
  width: clamp(11.5rem, min(20.5vw, 35svh), 18.5rem);
  aspect-ratio: 420 / 460;
  filter: drop-shadow(0 0 22px rgba(206, 250, 122, 0.24));
}

[data-tree-ready] .sky__tree-fallback {
  display: none;
}

.sky__tree-trigger {
  position: absolute;
  inset: 6% 10% 18% 10%;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  pointer-events: auto;
  cursor: pointer;
}

.sky__tree-trigger:disabled {
  pointer-events: none;
}

.sky__tree-trigger:focus-visible {
  outline: 3px solid #d4f872;
  outline-offset: 2px;
}

.sky__web {
  --web-art: url("/media/overworld/spider-web.webp");
  --spider-size: clamp(5.25rem, 11vw, 11.25rem);
  --web-width: clamp(9rem, 16.5vw, 16rem);
  --web-top: clamp(5.8rem, 11.6svh, 7rem);
  --web-inset: max(.4rem, calc((100vw - var(--site-width)) / 2 - 3rem));
  --silk-length: clamp(2.4rem, 5.1svh, 4rem);
  position: absolute;
  inset-block-start: var(--web-top);
  inset-inline-end: var(--web-inset);
  z-index: 3;
  width: var(--spider-size);
  pointer-events: none;
}

.sky__web-fragments {
  position: absolute;
  inset-block-start: calc(2.1rem - var(--web-top));
  /* Reach the viewport corner on wide screens, beyond the centered navigation. */
  inset-inline-end: calc(0px - var(--web-inset));
  width: clamp(12rem, 37vw, 46rem);
  height: clamp(7rem, 15vw, 19rem);
  background:
    var(--web-art) right -2rem top / 58% auto no-repeat,
    var(--web-art) left 12% top 40% / 39% auto no-repeat;
  opacity: .35;
}

.sky__cobweb {
  position: absolute;
  z-index: 1;
  /* Align the hub of the web with the start of the hanging strand. */
  inset-block-start: calc(var(--web-width) * -100 / 480);
  inset-inline-start: 50%;
  width: var(--web-width);
  max-width: none;
  transform: translateX(-62.5%);
  transform-origin: 62.5% 43.5%;
  filter: drop-shadow(0 1px 1px #155c884d);
}

.sky__spider-hang {
  position: relative;
  padding-top: var(--silk-length);
}

.sky__cobweb, .sky__spider-hang, .sky__spider-hang::before {
  transition: none;
}

.sky__spider-hang::before {
  position: absolute;
  inset: 0 auto auto 50%;
  width: 2px;
  height: calc(var(--silk-span, var(--silk-length)) + 2px);
  transform-origin: top center;
  transform: translate3d(-50%, 0, 0) rotate(var(--silk-angle, 0rad));
  background: linear-gradient(90deg, #f2fcfff0, #bce0ee99);
  box-shadow: 1px 0 #26749d4d;
  content: "";
}

.sky__spider {
  display: block;
  width: 100%;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: transparent;
  pointer-events: auto;
  cursor: grab;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  transform-origin: top center;
  transform: translate3d(var(--spider-x, 0px), var(--spider-y, 0px), 0) rotate(calc(var(--silk-angle, 0rad) * .24));
}

.sky__spider:disabled { pointer-events: none; }
.sky__spider[data-dragging] { cursor: grabbing; }
.sky__spider:focus-visible { outline-color: #f1fcff; }

.sky__spider img {
  width: 100%;
  filter: drop-shadow(0 6px 2px #16486145);
}

.sky__spider:is(:hover, :focus-visible) img {
  filter: drop-shadow(0 1px 2px #f2fcffd9) drop-shadow(0 6px 2px #16486145);
}

.sky-cloud-lane { position: absolute; inset-inline: 0; }
.sky-cloud-lane--high { top: 18%; --drift-duration: 118s; --drift-delay: -6s; }
.sky-cloud-lane--distant { top: 29%; --drift-duration: 164s; --drift-delay: -17s; opacity: .55; }
.sky-cloud-lane--low {
  bottom: calc(var(--sky-horizon-height) + clamp(1.8rem, 4.5vw, 4.5rem));
  --drift-duration: 138s;
  --drift-delay: -11s;
  opacity: .8;
}

/* The two matching groups keep the track continuous at the loop boundary. */
.sky-cloud-track { display: flex; width: 200%; }
.sky-cloud-group { position: relative; flex: 0 0 50%; }
.sky-cloud {
  --cloud-depth: clamp(3px, .6vw, 10px);
  --cloud-outline: polygon(
    0 55%, 14% 55%, 14% 29%, 28% 29%, 28% 0, 53% 0, 53% 27%, 71% 27%,
    71% 17%, 85% 17%, 85% 55%, 100% 55%, 100% 82%,
    86% 82%, 86% 94%, 51% 94%, 51% 100%, 22% 100%, 22% 83%, 0 83%
  );
  position: absolute;
  aspect-ratio: 4.3;
}

.sky-cloud::before, .sky-cloud::after {
  content: "";
  position: absolute;
  inset: 0;
  clip-path: var(--cloud-outline);
}
.sky-cloud::before {
  transform: translateY(var(--cloud-depth));
  background: linear-gradient(90deg, #aed4e6 0 22%, #badeee 22% 51%, #a7cfe2 51% 86%, #cae7f4 86%);
}
.sky-cloud::after {
  background:
    linear-gradient(#eaf6fc, #eaf6fc) 0 88% / 33% 24% no-repeat,
    linear-gradient(#eff9fd, #eff9fd) 100% 88% / 32% 32% no-repeat,
    linear-gradient(180deg, #fff, #f1faff);
}

.sky-cloud--bank {
  aspect-ratio: 4.8;
  --cloud-outline: polygon(
    0 61%, 12% 61%, 12% 41%, 25% 41%, 25% 17%, 39% 17%, 39% 0, 60% 0, 60% 19%,
    70% 19%, 70% 32%, 86% 32%, 86% 56%, 100% 56%, 100% 80%, 93% 80%, 93% 91%,
    69% 91%, 69% 100%, 38% 100%, 38% 91%, 14% 91%, 14% 82%, 0 82%
  );
}
.sky-cloud--thin {
  aspect-ratio: 7.2;
  --cloud-outline: polygon(
    0 54%, 10% 54%, 10% 32%, 26% 32%, 26% 18%, 48% 18%, 48% 0, 73% 0, 73% 24%,
    88% 24%, 88% 49%, 100% 49%, 100% 83%, 72% 83%, 72% 100%, 29% 100%, 29% 85%, 0 85%
  );
}
.sky-cloud-lane--high .sky-cloud:first-child { left: 9%; width: clamp(105px, 18.5vw, 315px); }
.sky-cloud-lane--high .sky-cloud:last-child { top: clamp(12px, 2vw, 36px); left: 72%; width: clamp(75px, 12vw, 220px); }
.sky-cloud-lane--distant .sky-cloud { --cloud-depth: 3px; }
.sky-cloud-lane--distant .sky-cloud:first-child { left: 33%; width: clamp(52px, 7vw, 112px); }
.sky-cloud-lane--distant .sky-cloud:nth-child(2) { top: -1rem; left: 49%; width: clamp(80px, 12vw, 188px); }
.sky-cloud-lane--distant .sky-cloud:last-child { top: 1rem; right: 2.5%; width: clamp(40px, 6.5vw, 104px); }
.sky-cloud-lane--low .sky-cloud:first-child { left: 12%; width: clamp(88px, 15.5vw, 268px); }
.sky-cloud-lane--low .sky-cloud:last-child { top: -.5rem; left: 71%; width: clamp(68px, 11.5vw, 195px); }

@media (prefers-reduced-motion: no-preference) {
  .sky-cloud-track { animation: sky-cloud-drift var(--drift-duration) linear var(--drift-delay) infinite; }
}

@keyframes sky-cloud-drift { to { transform: translate3d(-50%, 0, 0); } }

.sky__layout {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.73fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(.65rem, 2.3vw, 2.15rem);
  pointer-events: none;
}

.sky__layout > * { pointer-events: auto; }

.sky__center { grid-column: 2; grid-row: 1; min-width: 0; text-align: center; }
.sky__crest { width: min(100%, 450px); margin: 0 auto 1.15rem; }
.sky__crest img { width: 100%; filter: drop-shadow(0 13px 0 #0a35292e) drop-shadow(0 13px 22px #052c2445); }
.sky__tagline { color: #092622; font: 800 clamp(1.6rem, 3vw, 2.55rem)/1 var(--font-display); text-wrap: balance; }
.sky__description { margin: .6rem auto 0; color: #10362f; font-size: clamp(.88rem, 1.2vw, 1rem); text-wrap: balance; font-weight: 600; }

.cloud-card {
  position: relative;
  isolation: isolate;
  min-width: 0;
  max-width: 308px;
  width: 100%;
  justify-self: center;
  padding: clamp(1.3rem, 3vw, 2.5rem) clamp(.9rem, 2vw, 1.6rem);
  text-align: center;
  color: #133630;
  filter: drop-shadow(0 8px 0 #0d634d30);
  transition: transform .18s ease, filter .18s ease;
}

@media (hover: hover) and (pointer: fine) {
  .cloud-card:hover {
    transform: translateY(-2px);
    filter: drop-shadow(0 10px 0 #0d634d38);
  }
}

.cloud-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -9px -8px;
  background:
    radial-gradient(ellipse 27% 37% at 28% 39%, #f8fffc 98%, transparent 100%),
    radial-gradient(ellipse 27% 40% at 52% 41%, #fff 98%, transparent 100%),
    radial-gradient(ellipse 25% 35% at 72% 43%, #f8fffc 98%, transparent 100%),
    radial-gradient(ellipse 29% 33% at 71% 61%, #f1fbf6 98%, transparent 100%),
    radial-gradient(ellipse 32% 29% at 48% 71%, #f1fbf6 98%, transparent 100%),
    radial-gradient(ellipse 28% 35% at 28% 60%, #f8fffc 98%, transparent 100%),
    radial-gradient(ellipse 45% 41% at 50% 53%, #f8fffc 98%, transparent 100%);
}

.cloud-card--join { grid-column: 1; grid-row: 1; }
.cloud-card--status { grid-column: 3; grid-row: 1; }
@media (min-width: 851px) {
  .cloud-card--join {
    align-self: start;
    margin-top: clamp(.15rem, 1svh, .85rem);
    margin-bottom: clamp(13rem, 25.5svh, 17.5rem);
  }
  .cloud-card--status {
    align-self: start;
    margin-top: clamp(1.35rem, 3.2svh, 2.6rem);
    margin-bottom: clamp(7rem, 14svh, 10.5rem);
  }
}
.cloud-card--join:target::before { filter: drop-shadow(0 0 4px #006a4e); }
.cloud-card__title { margin-bottom: .8rem; font: 800 clamp(1.45rem, 2.35vw, 2.15rem)/1 var(--font-display); }
.join-address {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: .25rem;
  align-items: center;
  min-height: 46px;
  padding: .15rem 0 .15rem .2rem;
  border-top: 1px solid #bfdacf;
  text-align: left;
}
.join-address span:not([data-copy-label]) { display: block; color: #365950; font-size: .69rem; font-weight: 700; }
.join-address code { display: block; font-size: clamp(.64rem, 1.13vw, .88rem); font-weight: 600; }
.copy-button {
  min-width: 54px;
  min-height: 44px;
  border: 1px solid #c3e2d1;
  border-radius: 4px;
  background: #edf9f2;
  color: #006a4e;
  font-size: .72rem;
  font-weight: 800;
  text-align: center;
  padding: .1rem .45rem;
  transition: background-color .15s ease, border-color .15s ease, transform .1s ease;
}
.copy-button:hover, .copy-button[data-copy-state="copied"] { background: #d4f1de; border-color: #79be9a; }
.copy-button:active { transform: translateY(1px); }
.cloud-card__note { margin-top: .35rem; color: #395950; font-size: .72rem; }
.community-status { display: flex; justify-content: center; align-items: center; gap: .45rem; font-size: .82rem; font-weight: 700; }
.server-indicator { width: 9px; height: 9px; border-radius: 50%; background: #87601d; }
.server-indicator[data-state="online"] { background: #137c4e; }
.server-indicator[data-state="offline"] { background: #a74735; }
.server-indicator[data-state="unavailable"] { background: #667875; }
.community-count { display: grid; gap: .1rem; justify-items: center; padding: .38rem 0 .14rem; }
.community-count strong { font: 800 clamp(2.25rem, 4vw, 3.5rem)/.95 var(--font-display); color: #0f3830; font-variant-numeric: tabular-nums; }
.cloud-card--status:not(:has([data-state="online"])) .community-count strong { color: #54746b; font-weight: 700; }
.community-count span { font-size: .77rem; color: #365950; }
.cloud-card__link { display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; color: #006a4e; font-size: .76rem; font-weight: 800; text-decoration: none; }
.cloud-card__link:hover { text-decoration: underline; text-underline-offset: .22rem; }

.sky__horizon {
  --cloud-ridge-top: 35%;
  --cloud-ridge-offset: 28px;
  --cloud-ridge-period: 138px;
  --cloud-ridge-radius-x: 83px;
  --cloud-ridge-radius-y: 43px;
  position: absolute;
  inset: auto 0 -1px;
  height: var(--sky-horizon-height);
  z-index: 1;
}
.sky__horizon::before, .sky__horizon::after { position: absolute; content: ""; inset: 0 -10% 0; }
.sky__horizon::before {
  z-index: 0;
  background:
    radial-gradient(ellipse 90px 58px at 74px 58px, #ccebe0 99%, transparent 100%) 0 0 / 148px 66px repeat-x,
    linear-gradient(#ccebe0, #ccebe0) 0 50px / 100% 100% no-repeat;
}
.sky__meadow-canvas {
  position: absolute;
  top: -36px;
  left: 0;
  z-index: 1;
  width: 100%;
  height: calc(100% + 36px);
  pointer-events: none;
}
.sky__horizon::after {
  z-index: 2;
  top: var(--cloud-ridge-top);
  background:
    radial-gradient(ellipse var(--cloud-ridge-radius-x) var(--cloud-ridge-radius-y) at center var(--cloud-ridge-radius-y), var(--cream) 99%, transparent 100%) var(--cloud-ridge-offset) 0 / var(--cloud-ridge-period) 48px repeat-x,
    linear-gradient(var(--cream), var(--cream)) 0 35px / 100% 100% no-repeat;
}

.sky__caravan {
  position: absolute;
  z-index: 3;
  inset-block-start: var(--cloud-ridge-top);
  inset-inline-start: 0;
  width: clamp(8.7rem, 19vw, 16rem);
  transform: translateX(var(--caravan-x, -100%));
  pointer-events: none;
}

.sky__caravan-mob {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: var(--caravan-foot);
  width: 44.8%;
  aspect-ratio: 112 / 138;
  overflow: hidden;
  transform: translate(-50%, calc(var(--caravan-ridge-y, 0px) - 95%));
}

.sky__caravan-mob--rear { --caravan-foot: 19%; --caravan-rest-frame-y: -91.6667%; }
.sky__caravan-mob--middle { --caravan-foot: 50%; --caravan-rest-frame-y: -58.3333%; }
.sky__caravan-mob--trader { --caravan-foot: 82.4%; --caravan-rest-frame-y: -25%; }

.sky__caravan-mob img {
  width: 400%;
  max-width: none;
  transform: translate(var(--caravan-frame-x, -75%), var(--caravan-frame-y, var(--caravan-rest-frame-y)));
}

.sky__caravan-leads {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 1px;
  overflow: visible;
  fill: none;
  stroke: #694a37;
  stroke-width: 1.35px;
  stroke-linecap: round;
}

.sky__caravan-canvas {
  position: absolute;
  left: 0;
  top: -150px;
  z-index: 3;
  width: 100%;
  height: calc(100% + 150px);
  pointer-events: none;
}

.sky__horizon[data-caravan-ready] .sky__caravan {
  visibility: hidden;
  transform: none;
  height: 1px;
}

.sky__horizon[data-caravan-ready] .sky__caravan-mob img,
.sky__horizon[data-caravan-ready] .sky__caravan-leads {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .sky__caravan { --caravan-x: calc(50vw - 50%); }
}

.section { padding-block: clamp(3.75rem, 8vw, 8.5rem); }
.section-title { font-size: clamp(2.45rem, 5.55vw, 5.5rem); font-weight: 800; letter-spacing: -.018em; text-wrap: balance; }
.section-title + p { margin-top: .85rem; max-width: 37rem; }
.text-link { display: inline-flex; min-height: 44px; align-items: center; gap: .65rem; color: #006a4e; font-weight: 800; text-underline-offset: .24rem; }
.text-link:hover { color: #0b3d2e; text-decoration-thickness: 2px; }
.questions__layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(1.6rem, 5vw, 5rem); }
.questions { padding-bottom: clamp(2rem, 4vw, 3.5rem); background: linear-gradient(180deg, var(--cream) 0%, #dff1e7 11%); }
.questions .text-link { margin-top: .75rem; }
.questions__list { display: grid; align-self: start; gap: .55rem; }
.questions details {
  border: 1px solid #95bfb0;
  border-radius: 5px;
  background: #f7fdf9;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.questions details:hover { border-color: #5b9980; box-shadow: 0 3px 10px #0f382f12; }
.questions details[open] { border-color: #2f7d5d; box-shadow: 0 4px 12px #0f382f14; }
.questions summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: .85rem; min-height: 58px; padding: .7rem 1rem; color: #0f382f; font-size: 1.05rem; font-weight: 800; }
.questions summary::-webkit-details-marker { display: none; }
.questions summary::after { content: "+"; font: 700 1.45rem/1 var(--font-mono); }
.questions details[open] > summary::after { content: "−"; }
.questions summary:hover { color: #006a4e; }
.questions details p { max-width: 57ch; padding: 0 1rem 1.05rem; color: #2f4d44; }
.questions details a { color: #006a4e; text-underline-offset: .16em; }
.questions details code {
  overflow-wrap: anywhere;
  padding: .08em .42em;
  border: 1px solid #b5d5c6;
  border-radius: 4px;
  background: #e8f5ee;
  color: #0b3a2e;
  font-size: .88em;
  font-weight: 600;
}

.site-footer {
  --footer-soil: #57524b;
  --footer-base: #4a453f;
  color: var(--cream);
  background-color: var(--footer-base);
}

.site-footer__horizon {
  position: relative;
  overflow: hidden;
  height: clamp(5rem, 8.5vw, 9rem);
  background:
    radial-gradient(ellipse at 50% 100%, #e7f6ee 69%, transparent 70%) left 15% bottom -5px / 24rem 55% no-repeat,
    radial-gradient(ellipse at 50% 100%, #e7f6ee 69%, transparent 70%) left 5% bottom 0 / 15rem 35% no-repeat,
    radial-gradient(ellipse at 50% 100%, #e7f6ee 69%, transparent 70%) left 34% bottom -14px / 17rem 45% no-repeat,
    radial-gradient(ellipse at 50% 100%, #dcf0e5 69%, transparent 70%) right -1rem bottom -12px / 23rem 36% no-repeat,
    linear-gradient(#dff1e7, #c7e6d7 56%, #d1eadf);
}

.site-footer__horizon::after {
  position: absolute;
  inset: auto 0 -1px;
  content: "";
  height: 1rem;
  background: var(--footer-soil);
  clip-path: polygon(0 58%, 4% 12%, 10% 67%, 16% 12%, 22% 67%, 28% 12%, 34% 67%, 40% 12%, 46% 67%, 52% 12%, 58% 67%, 64% 12%, 70% 67%, 76% 12%, 82% 67%, 88% 12%, 94% 67%, 100% 12%, 100% 100%, 0 100%);
  clip-path: shape(from 0 54%,
    curve to 4% 12% with 1.5% 54% / 2% 12%, curve to 9% 69% with 6% 12% / 7.3% 69%,
    curve to 14% 7% with 10.7% 69% / 12% 7%, curve to 19% 63% with 16% 7% / 17% 63%,
    curve to 24% 13% with 21% 63% / 22% 13%, curve to 29% 69% with 26% 13% / 27% 69%,
    curve to 34% 7% with 31% 69% / 32% 7%, curve to 39% 64% with 36% 7% / 37% 64%,
    curve to 44% 12% with 41% 64% / 42% 12%, curve to 49% 71% with 46% 12% / 47% 71%,
    curve to 54% 7% with 51% 71% / 52% 7%, curve to 59% 63% with 56% 7% / 57% 63%,
    curve to 64% 13% with 61% 63% / 62% 13%, curve to 69% 69% with 66% 13% / 67% 69%,
    curve to 74% 9% with 71% 69% / 72% 9%, curve to 79% 65% with 76% 9% / 77% 65%,
    curve to 84% 13% with 81% 65% / 82% 13%, curve to 89% 69% with 86% 13% / 87% 69%,
    curve to 94% 10% with 91% 69% / 92% 10%, curve to 100% 54% with 96% 10% / 98% 54%,
    line to 100% 100%, line to 0 100%, close
  );
}

.site-footer__grass {
  position: absolute;
  inset: auto auto .28rem 0;
  width: clamp(4rem, 11vw, 12rem);
  height: 92%;
}

.site-footer__grass--right {
  inset-inline: auto 0;
  transform: scaleX(-1);
}

.site-footer__grass i {
  position: absolute;
  inset: auto auto 0 0;
  width: 45%;
  height: 100%;
  background-color: #1f8e4d;
  border-radius: 0 0 100% 0;
  clip-path: shape(from 0 100%, curve to 100% 0 with 38% 53% / 73% 45%, curve to 0 100% with 110% 39% / 54% 81%, close);
}

.site-footer__grass i:nth-child(2) {
  width: 72%;
  height: 53%;
  background-color: #0f683f;
}

.site-footer__grass i:nth-child(3) {
  width: 100%;
  height: 35%;
  background-color: #54c958;
}

.site-footer__soil {
  background:
    radial-gradient(ellipse 25px 11px at 3% 78%, #ffffff09 97%, transparent),
    radial-gradient(ellipse 14px 8px at 6.2% 81%, #ffffff08 97%, transparent),
    radial-gradient(ellipse 19px 8px at 35% 67%, #ffffff08 97%, transparent),
    radial-gradient(ellipse 11px 4px at 32% 71%, #ffffff08 97%, transparent),
    radial-gradient(ellipse 21px 10px at 92% 26%, #ffffff09 97%, transparent),
    radial-gradient(ellipse 15px 6px at 90% 33%, #ffffff08 97%, transparent),
    radial-gradient(ellipse 13px 6px at 93.7% 34%, #ffffff08 97%, transparent),
    var(--footer-soil);
}

.site-footer__main {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 2.8fr) minmax(0, 4.6fr);
  gap: clamp(2rem, 4.2vw, 5rem);
  padding-block: clamp(2.75rem, 4.3vw, 4.75rem) clamp(2.5rem, 4vw, 3.75rem);
}

.site-footer h2,
.site-footer h3 {
  margin-bottom: .8rem;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.1;
}

.site-footer p {
  max-width: 46ch;
  color: #f0e9e0;
  font-size: .95rem;
  line-height: 1.65;
}

.site-footer nav ul {
  margin: -.55rem 0 0;
  padding-left: 1.15rem;
}

.site-footer nav a,
.site-footer__base a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: #f0e9e0;
  text-decoration-color: #d9ccbc;
  text-underline-offset: .23em;
}

.site-footer nav li::marker {
  color: #d9ccbc;
  font-size: .72em;
}

.site-footer nav a {
  font-size: .95rem;
  text-decoration: none;
}

.site-footer nav a:hover,
.site-footer__base a:hover {
  color: #ffe0ab;
  text-decoration: underline;
}

.site-footer__play {
  margin-top: 1.25rem;
  border-color: transparent;
  border-radius: 6px;
  box-shadow: 0 3px 0 #44362b;
  background-color: #edb56c;
  color: #2c2118;
}

.site-footer__play:hover { background-color: #f6c582; }
.site-footer__play:active { box-shadow: 0 1px 0 #44362b; }

.site-footer__base {
  position: relative;
}

.site-footer__base::before {
  position: absolute;
  inset: -.55rem 0 auto;
  height: .65rem;
  content: "";
  background: var(--footer-base);
  clip-path: shape(from 0 58%, curve to 14% 20% with 4% 58% / 7% 4%,
    curve to 34% 72% with 21% 37% / 27% 90%, curve to 55% 30% with 40% 55% / 48% 12%,
    curve to 76% 79% with 63% 50% / 70% 88%, curve to 100% 51% with 83% 66% / 91% 25%,
    line to 100% 100%, line to 0 100%, close);
}

.site-footer__base::after {
  display: block;
  height: clamp(.95rem, 1.8vw, 1.35rem);
  content: "";
  background: linear-gradient(#31292373, #31292373), #393532 url("../media/footer-bedrock.jpg") repeat-x center bottom / 432px auto;
}

.site-footer :focus-visible {
  outline-color: #f2d681;
}

.site-footer__legal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .35rem 1.5rem;
  padding-block: 1.55rem 1.25rem;
  font-size: .85rem;
}

.site-footer__legal p {
  color: #ded5cc;
  font-size: inherit;
}

.site-footer__legal > div {
  display: flex;
  flex-wrap: wrap;
  gap: 0 1rem;
}

@media (max-width: 1020px) {
  .sky__layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.47fr) minmax(0, 1fr); }
  .cloud-card { padding-inline: .7rem; }
  .sky__tree { width: clamp(10.5rem, min(19vw, 28svh), 14rem); inset-inline-start: .6rem; }
}

@media (max-width: 850px) {
  :root { --nav-offset: 5.6rem; }
  .site-header__bar { grid-template-columns: 1fr auto auto; gap: .55rem; min-height: 58px; }
  .site-nav { display: none; position: absolute; inset: calc(100% + 8px) -2px auto; align-items: stretch; background: #fffdf4; border: 2px solid #183947; border-radius: 5px; padding: .45rem .85rem; box-shadow: 0 4px #183947; }
  .site-nav a { padding: .4rem .5rem; }
  .site-nav a + a { border-top: 1px solid #d7dfda; }
  .site-header__bar:has(.nav__toggle[aria-expanded="true"]) .site-nav { display: grid; gap: 0; }
  .nav__toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid #bdd0d1; border-radius: 4px; color: #143440; background: transparent; }
  .nav__toggle span, .nav__toggle span::before, .nav__toggle span::after { display: block; width: 19px; height: 2px; background: currentColor; }
  .nav__toggle span { position: relative; }
  .nav__toggle span::before, .nav__toggle span::after { content: ""; position: absolute; }
  .nav__toggle span::before { top: -6px; }
  .nav__toggle span::after { top: 6px; }
  .nav__toggle[aria-expanded="true"] span { background: transparent; }
  .nav__toggle[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
  .nav__toggle[aria-expanded="true"] span::after { top: 0; transform: rotate(-45deg); }
  .hero { min-height: 100svh; padding-block: clamp(6rem, 12svh, 9rem) clamp(12.5rem, 24vw, 15.5rem); }
  .sky__layout { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2rem; }
  .sky__center { grid-column: 1 / -1; }
  .sky__crest { width: min(56%, 355px); margin-bottom: .85rem; }
  .cloud-card--join { grid-column: 1; grid-row: 2; }
  .cloud-card--status { grid-column: 2; grid-row: 2; }
  .cloud-card { max-width: 240px; }
  .join-address code { font-size: clamp(.68rem, 1.8vw, .88rem); }
  .sky__tree { width: clamp(8.4rem, 23vw, 11.5rem); inset-inline-start: 0.4rem; inset-block-end: calc(var(--sky-horizon-height) - clamp(0.85rem, 1.6vw, 1.35rem)); }
  .sky-cloud-lane--high { top: 15%; --drift-duration: 72s; }
  .sky-cloud-lane--distant { top: 34%; --drift-duration: 95s; }
  .sky-cloud-lane--low { --drift-duration: 82s; }
}

@media (max-width: 700px) {
  .site-footer__main { grid-template-columns: 1fr; gap: 1.4rem; padding-block: 2rem; }
  .site-footer__horizon::after { inset-inline: -50%; height: .65rem; }
  .site-footer nav ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1rem; }
  .site-footer__legal { padding-block: 1.25rem .85rem; }
  .site-footer__legal > div { gap: 0 .8rem; }
}

@media (max-width: 600px) {
  .site-header__bar { padding-inline: .55rem .4rem; }
  .site-brand { gap: .38rem; font-size: 1.22rem; }
  .site-brand img { width: 34px; }
  .site-header__play { min-height: 44px; padding-inline: .55rem; font-size: .82rem; }
  .hero { padding-block: 6.1rem 12.75rem; }
  .sky__web {
    --spider-size: clamp(3.85rem, 12vw, 4.65rem);
    --web-width: clamp(6rem, 21vw, 7.5rem);
    --silk-length: 1.65rem;
    --web-top: 5.2rem;
    --web-inset: .2rem;
  }
  .sky__web-fragments {
    inset-block-start: -.95rem;
    width: clamp(10rem, 42vw, 15rem);
  }
  .sky__tree { width: clamp(6.6rem, 23vw, 8.6rem); inset-inline-start: 0.35rem; inset-block-end: calc(var(--sky-horizon-height) - 0.8rem); }
  .sky__layout { column-gap: 1rem; }
  .sky__crest { width: min(75%, 325px); }
  .sky__description { max-width: 29ch; }
  .sky-cloud-lane--high { --drift-duration: 53s; }
  .sky-cloud-lane--distant { --drift-duration: 72s; }
  .sky-cloud-lane--distant .sky-cloud:nth-child(2) { display: none; }
  .sky-cloud-lane--low { --drift-duration: 62s; }
  .cloud-card { padding-inline: .7rem; }
  .cloud-card::before { inset: -10px -4px; }
  .cloud-card__title { margin-bottom: .55rem; font-size: clamp(1.22rem, 5.2vw, 1.48rem); }
  .join-address { padding-left: 0; grid-template-columns: 1fr; gap: 0; }
  .join-address > div { text-align: center; }
  .join-address code { font-size: clamp(.67rem, 3vw, .83rem); }
  .copy-button { min-height: 44px; width: 100%; }
  .cloud-card__note { display: none; }
  .community-status { font-size: .7rem; }
  .cloud-card__link { font-size: .69rem; }
  .questions__layout { grid-template-columns: 1fr; }
  .section { padding-top: 5.75rem; }
}

@media (max-width: 355px) {
  .site-brand img { width: 29px; }
  .site-brand { font-size: 1.1rem; }
  .hero { padding-block: 5.6rem 9.25rem; }
  .sky__layout { column-gap: .6rem; }
  .sky__crest { width: 65%; }
  .community-status { gap: .25rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
