:root {
  color-scheme: light;
  --ink: #061429;
  --muted: #5a6678;
  --line: #d9e1e8;
  --paper: #ffffff;
  --field: #0c5d49;
  --field-dark: #062842;
  --orange: #f27416;
  --green-soft: #e9f5ef;
  --navy-soft: #eef3f8;
  --shadow: 0 24px 70px rgba(6, 20, 41, 0.16);
  --radius: 8px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.6;
}

a {
  color: inherit;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid rgba(217, 225, 232, 0.75);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 9px;
  box-shadow: 0 10px 24px rgba(6, 20, 41, 0.16);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #324058;
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a:hover {
  color: var(--orange);
}

.app-store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 8px;
  background: #050505;
  color: #fff;
  border: 1px solid #2c2c2c;
  text-decoration: none;
  font-weight: 850;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.app-store-button svg {
  width: 22px;
  height: 22px;
  flex: 0 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(3, 20, 39, 0.98) 0%, rgba(3, 20, 39, 0.86) 36%, rgba(3, 20, 39, 0.35) 68%, rgba(3, 20, 39, 0.12) 100%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.2)),
    url("assets/launch-art.png") center / cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 -1px 0;
  height: 78px;
  background: linear-gradient(176deg, transparent 0 42%, #fff 43% 100%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 660px;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 54px;
  align-items: center;
  padding: 76px 0 106px;
}

.hero-copy {
  max-width: 520px;
}

.hero-brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 42px;
}

.hero-brand img {
  width: 70px;
  height: 70px;
  border-radius: 16px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.28);
}

.hero-brand span {
  display: block;
  max-width: 330px;
  color: #fff;
  font-size: clamp(2rem, 5vw, 4.25rem);
  line-height: 0.88;
  font-weight: 950;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 20px;
  max-width: 650px;
  color: #fff;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 0.96;
  font-weight: 900;
}

.hero-copy p {
  max-width: 560px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
  line-height: 1.48;
}

.platform {
  margin-top: 16px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 700;
}

.phone-demo {
  justify-self: end;
  width: min(560px, 100%);
  transform: rotate(-1.5deg);
}

