@font-face {
  font-family: "Fredoka";
  src: url("../google_fonts/Fredoka-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Fredoka";
  src: url("../google_fonts/Fredoka-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Fredoka";
  src: url("../google_fonts/Fredoka-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Fredoka";
  src: url("../google_fonts/Fredoka-Bold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #0a1d37;
  --ink-soft: #38536c;
  --night: #0b2860;
  --night-deep: #07183d;
  --sky: #77c9ef;
  --sky-light: #e7f8ff;
  --paper: #fffdf7;
  --paper-warm: #fff5db;
  --orange: #ff7639;
  --orange-deep: #de4e28;
  --yellow: #ffcf48;
  --green: #44bc78;
  --green-deep: #168459;
  --purple: #7848dc;
  --purple-deep: #402080;
  --line: rgba(10, 29, 55, 0.12);
  --shadow: 0 24px 50px rgba(7, 24, 61, 0.16);
  --shadow-soft: 0 14px 28px rgba(7, 24, 61, 0.11);
  --radius-lg: 34px;
  --radius-md: 22px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Fredoka", "Trebuchet MS", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body::selection {
  color: var(--paper);
  background: var(--orange);
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 4px solid var(--yellow);
  outline-offset: 4px;
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--ink);
  background: var(--yellow);
  border-radius: var(--radius-sm);
  transform: translateY(-160%);
}

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

.site-header {
  position: relative;
  z-index: 10;
  padding: 22px 0;
}

.site-header-dark {
  color: var(--paper);
  background: var(--night);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
  font-size: 25px;
  font-weight: 600;
  letter-spacing: -0.04em;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 15px;
  box-shadow: 0 6px 14px rgba(7, 24, 61, 0.2);
}

.brand b {
  color: var(--orange);
  font-weight: 700;
}

.site-header-dark .brand b {
  color: var(--yellow);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 15px;
  font-weight: 500;
}

.site-nav > a:not(.nav-download) {
  opacity: 0.8;
  transition: opacity 160ms ease, color 160ms ease;
}

.site-nav > a:not(.nav-download):hover,
.site-nav > a[aria-current="page"] {
  color: var(--orange);
  opacity: 1;
}

.site-header-dark .site-nav > a:not(.nav-download):hover,
.site-header-dark .site-nav > a[aria-current="page"] {
  color: var(--yellow);
}

.nav-download {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 11px 17px;
  color: var(--paper);
  background: var(--orange);
  border-radius: 100px;
  box-shadow: 0 5px 0 var(--orange-deep);
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.nav-download:hover {
  background: #ff874f;
  box-shadow: 0 3px 0 var(--orange-deep);
  transform: translateY(2px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  padding: 9px;
  cursor: pointer;
  background: transparent;
  border: 2px solid currentColor;
  border-radius: 12px;
}

.menu-toggle > span:not(.sr-only) {
  display: block;
  width: 22px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 10px;
}

.landing-page {
  overflow-x: hidden;
  background: var(--paper);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  align-items: center;
  min-height: 650px;
  padding-top: 58px;
  padding-bottom: 88px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding: 22px 0 30px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 19px;
  color: var(--orange-deep);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.095em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow-light {
  color: var(--yellow);
}

.eyebrow-dot {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 118, 57, 0.14);
}

.hero h1,
.internal-hero h1,
.document-hero h1 {
  max-width: 620px;
  margin: 0;
  font-size: clamp(64px, 8vw, 112px);
  font-weight: 700;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

h1 span,
h1 em,
h2 em {
  color: var(--orange);
  font-style: normal;
}

.hero-lede {
  max-width: 440px;
  margin: 29px 0 26px;
  color: var(--ink-soft);
  font-size: 19px;
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 22px;
}

.play-button {
  display: inline-flex;
  align-items: center;
  min-width: 190px;
  gap: 12px;
  padding: 12px 20px 13px 15px;
  color: var(--paper);
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 16px;
  box-shadow: 0 6px 0 #020c1e;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.05;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.play-button:hover {
  background: var(--night);
  box-shadow: 0 3px 0 #020c1e;
  transform: translateY(3px);
}

.play-button svg {
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
}

.play-button small {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 253, 247, 0.65);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.075em;
  line-height: 1;
  text-transform: uppercase;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 600;
}

.text-link span,
.email-link span,
.footer-play-link span {
  color: var(--orange);
  font-size: 21px;
  transition: transform 160ms ease;
}

.text-link:hover span,
.email-link:hover span,
.footer-play-link:hover span {
  transform: translate(3px, -3px);
}

.hero-note {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 27px 0 0;
  color: #71869a;
  font-size: 13px;
}

.hero-note span {
  color: var(--green-deep);
  font-size: 19px;
}

.hero-visual {
  position: relative;
  min-height: 455px;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: -55px;
}

.hero-visual::before {
  position: absolute;
  width: 570px;
  height: 400px;
  content: "";
  background: #e7f8ff;
  border-radius: 55% 45% 52% 48%;
  transform: rotate(-7deg);
}

.hero-art-frame {
  position: relative;
  z-index: 2;
  width: min(100%, 650px);
  overflow: hidden;
  border: 8px solid var(--ink);
  border-radius: 31px;
  box-shadow: var(--shadow);
  transform: rotate(2deg);
}

.hero-art-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.16), transparent 40%);
}

.hero-art-frame img {
  width: 100%;
  height: auto;
}

.orbit {
  position: absolute;
  z-index: 1;
  border: 2px dashed rgba(120, 72, 220, 0.28);
  border-radius: 50%;
}

.orbit-one {
  width: 510px;
  height: 510px;
  transform: rotate(22deg) scaleX(0.64);
}

.orbit-two {
  width: 410px;
  height: 410px;
  border-color: rgba(255, 118, 57, 0.27);
  transform: rotate(-35deg) scaleX(0.64);
}

.hero-sticker {
  position: absolute;
  z-index: 4;
  padding: 12px 14px;
  color: var(--ink);
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 13px;
  box-shadow: 4px 5px 0 var(--ink);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.05;
  transform: rotate(-8deg);
}

.sticker-top {
  top: 8%;
  left: 5%;
}

.sticker-top span {
  display: block;
  margin-bottom: 4px;
  color: var(--orange-deep);
  font-size: 18px;
}

.sticker-bottom {
  right: 0;
  bottom: 9%;
  color: var(--paper);
  background: var(--purple);
  transform: rotate(8deg);
}

.sticker-bottom strong {
  float: left;
  margin-right: 8px;
  font-size: 31px;
  line-height: 0.75;
}

.hero-ball {
  position: absolute;
  z-index: 5;
  display: grid;
  width: 47px;
  height: 47px;
  place-items: center;
  color: var(--paper);
  border: 3px solid var(--ink);
  border-radius: 35% 65% 60% 40%;
  box-shadow: 2px 4px 0 rgba(10, 29, 55, 0.9);
  font-size: 19px;
  font-weight: 700;
  transform: rotate(13deg);
}

.ball-orange {
  top: 15%;
  right: 14%;
  background: var(--orange);
}

.ball-purple {
  top: 32%;
  left: 6%;
  background: var(--purple);
  transform: rotate(-16deg);
}

.ball-blue {
  right: 7%;
  bottom: 12%;
  background: #3d8cdd;
  transform: rotate(28deg);
}

.signal-bar {
  color: var(--paper);
  background: var(--night);
}

.signal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 27px 0;
}

.signal-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 54px;
  border-right: 1px solid rgba(255, 253, 247, 0.2);
}

