:root {
  --ink: #14212b;
  --muted: #5b6b76;
  --line: #d8e0e6;
  --paper: #ffffff;
  --soft: #f4f8f9;
  --deep: #0f2a3a;
  --blue: #1d8fd6;
  --green: #25a66a;
  --coral: #f06f5f;
  --yellow: #f3c54d;
  --shadow: 0 18px 45px rgba(15, 42, 58, 0.15);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

p {
  line-height: 1.7;
}

.skip-link {
  position: absolute;
  top: -44px;
  left: 18px;
  z-index: 100;
  padding: 10px 14px;
  color: #fff;
  background: var(--deep);
  border-radius: 6px;
}

.skip-link:focus {
  top: 18px;
}

.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;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px 42px;
  color: #fff;
  background: rgba(15, 42, 58, 0.78);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled,
.page .site-header {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--line);
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand {
  min-width: 0;
}

.brand span {
  display: grid;
  line-height: 1.1;
}

.brand strong {
  font-size: 18px;
  white-space: nowrap;
}

.brand small {
  margin-top: 3px;
  color: currentColor;
  opacity: 0.78;
}

.brand-mark {
  flex: 0 0 auto;
  border-radius: 8px;
}

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

.site-nav a {
  text-decoration: none;
  opacity: 0.88;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 5px;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  color: currentColor;
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 8px;
}

.menu-toggle__bar {
  display: block;
  width: 100%;
  height: 2px;
  margin: 4px 0;
  background: currentColor;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 88vh;
  padding: 120px 42px 82px;
  color: #fff;
  overflow: hidden;
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media {
  background-image: url("/assets/hero-mobile-publishing.png");
  background-position: center right;
  background-size: cover;
  transform: scale(1.01);
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(10, 25, 33, 0.84) 0%, rgba(10, 25, 33, 0.62) 35%, rgba(10, 25, 33, 0.18) 72%),
    linear-gradient(180deg, rgba(10, 25, 33, 0.18) 0%, rgba(10, 25, 33, 0.3) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.eyebrow,
.section-kicker,
.tag {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 760;
  text-transform: uppercase;
  letter-spacing: 0;
}

.eyebrow {
  color: #bdf0d7;
}

.hero h1 {
  max-width: 720px;
  margin: 0;
  font-size: 64px;
  line-height: 1.02;
  letter-spacing: 0;
}

.hero__copy {
  max-width: 610px;
  margin: 24px 0 0;
  font-size: 20px;
  color: rgba(255, 255, 255, 0.92);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  font-weight: 760;
  text-decoration: none;
  border-radius: 8px;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button--primary {
  color: #071820;
  background: #fff;
  box-shadow: var(--shadow);
}

.button--secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.54);
}

.support-card .button--secondary,
.document .button--secondary {
  color: var(--deep);
  background: #fff;
  border-color: var(--line);
}

.section {
  padding: 88px 42px;
  scroll-margin-top: 82px;
}

.section--intro {
  padding-top: 76px;
}

.section--band {
  background: var(--soft);
}

.section--contact {
  color: #fff;
  background: var(--deep);
}

.section__inner {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
}

.two-column,
.contact-layout,
.facts {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 64px;
  align-items: start;
}

.section-kicker {
  color: var(--green);
}

.section--contact .section-kicker {
  color: #a7efd0;
}

.section h2,
.document h1,
.document h2,
.support-page h1,
.support-page h2 {
  margin: 0;
  line-height: 1.12;
  letter-spacing: 0;
}

.section h2 {
  max-width: 760px;
  font-size: 38px;
}

.section h3 {
  margin: 0;
  font-size: 22px;
  letter-spacing: 0;
}

.lead-block p,
.section-heading p,
.contact-layout p {
  color: var(--muted);
}

.section--contact .contact-layout p {
  color: rgba(255, 255, 255, 0.78);
}

.lead-block p:first-child {
  margin-top: 0;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 36px;
}

.metrics-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.metrics-strip span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  color: var(--deep);
  font-size: 13px;
  font-weight: 760;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.game-grid,
.ops-grid,
.support-grid {
  display: grid;
  gap: 22px;
}

.game-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.game-card,
.ops-item,
.support-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(15, 42, 58, 0.08);
}

.game-card__visual {
  position: relative;
  height: 176px;
  background: #eaf5f5;
  overflow: hidden;
}

.visual-app-icon {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 28% 22%, rgba(243, 197, 77, 0.32), transparent 34%),
    radial-gradient(circle at 78% 18%, rgba(29, 143, 214, 0.26), transparent 36%),
    linear-gradient(135deg, #e4f8f3 0%, #fff5db 100%);
}

.visual-app-icon img {
  width: 118px;
  height: 118px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: 0 16px 36px rgba(15, 42, 58, 0.22);
}

.game-card__visual span {
  position: absolute;
  display: block;
}

.visual-fruit {
  background:
    linear-gradient(135deg, #d9f4ea 0%, #fff4d0 100%);
}

.visual-fruit span {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  box-shadow: inset -10px -12px rgba(0, 0, 0, 0.06);
}

.visual-fruit span:nth-child(1) {
  top: 32px;
  left: 38px;
  background: var(--coral);
}

.visual-fruit span:nth-child(2) {
  top: 78px;
  left: 110px;
  background: var(--green);
}

.visual-fruit span:nth-child(3) {
  top: 36px;
  right: 68px;
  background: var(--yellow);
}

.visual-fruit span:nth-child(4) {
  right: 26px;
  bottom: 28px;
  width: 88px;
  height: 22px;
  background: var(--blue);
  border-radius: 8px;
}

.visual-runner {
  background:
    linear-gradient(135deg, #e8f5ff 0%, #fdf7ea 100%);
}

.visual-runner span:nth-child(1) {
  right: 34px;
  bottom: 28px;
  width: 190px;
  height: 26px;
  background: var(--green);
  border-radius: 8px;
}

.visual-runner span:nth-child(2) {
  top: 52px;
  left: 48px;
  width: 58px;
  height: 58px;
  background: var(--blue);
  border-radius: 50%;
}

.visual-runner span:nth-child(3) {
  right: 66px;
  bottom: 58px;
  width: 56px;
  height: 86px;
  background: var(--coral);
  border-radius: 8px;
}

.visual-builder {
  background:
    linear-gradient(135deg, #eef8ef 0%, #eef6ff 100%);
}

.visual-builder span {
  right: 54px;
  width: 160px;
  height: 32px;
  border-radius: 8px;
}

.visual-builder span:nth-child(1) {
  bottom: 28px;
  background: var(--blue);
}

.visual-builder span:nth-child(2) {
  bottom: 68px;
  right: 74px;
  width: 122px;
  background: var(--green);
}

.visual-builder span:nth-child(3) {
  bottom: 108px;
  right: 94px;
  width: 84px;
  background: var(--yellow);
}

.visual-builder span:nth-child(4) {
  top: 38px;
  left: 42px;
  width: 64px;
  height: 64px;
  background: var(--coral);
  border-radius: 50%;
}

.game-card__body,
.ops-item,
.support-card {
  padding: 24px;
}

.game-card p,
.ops-item p,
.support-card p {
  color: var(--muted);
}

.feature-list {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
  padding-left: 20px;
  color: var(--muted);
  line-height: 1.55;
}

.game-meta {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
}

.game-meta div {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.game-meta dt {
  color: var(--muted);
  font-weight: 760;
}

.game-meta dd {
  margin: 0;
  font-weight: 720;
}

.tag {
  color: var(--blue);
}

.ops-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ops-item {
  min-height: 186px;
  border-top: 5px solid var(--green);
}

.ops-item:nth-child(2) {
  border-top-color: var(--blue);
}

.ops-item:nth-child(3) {
  border-top-color: var(--coral);
}

.ops-item:nth-child(4) {
  border-top-color: var(--yellow);
}

.facts-list {
  display: grid;
  gap: 16px;
  margin: 0;
}

.facts-list div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.facts-list dt {
  color: var(--muted);
  font-weight: 760;
}

.facts-list dd {
  margin: 0;
  font-weight: 680;
}

.contact-list {
  display: grid;
  gap: 14px;
}

.contact-list a {
  display: grid;
  gap: 4px;
  padding: 20px;
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.contact-list span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
}

.contact-list strong {
  overflow-wrap: anywhere;
}

.site-footer {
  padding: 36px 42px;
  color: #dbe7ec;
  background: #0a1b25;
}

.site-footer__inner {
  display: grid;
  gap: 18px;
  max-width: 1160px;
  margin: 0 auto;
}

.footer-brand {
  font-weight: 760;
}

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

.footer-links a {
  color: #dbe7ec;
}

.site-footer p {
  margin: 0;
  color: #aebdc6;
}

.document,
.support-page {
  padding-top: 72px;
}

.document-hero {
  padding: 88px 42px 54px;
  color: #fff;
  background: var(--deep);
}

.document-hero h1 {
  max-width: 900px;
  font-size: 54px;
}

.document-hero p {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.82);
}

.document-body {
  max-width: 880px;
  margin: 0 auto;
  padding: 66px 42px 88px;
}

.document-body h2 {
  margin-top: 36px;
  font-size: 26px;
}

.document-body h2:first-child {
  margin-top: 0;
}

.document-body p,
.document-body li {
  color: var(--muted);
  line-height: 1.75;
}

.document-body a {
  color: var(--blue);
  font-weight: 700;
}

.support-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.faq {
  max-width: 820px;
}

.faq ul,
.document-body ul {
  padding-left: 22px;
}

@media (max-width: 980px) {
  .site-header {
    padding: 12px 24px;
  }

  .site-nav {
    gap: 18px;
  }

  .hero {
    min-height: 82vh;
    padding-right: 28px;
    padding-left: 28px;
  }

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

  .section,
  .document-hero {
    padding-right: 28px;
    padding-left: 28px;
  }

  .two-column,
  .contact-layout,
  .facts,
  .game-grid,
  .ops-grid {
    grid-template-columns: 1fr 1fr;
  }

  .two-column,
  .contact-layout,
  .facts {
    gap: 36px;
  }

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

@media (max-width: 760px) {
  .site-header {
    min-height: 66px;
  }

  .brand strong {
    font-size: 16px;
  }

  .brand small {
    font-size: 12px;
  }

  .menu-toggle {
    display: inline-block;
  }

  .site-nav {
    position: absolute;
    top: 66px;
    right: 16px;
    left: 16px;
    display: none;
    grid-template-columns: 1fr;
    gap: 0;
    padding: 8px;
    color: var(--ink);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

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

  .site-nav a {
    padding: 14px;
    border-radius: 6px;
  }

  .site-nav a:hover,
  .site-nav a:focus-visible {
    text-decoration: none;
    background: var(--soft);
  }

  .hero {
    min-height: 82vh;
    padding: 112px 22px 58px;
  }

  .hero__media {
    background-position: 64% center;
  }

  .hero__shade {
    background: rgba(10, 25, 33, 0.66);
  }

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

  .hero__copy {
    font-size: 18px;
  }

  .hero__actions,
  .button {
    width: 100%;
  }

  .section {
    padding: 66px 22px;
  }

  .section h2 {
    font-size: 32px;
  }

  .two-column,
  .contact-layout,
  .facts,
  .ops-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .facts-list div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .document,
  .support-page {
    padding-top: 66px;
  }

  .document-hero {
    padding: 66px 22px 44px;
  }

  .document-hero h1 {
    font-size: 40px;
  }

  .document-body {
    padding: 48px 22px 66px;
  }

  .site-footer {
    padding: 32px 22px;
  }
}

@media (max-width: 420px) {
  .brand {
    gap: 9px;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
  }

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

  .section h2 {
    font-size: 28px;
  }
}
