:root {
  --bg: #222339;
  --surface: #121329;
  --card: #020319;
  --text: #f7f7f7;
  --muted: #a3a3b5;
  --primary: #4f2c68;
  --border: #020319;
  --radius: 0.75rem;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
img { max-width: 100%; height: auto; }

/* header */
.site-header { background: var(--surface); border-bottom: 1px solid var(--border); }
.site-header .inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.5rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
}
.logo img { display: block; width: 6rem; height: 6rem; object-fit: contain; }
.socials { display: flex; gap: 2rem; margin-left: auto; }
.socials svg { display: block; }
.nav { display: flex; flex-wrap: wrap; gap: 0.25rem; }
.nav a {
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 1.125rem;
  font-weight: 600;
  text-decoration: none;
}
.nav a:hover { background: var(--card); }
.nav a[aria-current="page"] { text-decoration: underline; }

@media (max-width: 767px) {
  .nav { width: 100%; justify-content: center; }
}

/* main */
main { flex: 1; width: 100%; max-width: 56rem; margin: 0 auto; padding: 1.5rem; }
h1 { font-size: 1.875rem; margin: 0 0 1rem; }

/* buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.375rem;
  font-weight: 600;
  font-size: 1.125rem;
  text-decoration: none;
}
.btn-primary { background: var(--primary); }
.btn-primary:hover { filter: brightness(1.2); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.1); }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }

/* home hero */
.hero {
  position: relative;
  min-height: calc(80vh - 4rem);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  background: linear-gradient(to bottom, #03112b, #2b0b3a, #0f3a61);
}
.hero .content { position: relative; z-index: 1; max-width: 48rem; padding: 0 1.5rem; margin-bottom: 8rem; }
.hero h1 { font-size: clamp(2.25rem, 6vw, 3.75rem); font-weight: 800; line-height: 1.15; }
.hero p { font-size: clamp(1.125rem, 2.5vw, 1.5rem); opacity: 0.9; margin: 0 0 2rem; }
.hero .trees { position: absolute; bottom: 0; left: 0; width: 100%; pointer-events: none; }

.callout {
  max-width: 32rem;
  margin: 1rem auto 3rem;
  padding: 2rem 1.5rem;
  text-align: center;
  background: var(--card);
  border-radius: 0.5rem;
}
.callout h2 { font-size: 1.25rem; margin: 0; }

/* cards */
.cards { display: grid; gap: 1rem; }
.card {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  padding: 1rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  text-decoration: none;
}
a.card:hover { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.5); }
a.card:hover h2 { color: #b48ad1; }
.card img { width: 12rem; flex-shrink: 0; border-radius: 0.25rem; }
.card h2 { font-size: 1.25rem; margin: 0; }
.card p { margin: 0.5rem 0 0; }
.card .meta { font-size: 0.875rem; color: var(--muted); }

@media (max-width: 600px) {
  .card { flex-direction: column; gap: 1rem; }
}

/* footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--muted);
}
