@font-face {
  font-family: "MT Rubik";
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
  src: url("/app/static/themes/monkeytilt/fonts/Rubik-Variable.woff2")
    format("woff2-variations");
}

@font-face {
  font-family: "MT Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/app/static/themes/monkeytilt/fonts/BebasNeue-Regular.woff2")
    format("woff2");
}

:root {
  color-scheme: dark;
  --font: "MT Rubik", Rubik, ui-sans-serif, system-ui, sans-serif;
  --font-display: "MT Bebas Neue", Impact, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: #070708;
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #070708;
  color: #fafafa;
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

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

button {
  border: 0;
}

a {
  text-decoration: none;
}

svg {
  display: block;
  flex: none;
}

.landing {
  --landing-max: 1480px;
  min-height: 100dvh;
  overflow: clip;
  background:
    radial-gradient(
      70% 50% at 82% 12%,
      rgba(255, 229, 0, 0.09),
      transparent 60%
    ),
    radial-gradient(45% 38% at 8% 32%, rgba(96, 20, 145, 0.2), transparent 70%),
    #070708;
  color: #fafafa;
  font-family: var(--font);
}

.landing::before {
  position: fixed;
  z-index: 0;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 65%);
  pointer-events: none;
}

.landing > * {
  position: relative;
  z-index: 1;
}

.landing-header {
  position: sticky;
  z-index: 80;
  top: 0;
  display: grid;
  width: 100%;
  height: 76px;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(7, 7, 8, 0.8);
  backdrop-filter: blur(22px) saturate(130%);
  padding: env(safe-area-inset-top, 0)
    max(28px, calc((100vw - var(--landing-max)) / 2));
}

.landing-header__brand {
  display: flex;
  width: max-content;
  height: 66px;
  align-items: center;
}

.landing-header__brand img {
  width: 112px;
  height: 62px;
  object-fit: contain;
}

.landing-header__nav {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  background: rgba(24, 24, 27, 0.78);
  padding: 4px;
}

.landing-header__nav a {
  min-height: 38px;
  border-radius: 999px;
  padding: 10px 16px;
  color: #a1a1aa;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  transition:
    background-color 160ms ease,
    color 160ms ease;
}

.landing-header__nav a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fafafa;
}

.landing-header__actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.landing-button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 11px;
  cursor: pointer;
  padding: 10px 18px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 750;
  line-height: 20px;
  transition:
    transform 160ms ease,
    border-color 160ms ease,
    background-color 160ms ease,
    box-shadow 160ms ease;
}

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

.landing-button:active:not(:disabled) {
  transform: translateY(0) scale(0.985);
}

.landing-button--quiet {
  border-color: rgba(255, 255, 255, 0.11);
  background: rgba(39, 39, 42, 0.72);
  color: #fafafa;
}

.landing-button--primary,
.landing-button--play {
  border-color: #fff06a;
  background:
    radial-gradient(circle at 50% 0, #fffca0 0, transparent 42%),
    linear-gradient(180deg, #ffe500 0%, #f4bd00 100%);
  box-shadow:
    inset 0 1px rgba(255, 255, 255, 0.65),
    inset 0 -2px rgba(215, 137, 0, 0.75),
    0 0 32px rgba(255, 229, 0, 0.18);
  color: #09090b;
}

.landing-button--glass {
  border-color: rgba(255, 255, 255, 0.13);
  background: rgba(24, 24, 27, 0.78);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05);
  color: #fafafa;
}

.landing-button svg {
  width: 18px;
  height: 18px;
}

.landing-hero {
  position: relative;
  display: grid;
  width: min(calc(100% - 56px), var(--landing-max));
  min-height: 790px;
  grid-template-columns: minmax(390px, 0.82fr) minmax(560px, 1.18fr);
  align-items: center;
  gap: clamp(34px, 4.6vw, 84px);
  margin: 0 auto;
  padding: 72px 0 138px;
}

.landing-hero__glow {
  position: absolute;
  z-index: -1;
  width: 800px;
  height: 800px;
  top: -240px;
  right: -220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 229, 0, 0.12), transparent 66%);
  filter: blur(24px);
}

.landing-hero__copy {
  position: relative;
  z-index: 3;
}

.landing-eyebrow,
.landing-heading > span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #f4dc03;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.16em;
  line-height: 16px;
  text-transform: uppercase;
}

.landing-eyebrow i {
  width: 24px;
  height: 2px;
  background: #ffe500;
  box-shadow: 0 0 14px rgba(255, 229, 0, 0.55);
}