.signal-item:last-child {
  border-right: 0;
}

.signal-icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 13px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
}

.signal-bolt {
  color: var(--paper);
  background: var(--orange);
}

.signal-moon {
  color: var(--paper);
  background: var(--purple);
}

.signal-item b,
.signal-item small {
  display: block;
}

.signal-item b {
  font-size: 15px;
  font-weight: 600;
}

.signal-item small {
  margin-top: 2px;
  color: rgba(255, 253, 247, 0.58);
  font-size: 12px;
}

.feature-section {
  padding-top: 126px;
  padding-bottom: 136px;
}

.section-heading {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  grid-template-rows: auto auto;
  column-gap: 70px;
  align-items: end;
  max-width: 930px;
  margin-bottom: 54px;
}

.section-heading .eyebrow {
  grid-column: 1 / -1;
  margin-bottom: 18px;
}

.section-heading h2,
.gallery-heading h2,
.download-copy h2 {
  margin: 0;
  font-size: clamp(42px, 5vw, 70px);
  font-weight: 700;
  letter-spacing: -0.065em;
  line-height: 0.92;
}

.section-heading > p:last-child {
  max-width: 390px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 21px;
}

.feature-card {
  position: relative;
  min-height: 315px;
  padding: 28px 28px 30px;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.feature-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-6px) rotate(-1deg);
}

