/* ── GLOBAL STYLES ─────────────────────────────────── */

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* Root Variables - OpenClicks Palette */
:root {
  --brand-50: #EBF5FF;
  --brand-100: #CCE8FF;
  --brand-200: #B3D9FF;
  --brand-400: #6AB8FF;
  --brand-500: #2D8EFF;
  --brand-600: #0476FF;
  --brand-700: #0360D4;
  --brand-900: #003B80;
  --accent-400: #33E8B8;
  --accent-500: #01E2A5;
  --accent-600: #00C48C;
  --ink: #0A0F1E;
  --ink-2: #1E293B;
  --ink-3: #475569;
  --ink-4: #94A3B8;
  --surface: #FFFFFF;
  --surface-2: #F8FAFC;
  --surface-3: #F1F5F9;
  --border: #E2E8F0;
  --border-2: #CBD5E1;
  --success: #059669;
  --error: #DC2626;
}

html {
  font-size: 17px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }

/* ── BUTTON STYLES ─────────────────────────────────── */
.btn-ghost {
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  background: transparent;
  border: 1px solid var(--border-2);
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
}
.btn-ghost:hover { background: var(--surface-3); border-color: var(--ink-4); }

.btn-primary {
  padding: 8px 18px;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--brand-600);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.btn-primary:hover { background: var(--brand-700); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(4,118,255,0.25); }

/* ── COMMON LAYOUT ─────────────────────────────────── */
.page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 40px;
}

.section { padding: 96px 40px; }

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* ── SECTION TYPOGRAPHY ───────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--brand-600);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

h2.section-title {
  font-family: 'Merriweather', serif;
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 580px;
  margin-bottom: 16px;
}

.section-sub {
  font-size: 17px;
  color: var(--ink-3);
  max-width: 520px;
  line-height: 1.7;
  margin-bottom: 56px;
}

/* ── PAGE HERO ─────────────────────────────────────── */
.page-hero {
  padding: 120px 40px 72px;
  background: var(--surface-2);
  border-bottom: 1px solid var(--border);
}

.page-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.page-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  background: var(--brand-50);
  border: 1px solid var(--brand-200);
  border-radius: 100px;
  font-size: 16px;
  font-weight: 600;
  color: var(--brand-700);
  margin-bottom: 20px;
}

h1.page-hero-title {
  font-family: 'Merriweather', serif;
  font-size: clamp(36px, 4.5vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 16px;
}

h1.page-hero-title em {
  font-style: italic;
  color: var(--brand-600);
}

.page-hero-sub {
  font-size: 16px;
  color: var(--ink-3);
  max-width: 560px;
  line-height: 1.7;
}

/* ── SCROLL REVEAL ANIMATION ───────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── RESPONSIVE ────────────────────────────────────── */
@media (max-width: 768px) {
  .page-wrap { padding: 0 20px; }
  .page-hero { padding: 100px 20px 56px; }
  .section { padding: 60px 20px; }
}