.phone-shell {
  position: relative;
  padding: 14px;
  border-radius: 36px;
  background: linear-gradient(145deg, #101a25, #020408);
  border: 2px solid rgba(255, 255, 255, 0.38);
  box-shadow: 0 34px 80px rgba(0, 0, 0, 0.42);
}

.phone-screen {
  min-height: 292px;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    #111a20;
  background-size: 36px 36px;
  position: relative;
}

.screen-bar {
  height: 50px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  background: rgba(0, 0, 0, 0.48);
  font-size: 0.9rem;
  font-weight: 800;
}

.play-canvas {
  position: relative;
  height: 242px;
}

.pitch-line {
  position: absolute;
  background: rgba(255, 255, 255, 0.16);
}

.pitch-line.vertical {
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
}

.pitch-line.horizontal {
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
}

.penalty-box,
.goal-mouth {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-top: 0;
}

.penalty-box {
  top: 0;
  width: 48%;
  height: 58px;
}

.goal-mouth {
  top: 0;
  width: 22%;
  height: 24px;
}

.player,
.defender {
  position: absolute;
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  color: #fff;
  font-weight: 900;
  line-height: 1;
}

.player {
  border: 3px solid #fff;
  border-radius: 50%;
}

.defender {
  font-size: 1.1rem;
}

.route {
  position: absolute;
  border: solid #fff;
  border-width: 0 0 5px 5px;
  border-radius: 0 0 0 26px;
}

.route.one {
  left: 19%;
  bottom: 72px;
  width: 146px;
  height: 42px;
}

.route.two {
  right: 12%;
  bottom: 64px;
  width: 116px;
  height: 126px;
  border-color: var(--orange);
  border-width: 0 5px 5px 0;
  border-radius: 0 0 26px 0;
}

.route.three {
  left: 47%;
  top: 38px;
  width: 72px;
  height: 104px;
  transform: skewY(-22deg);
  border-width: 0 0 5px 5px;
}

.arrow-head {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 18px solid currentColor;
  color: #fff;
}

.arrow-head.orange {
  color: var(--orange);
}

.sections {
  background: #fff;
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 88px 0;
}

.section.compact {
  padding-top: 54px;
}

.section-title {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.06;
  font-weight: 900;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature {
  min-height: 260px;
  padding: 34px 30px 30px;
  border-right: 1px solid var(--line);
}

.feature:last-child {
  border-right: 0;
}

.feature-icon {
  width: 62px;
  height: 62px;
  margin-bottom: 22px;
  color: var(--field-dark);
}

.feature-icon .accent {
  color: var(--orange);
}

.feature h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.18;
}

.feature p {
  margin-bottom: 0;
  color: var(--muted);
}

.support-band {
  background: var(--field-dark);
  color: #fff;
}

.support-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 76px 0;
  display: grid;
  grid-template-columns: 0.75fr 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.pitch-mark {
  min-height: 182px;
  border-right: 4px solid var(--orange);
  display: grid;
  place-items: center;
}

.pitch-mark svg {
  width: min(170px, 100%);
  color: #fff;
}

.support-panel {
  min-height: 190px;
  padding-right: 42px;
  border-right: 1px solid rgba(255, 255, 255, 0.4);
}

.support-panel:last-child {
  border-right: 0;
  padding-right: 0;
}

.support-panel-wide {
  max-width: 560px;
}

.support-panel h2 {
  margin-bottom: 14px;
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: 1.12;
}

.support-panel p {
  color: rgba(255, 255, 255, 0.82);
}

.support-list {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.support-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
}

.support-link:hover {
  color: var(--orange);
}

.text-page {
  width: min(840px, calc(100% - 40px));
  margin: 0 auto;
  padding: 84px 0 96px;
}

.text-page h1 {
  color: var(--ink);
  max-width: 760px;
}

.text-page h2 {
  margin-top: 38px;
  font-size: 1.45rem;
}

.text-page p,
.text-page li {
  color: #3d495c;
}

.text-page a {
  color: #0b5c49;
  font-weight: 800;
}

.site-footer {
  background: #fff;
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 56px 0 40px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 1fr;
  gap: 56px;
}

.footer-brand {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.footer-brand img {
  width: 72px;
  height: 72px;
  border-radius: 16px;
}

.footer-brand strong {
  display: block;
  font-size: 1.7rem;
  line-height: 0.95;
  text-transform: uppercase;
}

.footer-brand p,
.footer-column p {
  color: var(--muted);
}

.footer-column h2 {
  margin-bottom: 14px;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer-column a {
  display: block;
  margin-bottom: 9px;
  color: #334158;
  text-decoration: none;
  font-weight: 700;
}

.footer-column a:hover {
  color: var(--orange);
}

.footer-column .app-store-button {
  display: inline-flex;
  width: auto;
  margin-top: 4px;
  margin-bottom: 0;
  color: #fff;
}

.footer-column .app-store-button:hover {
  color: #fff;
}

.copyright {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 0 36px;
  color: #7b8695;
  text-align: center;
}

@media (max-width: 900px) {
  .nav {
    min-height: 64px;
  }

  .nav-links {
    display: none;
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 54px 0 96px;
  }

  .hero-brand {
    margin-bottom: 30px;
  }

  .hero-brand img {
    width: 58px;
    height: 58px;
  }

  .phone-demo {
    justify-self: start;
    transform: none;
  }

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

  .feature:nth-child(2) {
    border-right: 0;
  }

  .feature:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .support-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .pitch-mark,
  .support-panel {
    min-height: 0;
    padding: 0 0 28px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.34);
  }

  .pitch-mark {
    place-items: start;
    border-right: 0;
    border-bottom: 4px solid var(--orange);
  }

  .pitch-mark svg {
    width: 130px;
  }

  .support-panel:last-child {
    padding-bottom: 0;
    border-bottom: 0;
  }

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

@media (max-width: 560px) {
  .nav,
  .hero-inner,
  .section,
  .support-inner,
  .footer-inner,
  .copyright,
  .text-page {
    width: min(100% - 28px, 1120px);
  }

  .brand span {
    max-width: 140px;
    line-height: 1.05;
  }

  h1 {
    font-size: clamp(2.45rem, 14vw, 4rem);
  }

  .hero-brand span {
    font-size: clamp(1.9rem, 12vw, 3.1rem);
  }

  .app-store-button {
    width: 100%;
    padding: 0 14px;
  }

  .phone-shell {
    padding: 10px;
    border-radius: 28px;
  }

  .phone-screen {
    min-height: 236px;
    border-radius: 20px;
  }

  .play-canvas {
    height: 186px;
  }

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

  .feature {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature:last-child {
    border-bottom: 0;
  }

  .section {
    padding: 66px 0;
  }

  .support-inner {
    padding: 62px 0;
  }
}
