/* =========================================================
   Studio Scoot — styles.css
   Warm navy, white wordmark, lots of open space, minimal motion.
   ========================================================= */

:root {
  --navy:        #17213c;  /* warm deep navy background */
  --navy-soft:   #1e2a49;  /* raised panels / cards */
  --cream:       #f4e9d0;  /* logo cream */
  --blue:        #6ea8cf;  /* logo mouth accent */
  --white:       #f7f6f2;
  --muted:       #9aa6c2;  /* secondary text */
  --line:        rgba(247, 246, 242, 0.12);

  --maxw: 940px;
  --radius: 16px;

  --font: "Space Grotesk", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: var(--white); text-decoration: none; }
a:hover { color: var(--cream); }

.page {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  padding: 32px 0 8px;
}

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

.brand__mark { border-radius: 10px; }

.brand__word {
  font-weight: 600;
  letter-spacing: 0.04em;
  font-size: 1rem;
  color: var(--white);
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 96px 0 72px;
}

.hero__mark {
  width: clamp(96px, 14vw, 132px);
  height: auto;
  border-radius: 26px;
  margin: 0 auto 28px;
  display: block;
}

.hero__title {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.03em;   /* +2–4% tracking, all caps */
  font-size: clamp(2.6rem, 8vw, 5.2rem);
  line-height: 1.02;
  color: var(--white);
}

/* Signature: OO noticeably heavier than the rest.
   Wrap the two O's in <span class="oo"> if you want the effect in text;
   here we keep the wordmark clean and let the logo carry it. */

.hero__tagline {
  margin: 20px 0 0;
  font-size: clamp(1.05rem, 2.4vw, 1.35rem);
  color: var(--muted);
  font-weight: 400;
}

/* ---------- Featured game ---------- */
.game {
  padding: 24px 0 96px;
}

/* Four screenshots stand in for key art. */
.game__shots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.shot { margin: 0; }

.shot img {
  width: 100%;
  aspect-ratio: 1290 / 2796;    /* keeps layout stable before the shots load */
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--navy-soft);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.shot:hover img {
  border-color: var(--blue);
  transform: translateY(-2px);
}

/* Copy first, screenshots second, store badges last. */
.game__intro {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}

.game__cta {
  margin-top: 12px;
  text-align: center;
}

.game__title {
  margin: 0 0 12px;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.game__lead {
  margin: 0 0 14px;
  color: var(--white);
  font-size: clamp(1.1rem, 2.6vw, 1.3rem);
  font-weight: 500;
}

.game__desc {
  margin: 0 auto;
  color: var(--muted);
  font-size: 1.075rem;
}

/* ---------- Store badges ---------- */
.store-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin: 32px 0 8px;
}

/* Official Apple / Google badge art. Match on height, not width —
   the two assets have slightly different aspect ratios. */
.badge {
  display: block;
  border-radius: 8px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.badge img {
  height: 52px;
  width: auto;
}

.badge:hover { transform: translateY(-1px); opacity: 0.88; }

.badge:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

.game__more {
  margin: 28px 0 0;
}
.game__more a {
  color: var(--blue);
  font-weight: 500;
}

/* ---------- Long-form pages (privacy, support, terms) ---------- */
.doc {
  max-width: 68ch;              /* comfortable reading measure */
  margin: 0 auto;
  padding: 48px 0 88px;
}

.doc__title {
  margin: 0 0 8px;
  font-weight: 600;
  letter-spacing: 0.01em;
  font-size: clamp(2rem, 5vw, 2.9rem);
  line-height: 1.1;
  text-wrap: balance;
}

.doc__updated {
  margin: 0 0 40px;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
}

.doc__lead {
  margin: 0 0 40px;
  font-size: 1.15rem;
  color: var(--white);
}

.doc h2 {
  margin: 52px 0 14px;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--white);
}

.doc h3 {
  margin: 32px 0 10px;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cream);
}

.doc p,
.doc li {
  color: var(--muted);
}

.doc p { margin: 0 0 16px; }

.doc ul {
  margin: 0 0 16px;
  padding-left: 22px;
}

.doc li { margin-bottom: 10px; }

.doc li strong { color: var(--white); font-weight: 500; }

.doc a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.doc a:hover { color: var(--cream); }

/* Pulled-aside panel for the one thing on the page people came for. */
.doc__note {
  margin: 0 0 16px;
  padding: 18px 22px;
  border-radius: 12px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--blue);
  background: var(--navy-soft);
}
.doc__note p:last-child { margin-bottom: 0; }

/* Support FAQ */
.faq { margin: 0; }

.faq dt {
  margin-top: 28px;
  font-weight: 600;
  color: var(--white);
}

.faq dd {
  margin: 8px 0 0;
  color: var(--muted);
}

.doc__back {
  margin: 64px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.doc__back a { color: var(--blue); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 48px 0 64px;
  text-align: center;
}

.site-footer nav {
  display: flex;
  gap: 22px;
  justify-content: center;
  flex-wrap: wrap;
}

.social {
  margin-bottom: 22px;
  font-weight: 500;
}
.social a { color: var(--white); }

.contact {
  margin: 0 0 22px;
}
.contact a { color: var(--cream); font-weight: 500; }

.legal {
  font-size: 0.9rem;
}
.legal a { color: var(--muted); }

.copyright {
  margin: 28px 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}

/* ---------- Motion: keep it quiet ---------- */
@media (prefers-reduced-motion: no-preference) {
  .hero, .game { animation: fade-up 0.6s ease both; }
  .game { animation-delay: 0.05s; }
  @keyframes fade-up {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: none; }
  }
}

/* ---------- Small screens ---------- */
@media (max-width: 600px) {
  .hero { padding: 64px 0 48px; }
  .game { padding: 8px 0 72px; }
  .badge img { height: 46px; }

  /* Two up instead of four — four portrait shots get too narrow to read. */
  .game__shots {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }
}

/* ---------- Holding line (shown until the first game is announced) ---------- */
.soon {
  max-width: 46ch;
  margin: 0 auto;
  padding: 8px 0 40px;
  text-align: center;
}

.soon p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
}