.feature-card-blue {
  color: var(--paper);
  background: var(--night);
}

.feature-card-yellow {
  color: var(--ink);
  background: var(--yellow);
}

.feature-card-purple {
  color: var(--paper);
  background: var(--purple);
}

.feature-card::after {
  position: absolute;
  right: -25px;
  bottom: -70px;
  width: 175px;
  height: 175px;
  content: "";
  border: 2px dashed currentColor;
  border-radius: 50%;
  opacity: 0.16;
}

.card-number {
  position: absolute;
  top: 28px;
  right: 28px;
  opacity: 0.5;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.feature-symbol {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 45px;
  place-items: center;
  color: var(--ink);
  background: var(--sky);
  border: 3px solid currentColor;
  border-radius: 18px;
  font-size: 32px;
  line-height: 1;
}

.symbol-coin {
  color: var(--orange-deep);
  background: #fff0a6;
}

.symbol-spark {
  color: var(--purple-deep);
  background: #d4c1ff;
}

.feature-card h3 {
  margin: 0 0 8px;
  font-size: 24px;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.feature-card p {
  max-width: 270px;
  margin: 0;
  color: inherit;
  opacity: 0.76;
  font-size: 15px;
  line-height: 1.45;
}

.card-arrow {
  position: absolute;
  right: 27px;
  bottom: 22px;
  font-size: 28px;
}

.gallery-section {
  padding: 102px 0 118px;
  color: var(--paper);
  background: var(--night-deep);
  overflow: hidden;
}

.gallery-section::before {
  position: absolute;
  width: 100%;
  height: 1px;
  content: "";
  background: rgba(255, 255, 255, 0.1);
}

.gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 58px;
}

.gallery-heading h2 {
  color: var(--paper);
}

.gallery-heading h2 em {
  color: var(--yellow);
}

.gallery-heading > p {
  max-width: 330px;
  margin: 0 0 5px;
  color: rgba(255, 253, 247, 0.64);
  font-size: 16px;
}

.gallery-scroll-note {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: -28px 0 25px;
  color: rgba(255, 253, 247, 0.56);
  font-size: 13px;
}

.gallery-scroll-note span {
  color: var(--yellow);
  font-size: 24px;
  line-height: 1;
}

.screenshots {
  display: flex;
  align-items: start;
  gap: 22px;
  margin-inline: -10px;
  min-width: 0;
  padding: 8px 10px 25px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-color: rgba(255, 207, 72, 0.78) rgba(255, 255, 255, 0.12);
  scrollbar-width: thin;
  -webkit-overflow-scrolling: touch;
}

.screenshots::-webkit-scrollbar {
  height: 9px;
}

.screenshots::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.12);
  border-radius: 100px;
}

.screenshots::-webkit-scrollbar-thumb {
  background: var(--yellow);
  border: 2px solid var(--night-deep);
  border-radius: 100px;
}

.screenshot {
  width: clamp(220px, 23vw, 265px);
  min-width: 0;
  flex: 0 0 clamp(220px, 23vw, 265px);
  margin: 0;
  scroll-snap-align: start;
}

.screenshot-offset {
  padding-top: 56px;
}

.screenshot-high {
  padding-top: 15px;
}

.phone-frame {
  width: 100%;
  height: clamp(360px, 38vw, 430px);
  overflow: hidden;
  padding: 6px;
  background: #182d52;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 26px;
  box-shadow: 0 22px 30px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.screenshot:hover .phone-frame {
  box-shadow: 0 30px 46px rgba(0, 0, 0, 0.38);
  transform: translateY(-9px) rotate(1deg);
}

.phone-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
}

.screenshot figcaption {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  color: rgba(255, 253, 247, 0.75);
  font-size: 13px;
}

