@font-face {
  font-family: Space;
  src: url('assets/space-grotesk.ttf') format('truetype');
  font-display: swap;
}

:root {
  color-scheme: dark;
  --bg: #10131d;
  --panel: #181d2a;
  --panel-soft: #151925;
  --ink: #f6f7fb;
  --muted: #a9b0c1;
  --line: #30394c;
  --accent: #ffd73d;
  --cyan: #34c6ff;
  --green: #3bd578;
  --red: #ff5c5f;
  --pink: #ee72ad;
  --violet: #9f6ef4;
  --blue: #377cf0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(54rem 34rem at 77% -17%, #31436b38, transparent 67%),
    radial-gradient(34rem 28rem at -10% 48%, #6f3d8530, transparent 69%), var(--bg);
  font:
    16px/1.6 Inter,
    ui-sans-serif,
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    'Segoe UI',
    sans-serif;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

h1,
h2,
h3,
p {
  margin-top: 0;
}

.wrap {
  width: min(1224px, calc(100% - 80px));
  margin: auto;
}

.skip {
  position: absolute;
  z-index: 100;
  top: -5rem;
  left: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 0 0 0.75rem 0.75rem;
  color: #141722;
  background: var(--accent);
  font-weight: 800;
}

.skip:focus {
  top: 0;
}

.site-header {
  border-bottom: 1px solid #ffffff0d;
  background: #10131de8;
  backdrop-filter: blur(18px);
}

.header-inner {
  display: flex;
  min-height: 84px;
  align-items: center;
  gap: 1.15rem;
}

.studio-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--ink);
  font:
    700 1.66rem/1 Space,
    ui-sans-serif,
    sans-serif;
  letter-spacing: -0.1em;
  text-decoration: none;
}

.studio-dot {
  width: 0.56rem;
  height: 0.56rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 1.4rem #ffd73d8c;
}

.app-nav-title {
  max-width: 12rem;
  padding-left: 1.05rem;
  border-left: 1px solid var(--line);
  color: var(--muted);
  font:
    500 0.91rem/1 Space,
    ui-sans-serif,
    sans-serif;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.65rem;
  margin-left: auto;
  color: var(--muted);
  font-size: 0.83rem;
}

.nav a {
  text-decoration: none;
}

.nav a:hover,
.quiet-link:hover,
footer a:hover {
  color: var(--ink);
}

.nav-pill {
  padding: 0.42rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
}

.app-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(370px, 0.98fr);
  min-height: 682px;
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
  padding: 4.7rem 0 4rem;
}

.app-identity {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.55rem;
  color: #dce2f0;
  font:
    500 1.05rem/1 Space,
    ui-sans-serif,
    sans-serif;
}

.app-identity img {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.83rem;
  box-shadow: 0 0.45rem 1.5rem #0009;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.78rem;
  color: #c3cad8;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.145em;
  text-transform: uppercase;
}

.signal {
  width: 0.43rem;
  height: 0.43rem;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0.8rem #ffd73daa;
}

h1,
h2,
h3,
.button,
.support-copy a {
  font-family: Space, ui-sans-serif, sans-serif;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.55rem;
  font-size: clamp(3.3rem, 6vw, 5.75rem);
  font-weight: 580;
  line-height: 0.98;
  letter-spacing: -0.085em;
}

h1 em {
  color: var(--accent);
  font-style: normal;
}

.lede {
  max-width: 35rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.07rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.72rem;
  margin: 2rem 0 1.25rem;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.72rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 750;
  text-decoration: none;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: #17191f;
  background: var(--accent);
  box-shadow: 0 0.5rem 1.4rem #f8c72f2e;
}

.button.secondary {
  border-color: var(--line);
  background: #ffffff08;
}

.button.secondary:hover {
  border-color: #ffffff55;
  background: #ffffff12;
}

.small {
  font-size: 0.78rem;
}

.muted {
  color: var(--muted);
}

.product-art {
  position: relative;
  display: grid;
  min-height: 580px;
  place-items: center;
  isolation: isolate;
}

.hero-shot {
  position: relative;
  z-index: 2;
  width: auto;
  max-width: min(100%, 292px);
  height: min(574px, 48vw);
  border: 1px solid #ffffff24;
  border-radius: 1.75rem;
  box-shadow: 0 2rem 4.8rem #000a;
  object-fit: cover;
  object-position: top;
}

