/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #FAF8F5;
  --bg-alt: #F2EDE6;
  --fg: #1B1B1B;
  --fg-muted: #6B6560;
  --green: #1B3D2F;
  --green-light: #254D3E;
  --amber: #E8A838;
  --amber-dark: #C88A1A;
  --accent-red: #8B2635;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* === TYPOGRAPHY === */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p { color: var(--fg-muted); line-height: 1.7; }
.overline {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 0.75rem;
}
em { font-style: italic; color: var(--green); }

/* === LAYOUT === */
section { padding: 5rem 1.5rem; }
.container { max-width: 1120px; margin: 0 auto; }

/* === HERO === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 1.5rem;
  background: var(--bg);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,168,56,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner { flex: 1; max-width: 620px; position: relative; z-index: 1; }
.hero-label {
  display: inline-block;
  background: var(--green);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem;
  border-radius: 2px;
  margin-bottom: 1.5rem;
}
.hero-headline {
  margin-bottom: 1.5rem;
  color: var(--green);
}
.hero-lede {
  font-size: 1.125rem;
  color: var(--fg-muted);
  max-width: 480px;
  margin-bottom: 3rem;
}
.hero-creds {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.cred-item { display: flex; flex-direction: column; }
.cred-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.cred-desc {
  font-size: 0.75rem;
  color: var(--fg-muted);
  max-width: 120px;
  line-height: 1.3;
}
.hero-visual { display: none; }

/* === STATS === */
.stats-section { background: var(--bg-alt); }
.stats-inner { max-width: 1120px; margin: 0 auto; }
.stats-header { max-width: 560px; margin-bottom: 3rem; }
.stats-header h2 { color: var(--green); margin-top: 0.5rem; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.stat-card {
  background: var(--bg);
  border-radius: 12px;
  padding: 2rem;
  border: 1px solid rgba(27,61,47,0.08);
}
.stat-icon { margin-bottom: 1rem; }
.stat-val {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.75rem;
}
.stat-label { font-size: 0.9rem; color: var(--fg-muted); line-height: 1.5; }
.stats-cta {
  border-top: 1px solid rgba(27,61,47,0.1);
  padding-top: 1.5rem;
}
.stats-cta p {
  font-size: 1rem;
  color: var(--fg-muted);
  font-style: italic;
}

/* === MANIFESTO === */
.manifesto { background: var(--green); color: #fff; padding: 5rem 1.5rem; }
.manifesto-inner { max-width: 720px; margin: 0 auto; }
.manifesto-rule {
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin: 2rem 0;
}
.manifesto blockquote {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-style: italic;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 2rem;
  color: var(--amber);
}
.manifesto-body p { color: rgba(255,255,255,0.8); margin-bottom: 1.25rem; font-size: 1.05rem; }
.manifesto-body p:last-child { color: rgba(255,255,255,0.6); font-style: italic; }

/* === SERVICES === */
.services { background: var(--bg); }
.services-inner { max-width: 1120px; margin: 0 auto; }
.services h2 { color: var(--green); margin: 0.5rem 0 3rem; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--bg-alt);
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(27,61,47,0.08);
}
.service-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  font-weight: 700;
  color: rgba(27,61,47,0.07);
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  line-height: 1;
}
.service-card h3 { color: var(--green); margin-bottom: 0.75rem; }
.service-card p { font-size: 0.95rem; }

/* === HOW === */
.how { background: var(--bg-alt); }
.how-inner { max-width: 1120px; margin: 0 auto; }
.how h2 { color: var(--green); margin: 0.5rem 0 3rem; }
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: flex; gap: 2rem; align-items: flex-start; }
.step-marker {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--green);
  color: var(--amber);
  padding: 0.35rem 0.75rem;
  border-radius: 3px;
  margin-top: 0.35rem;
}
.step-content { max-width: 480px; }
.step-content h3 { color: var(--green); margin-bottom: 0.5rem; }
.step-content p { font-size: 0.95rem; }
.step-connector {
  width: 2px;
  height: 2rem;
  background: linear-gradient(to bottom, var(--green), transparent);
  margin-left: 0.85rem;
  opacity: 0.3;
}

/* === CLOSING === */
.closing { background: var(--green); color: #fff; padding: 6rem 1.5rem; }
.closing-inner { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 3rem; }
.closing-text h2 { color: var(--amber); margin-bottom: 1.5rem; }
.closing-text p { color: rgba(255,255,255,0.8); margin-bottom: 1rem; font-size: 1.05rem; }
.closing-text p:last-child { color: rgba(255,255,255,0.6); }
.closing-visual { display: flex; justify-content: center; }
.crowd-icon { opacity: 0.7; }

/* === FOOTER === */
.footer { background: var(--bg-alt); padding: 3rem 1.5rem; }
.footer-inner { max-width: 1120px; margin: 0 auto; }
.footer-brand { margin-bottom: 2rem; }
.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.5rem;
}
.footer-brand p { color: var(--fg-muted); font-size: 0.9rem; }
.footer-rule { height: 1px; background: rgba(27,61,47,0.12); margin-bottom: 1.5rem; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--fg-muted);
}

/* === RESPONSIVE === */
@media (min-width: 900px) {
  .hero { padding: 4rem 1.5rem; }
  .hero-visual {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-left: 4rem;
    align-items: center;
    justify-content: center;
    flex: 1;
  }
  .hero { flex-direction: row; }
  .hero-inner { max-width: 560px; }
  .game-shelf {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    max-width: 300px;
    justify-content: flex-start;
  }
  .game-box {
    width: 60px;
    height: 80px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.5rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  }
  .social-cards { display: flex; gap: 0.75rem; }
  .card {
    background: #fff;
    border-radius: 8px;
    padding: 0.75rem;
    width: 70px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  .card-avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--green);
    opacity: 0.3;
    margin-bottom: 0.5rem;
  }
  .card-lines div {
    height: 4px;
    background: var(--bg-alt);
    border-radius: 2px;
    margin-bottom: 3px;
  }
}

@media (max-width: 600px) {
  section { padding: 3.5rem 1.25rem; }
  .hero-creds { gap: 1.5rem; }
  .cred-num { font-size: 1.6rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
}