.landing-hero h1 {
  max-width: 760px;
  margin: 24px 0 20px;
  color: #fafafa;
  font-family: var(--font-display);
  font-size: clamp(68px, 6.25vw, 112px);
  font-weight: 400;
  letter-spacing: 0.012em;
  line-height: 0.82;
  text-wrap: balance;
  text-transform: uppercase;
}

.landing-hero h1 em {
  color: #ffe500;
  font-style: normal;
  text-shadow: 0 0 42px rgba(255, 229, 0, 0.17);
}

.landing-hero__copy > p {
  max-width: 570px;
  margin: 0;
  color: #b4b4bc;
  font-size: clamp(16px, 1.3vw, 20px);
  line-height: 1.65;
}

.landing-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.landing-button--play {
  min-height: 54px;
  padding: 14px 23px;
  font-size: 15px;
}

.landing-hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  margin-top: 28px;
  color: #8e8e98;
  font-size: 11px;
  font-weight: 600;
}

.landing-hero__trust span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.landing-hero__trust svg {
  width: 14px;
  color: #d4d4d8;
}

.landing-hero__visual {
  position: relative;
  min-width: 0;
  perspective: 1200px;
}

.landing-hero__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10.5;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: #18181b;
  box-shadow:
    0 40px 100px rgba(0, 0, 0, 0.55),
    0 0 0 8px rgba(255, 255, 255, 0.025),
    0 0 90px rgba(116, 24, 155, 0.12);
  transform: rotateY(-3deg) rotateX(1deg);
}

.landing-hero__frame::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.78), transparent 42%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.08), transparent 28%);
  content: "";
  pointer-events: none;
}

.landing-hero__frame > img {
  width: 100%;
  height: 100%;
  animation: landing-camera 16s ease-in-out infinite alternate;
  object-fit: cover;
}

.landing-hero__live {
  position: absolute;
  z-index: 2;
  top: 18px;
  left: 18px;
  display: flex;
  min-height: 32px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  background: rgba(9, 9, 11, 0.76);
  backdrop-filter: blur(12px);
  padding: 7px 11px;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.landing-hero__live i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  animation: landing-pulse 1.7s ease-out infinite;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

.landing-hero__caption {
  position: absolute;
  z-index: 2;
  right: 22px;
  bottom: 20px;
  display: grid;
  justify-items: end;
}

.landing-hero__caption span {
  color: #a1a1aa;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.landing-hero__caption strong {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  letter-spacing: 0.04em;
}

.landing-hero__horse-card {
  position: absolute;
  z-index: 4;
  width: clamp(190px, 16vw, 270px);
  right: -36px;
  bottom: -72px;
  overflow: hidden;
  border: 1px solid rgba(255, 229, 0, 0.3);
  border-radius: 20px;
  background: #121214;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.65);
  transform: rotate(3deg);
}

.landing-hero__horse-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.landing-hero__horse-card span {
  display: block;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 14px;
  color: #e4e4e7;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.landing-live-race {
  position: absolute;
  z-index: 5;
  right: 50%;
  bottom: 36px;
  display: grid;
  width: min(900px, 76vw);
  min-height: 88px;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 17px;
  background:
    linear-gradient(110deg, rgba(39, 39, 42, 0.9), rgba(9, 9, 11, 0.92)),
    #18181b;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(20px);
  padding: 15px;
  transform: translateX(50%);
}

.landing-live-race__icon {
  display: grid;
  width: 50px;
  height: 50px;
  place-items: center;
  border: 1px solid rgba(255, 229, 0, 0.25);
  border-radius: 13px;
  background: rgba(255, 229, 0, 0.09);
  color: #ffe500;
}

.landing-live-race__icon svg {
  width: 23px;
}

.landing-live-race > div:nth-child(2) {
  display: grid;
  min-width: 0;
}

.landing-live-race small,
.landing-live-race dt {
  color: #71717a;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-live-race strong {
  overflow: hidden;
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.landing-live-race dl {
  display: flex;
  gap: 22px;
  margin: 0;
}

.landing-live-race dl > div {
  display: grid;
  min-width: 78px;
  gap: 3px;
}

.landing-live-race dd {
  margin: 0;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 700;
}

.landing-live-race :is(button, a) {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 7px;
  border-radius: 10px;
  background: #ffe500;
  cursor: pointer;
  padding: 10px 16px;
  color: #09090b;
  font-size: 12px;
  font-weight: 800;
}

.landing-live-race button:disabled {
  cursor: wait;
  opacity: 0.45;
}

.landing-live-race :is(button, a) svg {
  width: 15px;
}

.landing-principles {
  display: grid;
  width: min(calc(100% - 56px), var(--landing-max));
  grid-template-columns: repeat(3, 1fr);
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-principles article {
  display: grid;
  min-width: 0;
  grid-template-columns: 42px 1fr;
  gap: 2px 14px;
  padding: 28px clamp(18px, 2.2vw, 34px);
}

.landing-principles article + article {
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}

.landing-principles :is(svg, article > span:first-child) {
  width: 25px;
  height: 25px;
  grid-row: span 2;
  align-self: center;
  color: #ffe500;
}

.landing-principles strong {
  font-size: 13px;
}

.landing-principles span {
  color: #8f8f98;
  font-size: 11px;
  line-height: 1.55;
}

.landing-section {
  width: min(calc(100% - 56px), var(--landing-max));
  margin: 0 auto;
  padding: clamp(86px, 9vw, 150px) 0;
  scroll-margin-top: 80px;
}

.landing-heading {
  display: grid;
  max-width: 830px;
  justify-items: center;
  margin: 0 auto clamp(36px, 5vw, 70px);
  text-align: center;
}

.landing-heading h2,
.landing-fairness h2,
.landing-final-cta h2 {
  margin: 14px 0 16px;
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 82px);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.94;
  text-transform: uppercase;
}

.landing-heading p,
.landing-fairness p,
.landing-final-cta p {
  max-width: 720px;
  margin: 0;
  color: #9d9da6;
  font-size: clamp(14px, 1.2vw, 17px);
  line-height: 1.7;
}

.landing-feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 26px);
}

