:root {
  --bg: #12141c;
  --bg-2: #1a1d29;
  --card: #20243300;
  --surface: #222636;
  --line: #2f3448;
  --text: #eef0f6;
  --muted: #a3a9bd;
  --accent: #f2b45c;
  --accent-ink: #1a1408;
  --radius: 16px;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.top {
  position: sticky; top: 0; z-index: 10;
  background: color-mix(in srgb, var(--bg) 85%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-weight: 700; font-size: 1.15rem; text-decoration: none; letter-spacing: -0.01em; }
.logo span { color: var(--accent); }
.nav { display: flex; gap: 22px; font-size: .95rem; }
.nav a { text-decoration: none; color: var(--muted); }
.nav a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 22px; border-radius: 999px; border: 1px solid transparent;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
}
.btn-primary { background: var(--accent); color: var(--accent-ink); }
.btn-primary:hover { filter: brightness(1.06); }
.btn-ghost { border-color: var(--line); color: var(--text); background: transparent; }
.btn-ghost:hover { background: var(--surface); }

/* Hero */
.hero { padding: 96px 0 72px; background: radial-gradient(900px 400px at 15% 0%, #f2b45c22, transparent 60%), radial-gradient(700px 400px at 90% 20%, #6b7cff1f, transparent 60%); }
.eyebrow { color: var(--accent); font-weight: 600; font-size: .85rem; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px; }
.hero h1 { font-size: clamp(2.2rem, 6vw, 4rem); line-height: 1.05; letter-spacing: -0.03em; margin: 0 0 20px; max-width: 14ch; }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 56ch; margin: 0 0 32px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Sections */
section { padding: 72px 0; }
.section-head { margin-bottom: 32px; }
.section-head h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); letter-spacing: -0.02em; margin: 0 0 8px; }
.section-head p { color: var(--muted); margin: 0; max-width: 60ch; }

/* Event types */
.types { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.type { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.type .icon { font-size: 1.6rem; margin-bottom: 10px; }
.type h3 { margin: 0 0 6px; font-size: 1.1rem; }
.type p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Events */
.events { display: grid; gap: 14px; }
.event {
  display: grid; grid-template-columns: 84px 1fr auto; gap: 20px; align-items: center;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px;
}
.date { text-align: center; border-radius: 12px; background: var(--bg-2); border: 1px solid var(--line); padding: 10px 0; }
.date .m { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--accent); font-weight: 700; }
.date .d { font-size: 1.7rem; font-weight: 700; line-height: 1.1; }
.event h3 { margin: 0 0 4px; font-size: 1.1rem; }
.meta { color: var(--muted); font-size: .92rem; display: flex; flex-wrap: wrap; gap: 4px 14px; }
.tag { display: inline-block; font-size: .75rem; font-weight: 600; padding: 2px 10px; border-radius: 999px; background: #f2b45c1f; color: var(--accent); margin-bottom: 6px; }
.empty { color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); padding: 28px; text-align: center; }

/* Newsletter */
.newsletter { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.nl-box { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.nl-form { display: flex; flex-direction: column; gap: 12px; }
.nl-form .row { display: flex; gap: 10px; }
.nl-form input[type=email], .nl-form input[type=text] {
  flex: 1; min-width: 0; padding: 13px 16px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--bg); color: var(--text); font: inherit;
}
.nl-form input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.consent { font-size: .82rem; color: var(--muted); display: flex; gap: 8px; align-items: flex-start; }
.consent input { margin-top: 4px; }
.nl-msg { font-size: .92rem; min-height: 1.4em; margin: 0; }
.nl-msg.ok { color: #7fd69a; }
.nl-msg.err { color: #ff8a8a; }

/* About / contact */
.about { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; }
.about p { color: var(--muted); }
.contact-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.contact-card h3 { margin-top: 0; }

/* Footer */
footer { padding: 32px 0 48px; color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; }
footer nav { display: flex; gap: 18px; }
footer a { text-decoration: none; }
footer a:hover { color: var(--text); }

/* Legal pages */
.legal { padding: 56px 0 80px; max-width: 760px; }
.legal h1 { letter-spacing: -0.02em; }
.legal h2 { margin-top: 32px; font-size: 1.2rem; }
.legal p, .legal li { color: var(--muted); }
.todo { background: #f2b45c1f; border: 1px solid #f2b45c55; color: var(--accent); border-radius: 12px; padding: 12px 16px; font-size: .92rem; }

@media (max-width: 760px) {
  .nav { display: none; }
  .hero { padding: 64px 0 48px; }
  section { padding: 56px 0; }
  .event { grid-template-columns: 64px 1fr; }
  .event .btn { grid-column: 1 / -1; }
  .nl-box, .about { grid-template-columns: 1fr; gap: 24px; }
  .nl-form .row { flex-direction: column; }
}
