/* BECK — public site styles. Dark noir + gold. Serves the landing page + legal pages. */

:root {
  --color-bg: #1a1820;
  --color-surface: #232029;
  --color-surface-2: #2b2732;
  --color-text: #e8e4d8;
  --color-text-muted: #998f80;
  --color-accent: #d4a657;
  --color-link: #d4a657;
  --color-link-hover: #f0c878;
  --color-border: #322d3a;
  --max-width: 760px;
  --font-body: ui-serif, Georgia, "Iowan Old Style", Baskerville, "Times New Roman", serif;
  --font-display: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; }

html {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 2rem 1.25rem 3rem;
  display: flex;
  justify-content: center;
}

main { width: 100%; max-width: var(--max-width); }

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  margin: 3rem 0 1rem;
  color: var(--color-accent);
  letter-spacing: 0.01em;
}

h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  margin: 0 0 0.5rem;
  color: var(--color-accent);
}

p, ul, ol { margin: 0 0 1rem; }
a { color: var(--color-link); text-decoration: underline; text-underline-offset: 3px; }
a:hover, a:focus { color: var(--color-link-hover); }
ul, ol { padding-left: 1.5rem; }
li { margin-bottom: 0.5rem; }
strong { color: #f2ead9; }

/* ── Legal pages (plain <header>) ───────────────────────────── */
header:not(.hero) {
  margin-bottom: 2.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--color-border);
}
header:not(.hero) h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  margin: 0 0 0.5rem;
  color: var(--color-accent);
}
header:not(.hero) > p { color: var(--color-text-muted); margin: 0; font-style: italic; }

.placeholder {
  background: rgba(212, 166, 87, 0.08);
  border-left: 3px solid var(--color-accent);
  padding: 0.75rem 1rem;
  margin: 1.5rem 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--color-text-muted);
}
.placeholder strong { color: var(--color-accent); }

/* ── Hero ───────────────────────────────────────────────────── */
.hero { text-align: center; margin-bottom: 1rem; }

.hero__art {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  margin-bottom: 1.75rem;
}

.hero__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(1.7rem, 6.2vw, 2.8rem);
  line-height: 1.1;
  letter-spacing: 0.01em;
  margin: 0 0 0.75rem;
  color: var(--color-accent);
  overflow-wrap: break-word;
}

.hero__hook {
  font-size: 1.2rem;
  color: var(--color-text-muted);
  max-width: 34ch;
  margin: 0 auto 1.75rem;
}

/* ── Call to action (coming soon) ───────────────────────────── */
.cta {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  padding: 0.7rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
}
.cta--soon {
  color: var(--color-accent);
  background: rgba(212, 166, 87, 0.09);
  border: 1px solid rgba(212, 166, 87, 0.5);
  cursor: default;
}
/* When the app is live (4.13), swap the span for:
   <a class="cta cta--live" href="PLAY_URL">Get it on Google Play</a> */
.cta--live { color: #17140f; background: var(--color-accent); border: 1px solid var(--color-accent); }
.cta--live:hover, .cta--live:focus { background: var(--color-link-hover); color: #17140f; }

/* ── Pitch ──────────────────────────────────────────────────── */
.pitch p { font-size: 1.18rem; margin: 0; }

/* ── Screenshot gallery ─────────────────────────────────────── */
.shots { margin: 2.5rem 0; }
.shots__strip {
  display: flex;
  gap: 0.9rem;
  overflow-x: auto;
  padding: 0.5rem 0.25rem 1rem;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--color-border) transparent;
}
.shots__strip img {
  flex: 0 0 auto;
  width: 200px;
  height: auto;
  border-radius: 14px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow);
  scroll-snap-align: center;
}

/* ── Pillars ────────────────────────────────────────────────── */
.pillars__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.pillar {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1.25rem 1.35rem;
}
.pillar p { margin: 0; font-size: 1rem; color: var(--color-text); }

/* ── What's inside ──────────────────────────────────────────── */
.inside__list { list-style: none; padding: 0; }
.inside__list li {
  position: relative;
  padding-left: 1.6rem;
  margin-bottom: 0.75rem;
}
.inside__list li::before {
  content: "◆";
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-size: 0.8rem;
  top: 0.28rem;
}
.inside__close { font-style: italic; color: var(--color-text-muted); margin-top: 1.25rem; }

/* ── Stay ───────────────────────────────────────────────────── */
.stay { text-align: center; background: var(--color-surface); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.5rem 1.35rem 1.75rem; margin-top: 2.5rem; }
.stay h2 { margin-top: 0.25rem; }
.stay p { max-width: 46ch; margin-left: auto; margin-right: auto; }

/* ── Third-party notices (credits page) ─────────────────────── */
.notices {
  width: 100%;
  border-collapse: collapse;
  margin: 0 0 1rem;
  font-size: 0.9rem;
  font-family: var(--font-display);
}
.notices th, .notices td {
  text-align: left;
  vertical-align: top;
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid var(--color-border);
}
.notices th {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.notices td { color: var(--color-text); }
.notices tbody tr:last-child td { border-bottom: none; }

/* Tables carry long copyright strings — let them scroll rather than push the page wide. */
.notices-scroll { overflow-x: auto; }

.notices__copy, .notices__note {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: -0.5rem;
}
.notices__note { font-style: italic; }

.notices__license {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  overflow-x: auto;
  font-size: 0.78rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--color-text-muted);
}

details > summary {
  cursor: pointer;
  color: var(--color-link);
  font-family: var(--font-display);
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}
details > summary:hover { color: var(--color-link-hover); }

/* ── Footer ─────────────────────────────────────────────────── */
footer {
  margin-top: 3.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; margin-bottom: 0.75rem; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 560px) {
  html { font-size: 17px; }
  body { padding: 1.5rem 1rem 2.5rem; }
  .pillars__grid { grid-template-columns: 1fr; }
  .shots__strip img { width: 168px; }
  .hero__hook { font-size: 1.1rem; }
}