.screenshot figcaption span {
  color: var(--yellow);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.download-section {
  padding-top: 120px;
  padding-bottom: 120px;
}

.download-card {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  min-height: 430px;
  overflow: hidden;
  color: var(--paper);
  background: var(--orange);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.download-copy {
  position: relative;
  z-index: 2;
  padding: 63px 0 62px 63px;
}

.download-copy .eyebrow {
  color: var(--paper-warm);
}

.download-copy h2 {
  color: var(--paper);
}

.download-copy h2 em {
  color: var(--yellow);
}

.download-copy > p:not(.eyebrow) {
  max-width: 315px;
  margin: 23px 0 27px;
  color: rgba(255, 253, 247, 0.82);
  font-size: 16px;
}

.play-button-dark {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--paper);
  box-shadow: 0 6px 0 var(--orange-deep);
}

.play-button-dark:hover {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 3px 0 var(--orange-deep);
}

.play-button-dark small {
  color: #6e7a85;
}

.download-art {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: #ff9f52;
}

.download-art::after {
  position: absolute;
  right: -70px;
  bottom: -145px;
  width: 540px;
  height: 290px;
  content: "";
  background: #34ad72;
  border-radius: 50% 50% 0 0;
  transform: rotate(-8deg);
}

.download-sun {
  position: absolute;
  top: 56px;
  right: 180px;
  width: 150px;
  height: 150px;
  background: var(--yellow);
  border-radius: 50%;
  opacity: 0.95;
}

.download-mountain {
  position: absolute;
  bottom: 76px;
  width: 430px;
  height: 190px;
  background: #4d76b4;
  clip-path: polygon(0 100%, 28% 42%, 43% 69%, 63% 16%, 80% 50%, 100% 22%, 100% 100%);
}

.mountain-back {
  right: -50px;
  opacity: 0.83;
}

.mountain-front {
  right: 90px;
  bottom: 51px;
  background: #285b91;
  transform: scale(0.78);
  transform-origin: bottom right;
}

.download-cannon {
  position: absolute;
  z-index: 2;
  right: 144px;
  bottom: 47px;
  width: 114px;
  height: 74px;
  background: #f68b16;
  border: 5px solid var(--ink);
  border-radius: 26px 28px 18px 18px;
  box-shadow: inset 0 -10px 0 rgba(172, 63, 20, 0.25), 0 7px 0 rgba(10, 29, 55, 0.35);
  transform: rotate(-7deg);
}

.download-cannon::before,
.download-cannon::after {
  position: absolute;
  bottom: -27px;
  width: 39px;
  height: 39px;
  content: "";
  background: #172439;
  border: 6px solid #10192a;
  border-radius: 50%;
  box-shadow: inset 0 0 0 7px #4b5a6a;
}

.download-cannon::before {
  left: 7px;
}

.download-cannon::after {
  right: 7px;
}

.download-cannon span {
  position: absolute;
  z-index: 1;
  top: -79px;
  left: 37px;
  width: 41px;
  height: 94px;
  background: #ffaf28;
  border: 5px solid var(--ink);
  border-radius: 14px 14px 9px 9px;
  box-shadow: inset 0 -10px 0 rgba(172, 63, 20, 0.2);
  transform: rotate(7deg);
}

.download-cannon span::before {
  position: absolute;
  top: 9px;
  left: 7px;
  width: 17px;
  height: 6px;
  content: "";
  background: #a5511e;
  border-radius: 50%;
}

.download-shot {
  position: absolute;
  z-index: 3;
  width: 11px;
  height: 11px;
  background: #ffef9b;
  border: 2px solid var(--ink);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 239, 155, 0.25);
}

.shot-one { right: 223px; bottom: 190px; }
.shot-two { right: 252px; bottom: 251px; }
.shot-three { right: 280px; bottom: 312px; }

.download-burst {
  position: absolute;
  z-index: 3;
  top: 72px;
  right: 108px;
  color: var(--paper);
  font-size: 54px;
  transform: rotate(14deg);
}

.site-footer {
  padding: 35px 0 25px;
  color: var(--paper);
  background: var(--ink);
}

.site-footer-dark {
  background: var(--night-deep);
}

.footer-top,
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-top {
  padding-bottom: 29px;
  border-bottom: 1px solid rgba(255, 253, 247, 0.15);
}

.brand-footer {
  font-size: 21px;
}

.brand-footer img {
  width: 42px;
  height: 42px;
  border-radius: 13px;
}

.footer-top > p {
  margin: 0;
  color: rgba(255, 253, 247, 0.55);
  font-size: 14px;
}

.footer-play-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 600;
}

.footer-bottom {
  padding-top: 23px;
  color: rgba(255, 253, 247, 0.55);
  font-size: 12px;
}

.footer-links {
  display: flex;
  gap: 21px;
}

.footer-links a:hover,
.footer-email a:hover {
  color: var(--yellow);
}

.footer-email a {
  color: rgba(255, 253, 247, 0.72);
}