.landing-feature {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 20px;
  background: linear-gradient(
    145deg,
    rgba(24, 24, 27, 0.9),
    rgba(12, 12, 14, 0.92)
  );
  padding: 12px 12px 24px;
  transition:
    border-color 180ms ease,
    transform 180ms ease;
}

.landing-feature:hover {
  border-color: rgba(255, 229, 0, 0.22);
  transform: translateY(-5px);
}

.landing-feature__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border-radius: 13px;
  background: #09090b;
}

.landing-feature__media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55), transparent 55%);
  content: "";
}

.landing-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.landing-feature:hover img {
  transform: scale(1.045);
}

.landing-feature__media span {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 7px;
  color: rgba(255, 255, 255, 0.68);
  font-family: var(--font-display);
  font-size: 30px;
}

.landing-feature > small {
  display: block;
  margin: 22px 8px 6px;
  color: #ffe500;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.landing-feature h3 {
  margin: 0 8px 8px;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.1vw, 34px);
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.05;
  text-transform: uppercase;
}

.landing-feature > p {
  margin: 0 8px;
  color: #92929b;
  font-size: 12px;
  line-height: 1.65;
}

.landing-worlds {
  width: 100%;
  max-width: none;
  background:
    linear-gradient(to bottom, transparent, rgba(68, 23, 89, 0.1), transparent),
    #080809;
}

.landing-worlds .landing-heading,
.landing-worlds__grid,
.landing-worlds__more {
  width: min(calc(100% - 56px), var(--landing-max));
}

.landing-worlds .landing-heading {
  margin-right: auto;
  margin-left: auto;
}

.landing-worlds__grid {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr 0.82fr;
  gap: 12px;
  margin: 0 auto;
}

.landing-worlds__grid article {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  background: #18181b;
}

.landing-worlds__grid img {
  width: 100%;
  height: 100%;
  transition: transform 900ms cubic-bezier(0.2, 0.75, 0.2, 1);
  object-fit: cover;
}

.landing-worlds__grid article:hover img {
  transform: scale(1.055);
}

.landing-worlds__grid article::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.84), transparent 62%);
  content: "";
}

.landing-worlds__grid article > div {
  position: absolute;
  z-index: 2;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: grid;
}

.landing-worlds__grid span {
  font-family: var(--font-display);
  font-size: clamp(27px, 2.2vw, 38px);
  letter-spacing: 0.04em;
  line-height: 1;
  text-transform: uppercase;
}

.landing-worlds__grid small {
  color: #b8b8c0;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.landing-worlds__more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 26px auto 0;
  color: #8f8f98;
  font-size: 12px;
}

.landing-worlds__more svg {
  width: 15px;
  color: #ffe500;
}

