/* Codestra — shared styles. No external fonts or scripts: nothing loads from third parties. */

:root {
  --cream: #fdf6e8;
  --sand: #f6e6c4;
  --gold: #fbbd55;
  --gold-deep: #e8a23a;
  --brown: #7a3e10;
  --ink: #3d2410;
  --ink-soft: #6b4a2f;
  --teal: #5fb3bd;
  --card: #fffaf0;
  --rule: #ead7b0;
  --radius: 18px;
  --rounded: ui-rounded, "SF Pro Rounded", "Hiragino Maru Gothic ProN", "Nunito", "Quicksand", "Arial Rounded MT Bold", "Varela Round", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background:
    radial-gradient(1200px 500px at 50% -200px, rgba(95, 179, 189, 0.28), transparent 70%),
    var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--brown); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--gold-deep); }
a:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 4px; }

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

/* Header */
.site-header { padding: 28px 0 8px; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.wordmark {
  font-family: var(--rounded);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.02em;
  color: var(--brown);
  text-decoration: none;
}
.wordmark span { color: var(--gold-deep); }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--ink-soft);
  background: var(--sand);
  border: 1px solid var(--rule);
  padding: 6px 12px; border-radius: 999px;
}
.badge::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(232, 162, 58, 0.25);
}

main { flex: 1; }

/* Home */
.intro { padding: 40px 0 28px; }
.intro h1 {
  font-family: var(--rounded);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 50px);
  line-height: 1.12;
  margin: 0 0 16px;
  color: var(--ink);
  max-width: 18ch;
}
.intro p { font-size: 19px; color: var(--ink-soft); max-width: 58ch; margin: 0; }

.game {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 40px -24px rgba(122, 62, 16, 0.45);
  margin: 12px 0 40px;
}
.game-hero { display: block; width: 100%; height: auto; aspect-ratio: 10 / 3; object-fit: cover; background: var(--sand); }
.game-body { padding: 28px 32px 32px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; }
.game-body h2 { font-family: var(--rounded); font-weight: 800; font-size: 28px; margin: 0 0 4px; color: var(--brown); }
.meta { margin: 0 0 14px; font-size: 14px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--gold-deep); }
.game-body p.pitch { margin: 0; max-width: 60ch; }
.cta {
  display: inline-block;
  font-family: var(--rounded);
  font-weight: 700;
  font-size: 16px;
  background: var(--gold);
  color: var(--ink);
  border: 2px solid var(--brown);
  border-radius: 999px;
  padding: 11px 22px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 3px 0 var(--brown);
}
.cta:hover { background: #ffcc70; color: var(--ink); }
.cta.soon { background: var(--sand); border-color: var(--rule); box-shadow: none; color: var(--ink-soft); cursor: default; }

.contact { padding: 8px 0 48px; }
.contact h2 { font-family: var(--rounded); font-weight: 800; font-size: 22px; margin: 0 0 6px; }
.contact p { margin: 0; color: var(--ink-soft); }
.contact a { font-weight: 600; }

/* Text pages (privacy, legal) */
.doc { padding: 24px 0 56px; }
.doc h1 { font-family: var(--rounded); font-weight: 800; font-size: clamp(30px, 4.4vw, 40px); line-height: 1.15; margin: 8px 0 6px; }
.doc .updated { color: var(--ink-soft); font-size: 15px; margin: 0 0 28px; }
.doc h2 { font-family: var(--rounded); font-weight: 800; font-size: 22px; margin: 36px 0 8px; color: var(--brown); }
.doc h3 { font-size: 17px; margin: 22px 0 4px; }
.doc p, .doc li { max-width: 68ch; }
.doc ul { padding-left: 22px; }
.doc li { margin: 4px 0; }
.summary {
  background: var(--card);
  border: 1px solid var(--rule);
  border-left: 5px solid var(--gold);
  border-radius: 12px;
  padding: 16px 20px;
  margin: 0 0 8px;
}
.summary p { margin: 0; }
.back { font-size: 15px; }
address { font-style: normal; }

/* Footer */
.site-footer { border-top: 1px solid var(--rule); padding: 22px 0 30px; font-size: 14px; color: var(--ink-soft); }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 12px 24px; flex-wrap: wrap; }
.site-footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.site-footer a { color: var(--ink-soft); }

@media (max-width: 640px) {
  body { font-size: 16px; }
  .wrap { padding: 0 18px; }
  .intro { padding: 28px 0 20px; }
  .intro p { font-size: 17px; }
  .game-body { grid-template-columns: 1fr; padding: 22px 20px 24px; }
  .cta { justify-self: start; }
}

@media (prefers-reduced-motion: no-preference) {
  .cta { transition: background-color 0.15s ease, transform 0.15s ease; }
  .cta:not(.soon):active { transform: translateY(2px); box-shadow: 0 1px 0 var(--brown); }
}
