/* Oysters Studio – one stylesheet for all pages.
   Colors mirror banter-game/lib/core/theme/app_colors.dart. */

/* Inter variable font, Latin subset (Google Fonts build), covers 400–800. */
@font-face {
  font-family: "Inter";
  src: url("fonts/inter-latin.woff2") format("woff2");
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --ink: #151515;
  --cream: #f7f2e8;
  --red: #f53e46;
  --subtle: #4f4a45;
  --line: rgba(21, 21, 21, 0.15);
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 18px;
  line-height: 1.55;
  font-synthesis: none;
}

a {
  color: inherit;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Hero */

.hero {
  padding: 96px 0 72px;
}

.eyebrow {
  margin: 0 0 16px;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--subtle);
}

h1 {
  max-width: 12ch;
  margin: 0 0 24px;
  font-size: clamp(44px, 9vw, 96px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.lead {
  margin: 0;
  font-size: clamp(19px, 2.2vw, 23px);
}

/* Sections */

.section {
  padding-top: 56px;
  padding-bottom: 56px;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0 0 12px;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section p {
  max-width: 42ch;
  margin: 0 0 28px;
}

/* Contact */

.button {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 800;
  text-decoration: none;
}

/* Footer */

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  padding-bottom: 40px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--subtle);
}

.site-footer nav {
  display: flex;
  gap: 16px;
}

/* Legal pages */

.legal {
  padding-top: 72px;
  padding-bottom: 72px;
}

.legal h1 {
  max-width: none;
  font-size: clamp(36px, 6vw, 56px);
}

.legal h2 {
  margin-top: 40px;
  font-size: 22px;
}

.legal p,
.legal li,
.legal address {
  max-width: 65ch;
}

.legal address {
  margin: 0 0 1em;
  font-style: normal;
}

.legal .updated {
  color: var(--subtle);
}

@media (max-width: 600px) {
  body {
    font-size: 17px;
  }

  .wrap {
    padding: 0 16px;
  }

  .hero {
    padding: 64px 0 56px;
  }

  .legal {
    padding-top: 48px;
  }

  .section {
    padding-top: 44px;
    padding-bottom: 44px;
  }
}