.landing-fairness {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(340px, 0.88fr);
  align-items: center;
  gap: clamp(38px, 6vw, 100px);
}

.landing-fairness__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 22px;
  background: #18181b;
  box-shadow: 0 35px 90px rgba(0, 0, 0, 0.5);
}

.landing-fairness__media::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid rgba(255, 229, 0, 0.13);
  border-radius: inherit;
  content: "";
  pointer-events: none;
}

.landing-fairness__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-fairness > div:last-child {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
}

.landing-fairness ul {
  display: grid;
  gap: 12px;
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.landing-fairness li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #d4d4d8;
  font-size: 12px;
}

.landing-fairness li :is(svg, span) {
  width: 17px;
  color: #ffe500;
}

.landing-final-cta {
  display: grid;
  width: min(calc(100% - 56px), 1200px);
  justify-items: center;
  margin: 50px auto 110px;
  overflow: hidden;
  border: 1px solid rgba(255, 229, 0, 0.16);
  border-radius: 30px;
  background:
    radial-gradient(
      70% 160% at 50% 140%,
      rgba(255, 229, 0, 0.16),
      transparent 60%
    ),
    radial-gradient(40% 100% at 90% 0, rgba(111, 32, 148, 0.22), transparent),
    #111113;
  padding: clamp(62px, 7vw, 100px) 24px;
  text-align: center;
}

.landing-final-cta p {
  text-align: center;
}

.landing-final-cta > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.landing-footer {
  display: flex;
  width: min(calc(100% - 56px), var(--landing-max));
  min-height: 110px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin: 0 auto;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0 max(20px, env(safe-area-inset-bottom, 0px));
}

.landing-footer > div {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #71717a;
  font-size: 10px;
}

.landing-footer img {
  width: 62px;
  height: 48px;
  object-fit: contain;
}

.landing-footer nav {
  display: flex;
  gap: 4px;
}

.landing-footer :is(button, a) {
  min-height: 44px;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  padding: 10px 12px;
  color: #8f8f98;
  font-size: 11px;
}

.landing-footer :is(button, a):hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fafafa;
}

.landing-boot {
  position: relative;
  display: grid;
  min-width: 320px;
  min-height: 100dvh;
  place-content: center;
  justify-items: center;
  gap: 14px;
  overflow: hidden;
  background: #070708;
  color: #a1a1aa;
  font-family: var(--font);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.landing-boot img {
  width: min(280px, 58vw);
  height: auto;
  animation: landing-boot-breathe 1.7s ease-in-out infinite alternate;
}

.landing-boot__glow {
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 229, 0, 0.1), transparent 64%);
}

@keyframes landing-camera {
  from {
    transform: scale(1.01) translate3d(-0.3%, 0, 0);
  }
  to {
    transform: scale(1.08) translate3d(1.3%, -0.8%, 0);
  }
}

@keyframes landing-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.55);
  }
  75%,
  100% {
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0);
  }
}

