:root {
  color-scheme: light;
  --ink: #10243a;
  --ink-soft: #4c6072;
  --paper: #ffffff;
  --mist: #edf7fb;
  --cyan: #10a8d2;
  --green: #69bb42;
  --coral: #ed5d46;
  --yellow: #f4c84b;
  --line: #d8e6ed;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

body.menu-open {
  overflow: hidden;
}

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

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 4px;
  transform: translateY(-150%);
}

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

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  border-bottom: 1px solid rgba(16, 36, 58, 0.18);
}

.brand {
  position: relative;
  z-index: 22;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 850;
}

.brand-mark-image {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-name {
  font-size: 20px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 750;
}

.site-nav a,
.footer-links a {
  position: relative;
}

.hero-header {
  width: 100%;
  min-height: 88px;
  padding-right: max(24px, calc((100% - var(--content)) / 2));
  padding-left: max(24px, calc((100% - var(--content)) / 2));
  background: rgba(249, 252, 253, 0.94);
  color: var(--ink);
  border-bottom-color: rgba(16, 36, 58, 0.16);
  box-shadow: 0 10px 32px rgba(5, 18, 30, 0.12);
  text-shadow: none;
}

.hero-header .brand-mark-image {
  width: 58px;
  height: 58px;
}

.hero-header .brand-name {
  font-size: 22px;
}

.site-nav a::after,
.footer-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -6px;
  height: 2px;
  background: var(--coral);
  transition: right 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.footer-links a:hover::after,
.footer-links a:focus-visible::after {
  right: 0;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: 0 3px 0 rgba(16, 36, 58, 0.14);
  cursor: pointer;
}

.menu-button span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}

.hero {
  position: relative;
  min-height: 88svh;
  max-height: 900px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #101b26;
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: 56% center;
}

.hero-shade {
  background: linear-gradient(90deg, rgba(7, 18, 29, 0.84) 0%, rgba(7, 18, 29, 0.62) 38%, rgba(7, 18, 29, 0.08) 68%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  padding: 128px 0 94px;
}

.hero .eyebrow,
.hero-next {
  color: white;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 3px;
  margin: 0 10px 3px 0;
  background: var(--coral);
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: 96px;
  line-height: 0.92;
  font-weight: 900;
  color: white;
}

.hero-copy {
  max-width: 620px;
  margin: 26px 0 0;
  color: #dbe7ee;
  font-size: 21px;
  line-height: 1.55;
  font-weight: 560;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 2px solid var(--ink);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 820;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 rgba(16, 36, 58, 0.18);
}

.button-primary {
  border-color: var(--coral);
  background: var(--coral);
  color: white;
}

.button-secondary {
  border-color: rgba(255, 255, 255, 0.82);
  background: rgba(8, 22, 34, 0.26);
  color: white;
}

.hero-next {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 800;
  transform: translateX(-50%);
}

.arrow-down {
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}

.section {
  padding: 96px 0;
}

.section-inner,
.contact-inner,
.footer-inner {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.section-heading.narrow {
  max-width: 690px;
}

.section-heading h2,
.contact-inner h2 {
  margin: 0;
  font-size: 54px;
  line-height: 1.04;
}

.section-heading > p:last-child,
.contact-inner > div > p:last-child {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.65;
}

.eyebrow-dark {
  color: var(--ink-soft);
}

.games-section {
  background: var(--paper);
}

.game-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  min-height: 470px;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  background: #f8fbfd;
  box-shadow: 0 18px 44px rgba(20, 62, 86, 0.1);
}

.game-media {
  min-height: 360px;
  background: #ff6038;
}

.game-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.game-copy {
  align-self: center;
  padding: 46px;
}

.app-icon {
  width: 112px;
  height: 112px;
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(17, 49, 75, 0.2);
}

.game-meta {
  margin: 26px 0 8px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
}

.game-copy h3 {
  margin: 0;
  font-size: 38px;
}

.game-copy > p:not(.game-meta) {
  margin: 17px 0 0;
  color: var(--ink-soft);
  font-size: 17px;
  line-height: 1.6;
}

.game-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 28px;
}

.text-link {
  padding-bottom: 4px;
  border-bottom: 2px solid var(--coral);
  font-size: 14px;
  font-weight: 820;
}

.text-link-muted {
  border-color: var(--line);
  color: var(--ink-soft);
}

.principles-section {
  background: var(--mist);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid #bfd6df;
}

