/* banter.party – one stylesheet for all pages.
   Colours from the app (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;      /* neutralInk */
  --cream: #f7f2e8;    /* neutralCream */
  --red: #f53e46;      /* brandRed */
  --subtle: #4f4a45;   /* neutralTextSubtle */
  --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;
}

/* Start page: red like the app's intro screen */

body.home {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  background: var(--red);
  color: var(--cream);
}

body.home :focus-visible {
  outline-color: var(--ink);
}

.stage {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 24px;
  text-align: center;
}

.stage h1 {
  margin: 0;
  line-height: 0;
}

.wordmark {
  display: block;
  width: min(78vw, 440px);
  height: auto;
}

.soon {
  margin: 16px 0 0;
  font-size: clamp(19px, 2.4vw, 23px);
  font-weight: 800;
  letter-spacing: -0.01em;
}

.soon .dot {
  margin: 0 0.35em;
}

body.home .site-footer {
  border-top: 0;
  color: var(--cream);
}

/* 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 */

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

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

.legal h1 {
  margin: 0 0 24px;
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

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

  .legal {
    padding-top: 48px;
  }
}