/* Internal pages */
.internal-page {
  min-height: 100vh;
  color: var(--ink);
  background: linear-gradient(180deg, var(--night) 0 390px, var(--paper) 390px 100%);
}

.internal-hero {
  padding-top: 78px;
  padding-bottom: 92px;
  color: var(--paper);
}

.internal-hero h1 {
  color: var(--paper);
  font-size: clamp(60px, 9vw, 104px);
}

.internal-hero h1 em {
  color: var(--yellow);
}

.internal-intro {
  max-width: 450px;
  margin: 29px 0 0;
  color: rgba(255, 253, 247, 0.7);
  font-size: 18px;
}

.contact-panel-wrap {
  padding-bottom: 28px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 100px 1fr;
  align-items: start;
  gap: 30px;
  max-width: 800px;
  padding: 43px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.contact-icon {
  display: grid;
  width: 100px;
  height: 100px;
  place-items: center;
  color: var(--paper);
  background: var(--orange);
  border: 5px solid var(--ink);
  border-radius: 31px;
  box-shadow: 5px 6px 0 var(--ink);
  font-size: 49px;
  font-weight: 700;
  transform: rotate(-7deg);
}

.panel-label {
  margin: 0 0 4px;
  color: var(--orange-deep);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.contact-panel h2 {
  margin: 0;
  font-size: 37px;
  letter-spacing: -0.05em;
  line-height: 1;
}

.contact-panel p:not(.panel-label) {
  max-width: 470px;
  margin: 14px 0 17px;
  color: var(--ink-soft);
  font-size: 16px;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--orange-deep);
  font-size: 21px;
  font-weight: 600;
}

.contact-note {
  display: flex;
  align-items: center;
  gap: 15px;
  max-width: 800px;
  padding-bottom: 123px;
  color: var(--ink-soft);
  font-size: 14px;
}

.contact-note p {
  max-width: 620px;
  margin: 0;
}

.note-mark {
  display: grid;
  width: 32px;
  height: 32px;
  flex: 0 0 auto;
  place-items: center;
  color: var(--ink);
  background: var(--yellow);
  border-radius: 10px;
}

/* Legal document pages */
.document-page {
  background: linear-gradient(180deg, var(--night) 0 405px, var(--sky-light) 405px 100%);
}

.document-hero {
  padding-top: 51px;
  padding-bottom: 80px;
  color: var(--paper);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 52px;
  color: rgba(255, 253, 247, 0.68);
  font-size: 14px;
  font-weight: 500;
}

.back-link:hover {
  color: var(--yellow);
}

.back-link span {
  font-size: 20px;
}

.document-hero h1 {
  color: var(--paper);
  font-size: clamp(55px, 8vw, 92px);
}

.document-hero h1 em {
  color: var(--yellow);
}

.document-meta {
  margin: 24px 0 0;
  color: rgba(255, 253, 247, 0.6);
  font-size: 13px;
}

.document-card {
  max-width: 900px;
  padding: 61px 70px 75px;
  margin-bottom: 120px;
  background: var(--paper);
  border: 1px solid rgba(10, 29, 55, 0.1);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.document-lead {
  margin: 0 0 43px;
  color: var(--ink);
  font-size: 21px;
  line-height: 1.45;
}

.document-card h2 {
  margin: 38px 0 10px;
  color: var(--ink);
  font-size: 24px;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.document-card h2:first-of-type {
  margin-top: 0;
}

.document-card p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

.document-card a {
  color: var(--orange-deep);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.document-card a:hover {
  color: var(--purple);
}

.document-card .document-email {
  font-weight: 600;
}

@media (max-width: 1020px) {
  .hero {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .hero-visual {
    margin-right: -25px;
  }

  .hero-visual::before {
    width: 490px;
  }

  .hero-sticker {
    font-size: 10px;
  }

  .screenshots {
    gap: 17px;
  }

  .download-copy {
    padding-left: 47px;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 38px), var(--container));
  }

  .site-header {
    padding: 17px 0;
  }

  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 2px);
    right: 19px;
    left: 19px;
    display: none;
    align-items: stretch;
    flex-direction: column;
    gap: 0;
    padding: 9px;
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }

  .site-header-dark .site-nav {
    color: var(--ink);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav > a {
    padding: 13px 15px;
    border-radius: 11px;
  }

  .site-nav > a:hover,
  .site-nav > a[aria-current="page"] {
    background: var(--sky-light);
  }

  .site-nav .nav-download {
    justify-content: center;
    margin-top: 5px;
    color: var(--paper);
  }

  .hero {
    display: block;
    min-height: 0;
    padding-top: 46px;
    padding-bottom: 70px;
  }

  .hero-copy {
    max-width: 650px;
    margin-inline: auto;
    text-align: center;
  }

  .hero .eyebrow,
  .hero-actions,
  .hero-note {
    justify-content: center;
  }

  .hero-lede {
    margin-right: auto;
    margin-left: auto;
  }

  .hero-visual {
    width: min(100%, 700px);
    min-height: 420px;
    margin: 25px auto 0;
  }

  .signal-grid {
    gap: 8px;
  }

  .signal-item {
    justify-content: flex-start;
    gap: 9px;
  }

  .signal-icon {
    width: 34px;
    height: 34px;
    font-size: 21px;
  }

  .signal-item b {
    font-size: 13px;
  }

  .signal-item small {
    font-size: 10px;
  }

  .feature-section {
    padding-top: 90px;
    padding-bottom: 100px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .section-heading > p:last-child {
    max-width: 520px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card {
    min-height: 240px;
  }

  .feature-symbol {
    margin-bottom: 27px;
  }

  .gallery-heading {
    display: block;
  }

  .gallery-heading > p {
    max-width: 540px;
    margin-top: 24px;
  }

  .screenshots {
    gap: 17px;
    padding-bottom: 20px;
  }

  .screenshot,
  .screenshot-offset,
  .screenshot-high {
    width: 220px;
    flex: 0 0 220px;
    padding-top: 0;
  }

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

  .download-copy {
    padding: 48px 40px 38px;
  }

  .download-art {
    min-height: 300px;
  }

  .download-art::after {
    bottom: -165px;
  }

  .download-cannon {
    right: 30%;
    bottom: 42px;
  }

  .download-sun {
    right: 31%;
    top: 37px;
  }

  .download-burst {
    top: 50px;
    right: 24%;
  }

  .shot-one { right: 42%; bottom: 185px; }
  .shot-two { right: 48%; bottom: 239px; }
  .shot-three { right: 54%; bottom: 292px; }

  .internal-hero {
    padding-top: 52px;
    padding-bottom: 70px;
  }

  .document-hero {
    padding-top: 40px;
    padding-bottom: 65px;
  }

  .document-card {
    padding: 47px 40px 58px;
  }
}

@media (max-width: 580px) {
  body {
    font-size: 16px;
  }

  .container {
    width: min(calc(100% - 30px), var(--container));
  }

  .brand {
    gap: 9px;
    font-size: 21px;
  }

  .brand img {
    width: 42px;
    height: 42px;
    border-radius: 13px;
  }

  .hero {
    padding-top: 40px;
    padding-bottom: 50px;
  }

  .hero h1 {
    font-size: clamp(60px, 18vw, 88px);
  }

  .hero-lede {
    margin-top: 24px;
    font-size: 17px;
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 18px;
  }

  .play-button {
    justify-content: center;
  }

  .hero-visual {
    min-height: 250px;
    margin-top: 35px;
  }

  .hero-visual::before {
    width: 95%;
    height: 230px;
  }

  .hero-art-frame {
    border-width: 5px;
    border-radius: 18px;
    transform: rotate(0);
  }

  .orbit-one {
    width: 290px;
    height: 290px;
  }

  .orbit-two {
    width: 250px;
    height: 250px;
  }

  .hero-sticker {
    padding: 7px 8px;
    border-width: 2px;
    box-shadow: 2px 3px 0 var(--ink);
    font-size: 8px;
  }

  .sticker-top {
    top: -9%;
    left: 0;
  }

  .sticker-top span {
    font-size: 13px;
  }

  .sticker-bottom {
    right: -3%;
    bottom: -4%;
  }

  .sticker-bottom strong {
    font-size: 22px;
  }

  .hero-ball {
    width: 31px;
    height: 31px;
    border-width: 2px;
    box-shadow: 1px 2px 0 rgba(10, 29, 55, 0.9);
    font-size: 12px;
  }

  .ball-orange { top: 5%; right: 13%; }
  .ball-purple { top: 25%; left: -2%; }
  .ball-blue { right: 2%; bottom: 6%; }

  .signal-grid {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px 0;
  }

  .signal-item {
    justify-content: flex-start;
    min-height: 55px;
    padding: 8px 9px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 253, 247, 0.16);
  }

  .signal-item:last-child {
    border-bottom: 0;
  }

  .signal-icon {
    width: 35px;
    height: 35px;
  }

  .feature-section {
    padding-top: 74px;
    padding-bottom: 78px;
  }

  .section-heading h2,
  .gallery-heading h2,
  .download-copy h2 {
    font-size: 45px;
  }

  .section-heading {
    margin-bottom: 37px;
  }

  .feature-card {
    min-height: 258px;
    padding: 23px;
  }

  .card-number {
    top: 23px;
    right: 23px;
  }

  .gallery-section {
    padding: 75px 0 82px;
  }

  .gallery-heading {
    margin-bottom: 37px;
  }

  .gallery-heading > p {
    font-size: 15px;
  }

  .gallery-scroll-note {
    justify-content: flex-start;
    margin: -14px 0 19px;
    font-size: 12px;
  }

  .screenshot,
  .screenshot-offset,
  .screenshot-high {
    width: 205px;
    flex-basis: 205px;
  }

  .phone-frame {
    padding: 4px;
    border-radius: 20px;
  }

  .phone-frame img {
    border-radius: 15px;
  }

  .download-section {
    padding-top: 70px;
    padding-bottom: 72px;
  }

  .download-card {
    border-radius: 24px;
  }

  .download-copy {
    padding: 38px 24px 31px;
  }

  .download-copy > p:not(.eyebrow) {
    font-size: 15px;
  }

  .download-art {
    min-height: 260px;
  }

  .download-sun {
    right: 27%;
    width: 108px;
    height: 108px;
  }

  .download-mountain {
    right: -100px;
    bottom: 57px;
    transform: scale(0.77);
    transform-origin: bottom right;
  }

  .mountain-front {
    right: -24px;
    bottom: 38px;
  }

  .download-cannon {
    right: 27%;
    bottom: 29px;
    transform: scale(0.78) rotate(-7deg);
    transform-origin: bottom right;
  }

  .download-burst {
    top: 38px;
    right: 17%;
    font-size: 42px;
  }

  .shot-one { right: 38%; bottom: 157px; }
  .shot-two { right: 45%; bottom: 198px; }
  .shot-three { right: 52%; bottom: 237px; }

  .footer-top,
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
  }

  .footer-top {
    padding-bottom: 24px;
  }

  .footer-bottom {
    padding-top: 20px;
  }

  .footer-links {
    order: 2;
  }

  .footer-email {
    order: 3;
  }

  .internal-page,
  .document-page {
    background: linear-gradient(180deg, var(--night) 0 365px, var(--paper) 365px 100%);
  }

  .document-page {
    background: linear-gradient(180deg, var(--night) 0 380px, var(--sky-light) 380px 100%);
  }

  .internal-hero {
    padding-top: 39px;
    padding-bottom: 56px;
  }

  .internal-hero h1,
  .document-hero h1 {
    font-size: clamp(54px, 17vw, 78px);
  }

  .internal-intro {
    margin-top: 22px;
    font-size: 16px;
  }

  .contact-panel {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 29px 24px 32px;
    border-radius: 24px;
  }

  .contact-icon {
    width: 75px;
    height: 75px;
    border-width: 3px;
    border-radius: 23px;
    box-shadow: 3px 4px 0 var(--ink);
    font-size: 38px;
  }

  .contact-panel h2 {
    font-size: 31px;
  }

  .contact-panel p:not(.panel-label) {
    font-size: 15px;
  }

  .email-link {
    font-size: 18px;
  }

  .contact-note {
    align-items: flex-start;
    padding-top: 3px;
    padding-bottom: 75px;
    font-size: 13px;
  }

  .document-hero {
    padding-top: 29px;
    padding-bottom: 50px;
  }

  .back-link {
    margin-bottom: 37px;
  }

  .document-meta {
    margin-top: 19px;
  }

  .document-card {
    width: min(calc(100% - 30px), var(--container));
    padding: 37px 23px 43px;
    margin-bottom: 75px;
    border-radius: 24px;
  }

  .document-lead {
    margin-bottom: 33px;
    font-size: 18px;
  }

  .document-card h2 {
    margin-top: 31px;
    font-size: 21px;
  }

  .document-card p {
    font-size: 15px;
    line-height: 1.65;
  }
}

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