.principles article {
  min-height: 260px;
  padding: 30px 30px 10px 0;
  border-right: 1px solid #bfd6df;
}

.principles article + article {
  padding-left: 30px;
}

.principles article:last-child {
  border-right: 0;
}

.principle-number {
  color: var(--cyan);
  font-size: 14px;
  font-weight: 900;
}

.principles h3 {
  margin: 54px 0 12px;
  font-size: 24px;
}

.principles p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.65;
}

.contact-section {
  padding: 88px 0;
  background: var(--ink);
  color: white;
}

.contact-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.8fr);
  gap: 70px;
  align-items: end;
}

.contact-inner .eyebrow,
.contact-inner > div > p:last-child {
  color: #d3e4ee;
}

.contact-link {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 22px;
  border: 2px solid white;
  border-radius: 6px;
  background: var(--coral);
  font-size: 18px;
  font-weight: 850;
  overflow-wrap: anywhere;
  transition: background 160ms ease, color 160ms ease;
}

.contact-link:hover,
.contact-link:focus-visible {
  background: var(--yellow);
  color: var(--ink);
}

.site-footer {
  padding: 54px 0 30px;
  background: #f8fbfd;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 34px 70px;
  align-items: start;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-inner > div > p,
.copyright {
  margin: 0;
  color: var(--ink-soft);
  font-size: 13px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  padding-top: 14px;
  font-size: 13px;
  font-weight: 750;
}

.copyright {
  grid-column: 1 / -1;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .hero h1 {
    font-size: 72px;
  }

  .hero-image {
    object-position: 64% center;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(7, 18, 29, 0.88) 0%, rgba(7, 18, 29, 0.7) 56%, rgba(7, 18, 29, 0.12) 100%);
  }

  .game-feature,
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .game-media {
    min-height: 330px;
  }

  .contact-inner {
    gap: 38px;
  }

  .contact-link {
    max-width: 560px;
  }
}

@media (max-width: 700px) {
  .site-header {
    width: calc(100% - 32px);
    min-height: 68px;
  }

  .brand-mark-image {
    width: 42px;
    height: 42px;
  }

  .brand-name {
    font-size: 18px;
  }

  .hero-header {
    width: 100%;
    min-height: 76px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .hero-header .brand-mark-image {
    width: 50px;
    height: 50px;
  }

  .hero-header .brand-name {
    font-size: 20px;
  }

  .menu-button {
    display: block;
    position: relative;
    z-index: 22;
  }

  .menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 21;
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    background: #f5fbfd;
    font-size: 28px;
  }

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

  .hero {
    min-height: 86svh;
  }

  .hero-image {
    object-position: 68% center;
  }

  .hero-shade {
    background: linear-gradient(180deg, rgba(7, 18, 29, 0.92) 0%, rgba(7, 18, 29, 0.74) 55%, rgba(7, 18, 29, 0.16) 100%);
  }

  .hero-content,
  .section-inner,
  .contact-inner,
  .footer-inner {
    width: calc(100% - 32px);
  }

  .hero-content {
    align-self: flex-start;
    padding: 112px 0 130px;
  }

  .hero h1 {
    font-size: 54px;
  }

  .hero-copy {
    max-width: 520px;
    font-size: 16px;
    line-height: 1.5;
    overflow-wrap: break-word;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    max-width: 310px;
  }

  .section {
    padding: 72px 0;
  }

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

  .section-heading h2,
  .contact-inner h2 {
    font-size: 38px;
  }

  .section-heading > p:last-child,
  .contact-inner > div > p:last-child {
    font-size: 16px;
  }

  .game-feature {
    min-height: 0;
  }

  .game-media {
    min-height: 245px;
  }

  .game-copy {
    padding: 30px 24px 34px;
  }

  .app-icon {
    width: 88px;
    height: 88px;
  }

  .game-copy h3 {
    font-size: 32px;
  }

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

  .principles article,
  .principles article + article {
    min-height: 0;
    padding: 28px 0;
    border-right: 0;
    border-bottom: 1px solid #bfd6df;
  }

  .principles article:last-child {
    border-bottom: 0;
  }

  .principles h3 {
    margin-top: 24px;
  }

  .contact-section {
    padding: 68px 0;
  }

  .contact-link {
    min-height: 62px;
    padding: 0 16px;
    font-size: 15px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    gap: 22px;
  }
}

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

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