/*
 * Futbetistic landing + legal pages — self-contained stylesheet.
 *
 * Replaces the legacy jQuery 2.1.4 + materialize.css stack (issue #667).
 * No JS dependency; pure HTML + CSS, mobile-responsive via flexbox.
 */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  color: #1f2933;
  background: #f5f7fb;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: #0d47a1;
  text-decoration: none;
}

a:hover,
a:focus {
  text-decoration: underline;
}

.page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.page__main {
  flex: 1 0 auto;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 32px 20px;
}

/* ---- Landing ---- */

.landing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: left;
  padding-top: 16px;
}

.landing__title {
  font-size: 2.25rem;
  font-weight: 700;
  margin: 0;
  letter-spacing: -0.01em;
}

.landing__tagline {
  font-size: 1.125rem;
  color: #486581;
  margin: 0;
}

.landing__description {
  max-width: 640px;
  font-size: 1rem;
  color: #334e68;
  margin: 0;
}

.landing__hero {
  display: flex;
  flex-wrap: wrap-reverse;
  align-items: center;
  justify-content: center;
  gap: 48px;
  width: 100%;
}

.landing__copy {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1 1 320px;
  max-width: 480px;
  text-align: left;
}

.landing__screenshot-wrap {
  flex: 0 0 auto;
}

.landing__screenshot {
  width: 260px;
  max-width: 70vw;
  height: auto;
  border-radius: 28px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
}

.landing__stores {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: flex-start;
  margin-top: 32px;
}

.landing__store-badge {
  height: 56px;
  width: auto;
}

/* ---- Legal pages ---- */

.legal {
  max-width: 760px;
  margin: 0 auto;
  background: #ffffff;
  padding: 32px 28px;
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.legal__header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.legal__logo {
  width: 56px;
  height: 56px;
  border-radius: 12px;
}

.legal__brand {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
}

.legal h1 {
  font-size: 1.75rem;
  margin-top: 0;
}

.legal h2 {
  font-size: 1.2rem;
  margin-top: 28px;
}

.legal p,
.legal li {
  color: #334e68;
}

.legal ul {
  padding-left: 22px;
}

/* ---- Footer ---- */

.site-footer {
  flex-shrink: 0;
  padding: 24px 20px 32px;
  text-align: center;
  font-size: 0.9rem;
  color: #627d98;
}

.site-footer a {
  margin: 0 6px;
}

.landing__brandline {
  display: flex;
  align-items: center;
  gap: 12px;
}

.landing__brandline .landing__logo {
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

/* ---- Responsive ---- */

@media (max-width: 720px) {
  .landing__title {
    font-size: 1.85rem;
  }

  .landing__hero {
    gap: 28px;
  }

  .landing__store-badge {
    height: 48px;
  }

  .legal {
    padding: 24px 18px;
  }
}
