/* Laugh Empire — shared styles */

:root {
  --bg: #fff8ec;
  --surface: #ffffff;
  --ink: #1f1a17;
  --muted: #6b5f55;
  --line: #eaddcc;
  --accent: #e8590c;
  --accent-ink: #ffffff;
  --accent-soft: #ffe8d6;
  --radius: 14px;
  --wrap: 60rem;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #1a1614;
    --surface: #241f1c;
    --ink: #f6eee4;
    --muted: #b8aa9c;
    --line: #3a322d;
    --accent: #ff8a3d;
    --accent-ink: #1a1614;
    --accent-soft: #3a2618;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
}

a { color: var(--accent); }

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; margin: 0 0 0.75rem; }
h2 { font-size: clamp(1.6rem, 5vw, 2.25rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1rem; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 1.25rem;
}

section { padding: 3.5rem 0; }
section + section { border-top: 1px solid var(--line); }

.eyebrow {
  display: inline-block;
  margin-bottom: 0.75rem;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.muted { color: var(--muted); }

/* Header */
.site-header { padding: 1rem 0; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--ink);
  font-weight: 800;
  font-size: 1.15rem;
  text-decoration: none;
}
.logo img { width: 28px; height: 28px; }
.logo span { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.1s ease, filter 0.1s ease;
}
.btn:hover { filter: brightness(1.07); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.btn-small { padding: 0.5rem 1.1rem; font-size: 0.95rem; }

/* Hero */
.hero { padding: 3rem 0 4rem; text-align: center; border-top: 0; }
.hero h1 { font-size: clamp(2.4rem, 9vw, 4.25rem); margin-bottom: 1rem; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero .lead { max-width: 36rem; margin: 0 auto 1.75rem; font-size: 1.2rem; color: var(--muted); }
.hero .price-note { margin-top: 1rem; font-size: 0.95rem; color: var(--muted); }

/* Cards and grids */
.grid { display: grid; gap: 1rem; }
@media (min-width: 640px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.25rem 0.5rem;
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
}

/* Session formats */
.formats { list-style: none; margin: 0; padding: 0; }
.formats li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.formats li:last-child { border-bottom: 0; }
.formats strong { display: block; }

/* Pricing */
.price-card {
  max-width: 26rem;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: var(--radius);
}
.price { font-size: 3rem; font-weight: 800; line-height: 1; margin: 0.5rem 0; }
.price small { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-card ul { list-style: none; margin: 1.25rem 0 1.5rem; padding: 0; text-align: left; }
.price-card li { padding: 0.35rem 0 0.35rem 1.6rem; position: relative; }
.price-card li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* Rules */
.rules { margin: 0; padding-left: 1.25rem; }
.rules li { margin-bottom: 0.6rem; }
.rules li::marker { color: var(--accent); font-weight: 800; }

/* FAQ */
details {
  border-bottom: 1px solid var(--line);
  padding: 1rem 0;
}
summary { cursor: pointer; font-weight: 700; }
details p { margin: 0.75rem 0 0; color: var(--muted); }

/* Footer */
.site-footer { padding: 2rem 0 3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; text-align: center; }

/* Simple centred page (welcome, etc.) */
.center-page { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 2rem 0; }
.center-page .wrap { max-width: 34rem; }
