:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #1f2933;
  --muted: #5b6b73;
  --accent: #1f6f6b;
  --accent-dark: #154f4c;
  --gold: #c9a227;
  --border: #e5e1d8;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(31, 41, 51, 0.08);
  --max: 1040px;
  --font-head: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  line-height: 1.2;
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; color: var(--muted); }
a { color: var(--accent); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 250, 247, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.brand-logo {
  width: 100px;
  height: auto;
  display: block;
}
.nav { display: flex; gap: 6px; }
.nav a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 8px 12px;
  border-radius: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}
.nav a:hover { background: rgba(31, 111, 107, 0.08); color: var(--accent-dark); }
.nav a.active { color: var(--accent); background: rgba(31, 111, 107, 0.1); }

/* Hero */
.hero {
  padding: clamp(64px, 12vw, 120px) 0 clamp(56px, 10vw, 96px);
  background: radial-gradient(circle at 15% 10%, rgba(31, 111, 107, 0.1), transparent 45%), var(--bg);
}
.hero-inner { max-width: 760px; }
.hero-compact {
  padding: clamp(44px, 7vw, 72px) 0 clamp(8px, 2vw, 16px);
  background: radial-gradient(circle at 15% 10%, rgba(31, 111, 107, 0.08), transparent 45%), var(--bg);
}
.hero-compact .container { max-width: 820px; }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 12px;
}
.lead { font-size: clamp(1.05rem, 2vw, 1.25rem); max-width: 62ch; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.97rem;
  text-decoration: none;
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
  border: 1px solid transparent;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(31, 111, 107, 0.22);
}
.btn-primary:hover { background: var(--accent-dark); }
.btn-secondary {
  background: transparent;
  color: var(--accent-dark);
  border-color: var(--accent);
}
.btn-secondary:hover { background: rgba(31, 111, 107, 0.08); }

/* Sections */
.section { padding: clamp(48px, 8vw, 84px) 0; }
.section-alt {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section .container { max-width: 820px; }
.section-alt .container { max-width: var(--max); }
.section h2:not(:first-child) { margin-top: 1.4em; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 24px;
}
.card {
  display: block;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(31, 41, 51, 0.12);
  border-color: rgba(31, 111, 107, 0.3);
}
.card h3 { color: var(--ink); margin-bottom: 6px; }
.card p { margin-bottom: 12px; }
.card-link { color: var(--accent); font-weight: 600; font-size: 0.92rem; }

/* Lists */
.values, .checklist { list-style: none; padding: 0; margin: 0 0 1em; }
.values { display: grid; gap: 12px; }
.values li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: 10px;
  padding: 14px 18px;
  color: var(--muted);
}
.values strong { color: var(--ink); }

.checklist { display: grid; gap: 10px; }
.checklist li { position: relative; padding-left: 26px; color: var(--muted); }
.checklist li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: start;
  margin-top: 12px;
}
.discord-panel {
  background: #5865f2;
  color: #fff;
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 16px 36px rgba(88, 101, 242, 0.28);
}
.discord-panel h3 { color: #fff; margin-bottom: 8px; }
.discord-panel p { color: rgba(255, 255, 255, 0.92); }
.discord-panel .btn { background: #fff; color: #4752c4; box-shadow: none; }
.discord-panel .btn:hover { background: #eef0ff; }
.discord-note {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.8) !important;
  margin: 16px 0 0;
  word-break: break-all;
}

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 28px 0; background: var(--bg); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: space-between;
}
.footer-inner p { margin: 0; font-size: 0.9rem; }
.footer-inner a { font-weight: 600; text-decoration: none; }
.footer-inner a:hover { text-decoration: underline; }

/* Responsive */
@media (max-width: 720px) {
  .contact-grid { grid-template-columns: 1fr; }
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 0;
    gap: 8px;
  }
  .nav { flex-wrap: wrap; }
}