@keyframes landing-boot-breathe {
  from {
    opacity: 0.75;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (min-width: 1800px) {
  .landing {
    --landing-max: min(94vw, 3200px);
  }

  .landing-header {
    height: 82px;
  }

  .landing-hero {
    min-height: min(950px, calc(100vh - 82px));
  }

  .landing-hero__copy > p,
  .landing-heading p,
  .landing-fairness p {
    font-size: 19px;
  }

  .landing-feature > p,
  .landing-principles span {
    font-size: 14px;
  }
}

@media (max-width: 1100px) {
  .landing-header {
    grid-template-columns: 1fr auto;
  }

  .landing-header__nav {
    display: none;
  }

  .landing-hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding-top: 60px;
  }

  .landing-hero__copy {
    max-width: 800px;
  }

  .landing-hero h1 {
    font-size: clamp(68px, 10vw, 100px);
  }

  .landing-hero__visual {
    width: min(100%, 840px);
    justify-self: end;
  }

  .landing-hero__horse-card {
    right: 18px;
  }

  .landing-live-race {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    grid-column: 1;
    margin-top: 74px;
    transform: none;
  }

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

  .landing-feature:last-child {
    grid-column: span 2;
  }

  .landing-feature:last-child .landing-feature__media {
    aspect-ratio: 2.15 / 1;
  }

  .landing-worlds__grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .landing-worlds__grid article:last-child {
    min-height: 390px;
    grid-column: span 2;
  }
}

@media (max-width: 767px) {
  .landing {
    --landing-pad: 18px;
  }

  .landing-header {
    height: 68px;
    gap: 8px;
    padding: env(safe-area-inset-top, 0px) var(--landing-pad);
  }

  .landing-header__brand {
    height: 58px;
  }

  .landing-header__brand img {
    width: 74px;
    height: 54px;
  }

  .landing-header__actions {
    gap: 5px;
  }

  .landing-header__actions .landing-button {
    min-height: 44px;
    padding: 9px 12px;
    font-size: 11px;
  }

  .landing-hero {
    width: calc(100% - 2 * var(--landing-pad));
    gap: 34px;
    padding: 52px 0 72px;
  }

  .landing-hero h1 {
    margin-top: 18px;
    font-size: clamp(57px, 18vw, 78px);
    line-height: 0.86;
  }

  .landing-hero__copy > p {
    font-size: 15px;
  }

  .landing-hero__actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .landing-hero__actions .landing-button {
    width: 100%;
  }

  .landing-hero__trust {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .landing-hero__visual {
    width: 100%;
  }

  .landing-hero__frame {
    aspect-ratio: 4 / 4.5;
    border-radius: 20px;
    transform: none;
  }

  .landing-hero__frame > img {
    object-position: 58% center;
  }

  .landing-hero__horse-card {
    width: 146px;
    right: -4px;
    bottom: -48px;
    border-radius: 14px;
  }

  .landing-hero__horse-card span {
    padding: 8px 10px;
    font-size: 13px;
  }

  .landing-live-race {
    grid-template-columns: auto 1fr;
    gap: 12px;
    margin-top: 58px;
    border-radius: 15px;
    padding: 12px;
  }

  .landing-live-race dl {
    grid-column: span 2;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 11px 2px;
  }

  .landing-live-race dl > div {
    min-width: 0;
  }

  .landing-live-race button {
    grid-column: span 2;
    justify-content: center;
  }

  .landing-principles {
    width: calc(100% - 2 * var(--landing-pad));
    grid-template-columns: 1fr;
  }

  .landing-principles article {
    padding: 22px 4px;
  }

  .landing-principles article + article {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 0;
  }

  .landing-section {
    width: calc(100% - 2 * var(--landing-pad));
    padding: 84px 0;
  }

  .landing-heading {
    justify-items: start;
    text-align: left;
  }

  .landing-heading h2,
  .landing-fairness h2,
  .landing-final-cta h2 {
    font-size: clamp(46px, 14vw, 64px);
  }

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

  .landing-feature:last-child {
    grid-column: auto;
  }

  .landing-feature:last-child .landing-feature__media {
    aspect-ratio: 16 / 10;
  }

  .landing-worlds {
    width: 100%;
  }

  .landing-worlds .landing-heading,
  .landing-worlds__grid,
  .landing-worlds__more {
    width: calc(100% - 2 * var(--landing-pad));
  }

  .landing-worlds__grid {
    grid-template-columns: 1fr;
  }

  .landing-worlds__grid article,
  .landing-worlds__grid article:last-child {
    min-height: 390px;
    grid-column: auto;
  }

  .landing-worlds__more {
    align-items: flex-start;
    text-align: left;
  }

  .landing-fairness {
    grid-template-columns: 1fr;
  }

  .landing-fairness__media {
    aspect-ratio: 4 / 3;
  }

  .landing-final-cta {
    width: calc(100% - 2 * var(--landing-pad));
    margin-bottom: 80px;
    border-radius: 22px;
  }

  .landing-final-cta > div,
  .landing-final-cta .landing-button {
    width: 100%;
  }

  .landing-footer {
    width: calc(100% - 2 * var(--landing-pad));
    align-items: flex-start;
    flex-direction: column;
    padding-top: 26px;
  }

  .landing-footer nav {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 370px) {
  .landing-header__actions .landing-button--quiet {
    display: none;
  }

  .landing-header__brand img {
    width: 82px;
  }
}

@media (max-height: 540px) and (orientation: landscape) and (pointer: coarse) {
  .landing-hero {
    grid-template-columns: 0.85fr 1.15fr;
    align-items: start;
    gap: 24px;
    padding-top: 30px;
  }

  .landing-hero h1 {
    font-size: clamp(48px, 9vw, 66px);
  }

  .landing-hero__copy > p,
  .landing-hero__trust,
  .landing-hero__horse-card {
    display: none;
  }

  .landing-hero__frame {
    aspect-ratio: 16 / 10;
  }

  .landing-live-race {
    grid-column: span 2;
    margin-top: 16px;
  }
}

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