.orbit {
  position: absolute;
  z-index: -1;
  width: min(92%, 510px);
  aspect-ratio: 1;
  border: 1px solid #8facff2d;
  border-radius: 50%;
  background: radial-gradient(circle, #34488142 0, transparent 67%);
}

.orbit-two {
  width: min(112%, 610px);
  border-color: #f0a8d325;
}

.tile-cluster {
  position: absolute;
  z-index: 3;
  top: 4.5rem;
  right: max(-0.7rem, 2%);
  display: grid;
  width: 8.35rem;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.16rem;
  transform: rotate(7deg);
  filter: drop-shadow(0 0.8rem 0.9rem #0009);
}

.tile {
  aspect-ratio: 0.87;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  border: 1px solid #ffffff40;
  box-shadow:
    inset 0 2px #ffffff66,
    inset 0 -3px #00000052;
}

.tile:nth-child(4n + 2),
.tile:nth-child(4n + 4) {
  transform: translateY(50%);
}

.blue {
  background: var(--blue);
}
.yellow {
  background: var(--accent);
}
.pink {
  background: var(--pink);
}
.green {
  background: var(--green);
}
.red {
  background: var(--red);
}
.violet {
  background: var(--violet);
}

.art-caption {
  position: absolute;
  bottom: 0.5rem;
  left: 0;
  z-index: 3;
  color: #a9b0c1;
  font-size: 0.63rem;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.product-band {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 1.5rem 0;
  border-block: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.8rem;
}

.product-band span {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.product-band strong {
  color: var(--accent);
  font:
    650 0.88rem/1 Space,
    ui-sans-serif,
    sans-serif;
}

.section {
  padding: 7.2rem 0;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(16rem, 0.64fr);
  align-items: end;
  gap: 4rem;
  margin-bottom: 3rem;
}

.section-head > p {
  max-width: 27rem;
  margin-bottom: 0.4rem;
  color: var(--muted);
  font-size: 0.96rem;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.35rem, 4.3vw, 4.15rem);
  font-weight: 550;
  line-height: 1.01;
  letter-spacing: -0.075em;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  min-height: 15.1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.feature-card::before {
  display: block;
  width: 0.68rem;
  height: 0.68rem;
  margin-bottom: 1.3rem;
  clip-path: polygon(25% 0, 75% 0, 100% 50%, 75% 100%, 25% 100%, 0 50%);
  content: '';
}

.accent-cyan::before {
  background: var(--cyan);
}
.accent-green::before {
  background: var(--green);
}
.accent-red::before {
  background: var(--red);
}
.accent-yellow::before {
  background: var(--accent);
}

.feature-number {
  color: var(--muted);
  font:
    500 0.72rem/1 Space,
    ui-sans-serif,
    sans-serif;
}

.feature-card h3 {
  margin: 1.65rem 0 0.55rem;
  font-size: 1.4rem;
  font-weight: 550;
  letter-spacing: -0.055em;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.89rem;
}

.gallery-section {
  overflow: hidden;
  border-block: 1px solid #ffffff0d;
}

.gallery-head {
  margin-bottom: 2.3rem;
}

.gallery {
  display: grid;
  grid-template-columns: 0.85fr 1.14fr 0.85fr;
  gap: clamp(1rem, 3.5vw, 3rem);
  align-items: end;
  padding: 0 3.4% 1.5rem;
}

.gallery-item {
  position: relative;
  margin: 0;
  overflow: hidden;
  border: 1px solid #ffffff24;
  border-radius: 1.35rem;
  background: #080b12;
  box-shadow: 0 1.35rem 3rem #02040b8c;
}

.gallery-item img {
  width: 100%;
  height: auto;
}

.gallery-item figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 2.7rem 1.1rem 1rem;
  background: linear-gradient(transparent, #080b12e8);
  color: #f5f6fb;
  font:
    500 0.78rem/1.2 Space,
    ui-sans-serif,
    sans-serif;
}

.shot-home {
  transform: rotate(-5deg) translateY(2.1rem);
}
.shot-game {
  z-index: 1;
}
.shot-premium {
  transform: rotate(5deg) translateY(2.1rem);
}

.premium-panel {
  display: grid;
  grid-template-columns: 5.8rem minmax(0, 1fr) minmax(16rem, 0.62fr);
  align-items: center;
  gap: clamp(1.5rem, 3vw, 3.4rem);
  margin: 7.1rem 0 0;
  padding: 2rem;
  border: 1px solid #d6a4ff4d;
  border-radius: 1.65rem;
  background:
    radial-gradient(circle at 2% 100%, #8b4fcc4d, transparent 30%),
    linear-gradient(118deg, #241b37, #171c2a 61%, #21294b);
}

.premium-mark {
  display: grid;
  width: 5.8rem;
  height: 5.8rem;
  place-items: center;
  border: 1px solid #ffffff24;
  border-radius: 1.25rem;
  background: #ffffff0b;
}

.premium-mark img {
  width: 4.25rem;
  border-radius: 1rem;
  box-shadow: 0 0.55rem 1.5rem #0008;
}

.premium-panel .eyebrow {
  color: #edc9ff;
}
.premium-panel .signal {
  background: #e2abff;
  box-shadow: 0 0 0.8rem #e2abffaa;
}
.premium-panel h2 {
  font-size: clamp(2.05rem, 3.5vw, 3.15rem);
}
.premium-panel > p {
  margin: 0;
  color: #bdc2d2;
  font-size: 0.91rem;
}

.support-section {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, 0.64fr);
  gap: 4rem;
  align-items: end;
}

.support-copy p {
  max-width: 29rem;
  color: var(--muted);
}

.support-copy a {
  display: inline-block;
  margin-top: 0.25rem;
  color: var(--accent);
  font-size: clamp(1.2rem, 2vw, 1.72rem);
  font-weight: 520;
  letter-spacing: -0.05em;
  text-decoration: none;
}

.support-copy a:hover {
  color: #fff0a8;
}

.site-footer,
.legacy-footer {
  border-top: 1px solid var(--line);
}

.footer-inner,
footer.wrap {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 2rem 0 2.4rem;
  color: var(--muted);
  font-size: 0.75rem;
}

.footer-inner nav,
footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-inner a,
footer a {
  text-decoration: none;
}

/* Privacy policy */
.topbar {
  display: flex;
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.72rem;
  font:
    600 1.15rem/1 Space,
    ui-sans-serif,
    sans-serif;
  letter-spacing: -0.055em;
  text-decoration: none;
}

.brand img {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.78rem;
}

.brand span span {
  color: var(--accent);
}

.quiet-link {
  color: var(--muted);
  font-size: 0.82rem;
}

.policy {
  max-width: 53.75rem;
  padding: 4rem 0 6rem;
}

.policy > h1 {
  max-width: 11ch;
  font-size: clamp(3rem, 6vw, 5rem);
}

.updated {
  color: var(--muted);
}

.policy article {
  margin-top: 2.7rem;
  padding: clamp(1.5rem, 5vw, 3.2rem);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  background: var(--panel-soft);
}

.policy article h2 {
  margin: 2.8rem 0 0.7rem;
  font-size: 1.55rem;
  letter-spacing: -0.05em;
}

.policy article h2:first-child {
  margin-top: 0;
}
.policy article p {
  color: var(--muted);
}
.policy article a {
  color: #b8dcff;
  text-underline-offset: 0.2rem;
}

@media (max-width: 880px) {
  .app-hero {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.78fr);
    gap: 2.4rem;
  }
  .hero-shot {
    height: min(530px, 58vw);
  }
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1rem;
  }
  .feature-card {
    min-height: 13.2rem;
  }
  .premium-panel {
    grid-template-columns: 5.3rem minmax(0, 1fr);
  }
  .premium-panel > p {
    grid-column: 2;
  }
}

@media (max-width: 700px) {
  .wrap {
    width: min(100% - 2rem, 1224px);
  }
  .header-inner {
    min-height: 72px;
  }
  .app-nav-title,
  .nav a:not(.nav-pill) {
    display: none;
  }
  .nav {
    gap: 0;
  }
  .studio-brand {
    font-size: 1.48rem;
  }
  .app-hero {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: 2.1rem;
    padding: 3.2rem 0 3rem;
  }
  .hero-copy {
    order: 1;
  }
  .product-art {
    min-height: 31rem;
    order: 2;
  }
  .hero-shot {
    height: 29rem;
    max-width: 14.75rem;
  }
  .tile-cluster {
    top: 1.8rem;
    right: 2%;
  }
  h1 {
    font-size: clamp(3.35rem, 15vw, 4.8rem);
  }
  .product-band {
    grid-template-columns: 1fr;
    gap: 0.78rem;
    padding: 1.18rem 0;
  }
  .section {
    padding: 5rem 0;
  }
  .section-head,
  .support-section {
    grid-template-columns: 1fr;
    gap: 1.35rem;
  }
  .section-head {
    margin-bottom: 2.2rem;
  }
  .gallery {
    gap: 0.65rem;
    padding: 0 0.35rem 1rem;
  }
  .gallery-item {
    border-radius: 0.82rem;
  }
  .gallery-item figcaption {
    display: none;
  }
  .shot-home {
    transform: rotate(-5deg) translateY(0.9rem);
  }
  .shot-premium {
    transform: rotate(5deg) translateY(0.9rem);
  }
  .premium-panel {
    grid-template-columns: 4.2rem minmax(0, 1fr);
    gap: 1.1rem;
    margin-top: 5rem;
    padding: 1.35rem;
  }
  .premium-mark {
    width: 4.2rem;
    height: 4.2rem;
    border-radius: 1rem;
  }
  .premium-mark img {
    width: 3.15rem;
  }
  .premium-panel > p {
    grid-column: 1 / -1;
    margin-top: 0.2rem;
  }
  .footer-inner,
  footer.wrap {
    display: block;
  }
  .footer-inner nav,
  footer nav {
    margin-top: 0.8rem;
  }
}

@media (max-width: 430px) {
  .actions {
    align-items: stretch;
  }
  .button {
    width: 100%;
  }
  .features-grid {
    grid-template-columns: 1fr;
  }
  .feature-card {
    min-height: 0;
    padding-bottom: 1.5rem;
  }
  .product-art {
    min-height: 28rem;
  }
  .hero-shot {
    height: 26rem;
  }
  .art-caption {
    left: 0.25rem;
  }
}
