:root {
  --dove-50:  #fbfcfd;
  --dove-100: #f1f5f9;
  --dove-200: #e2e8f0;
  --dove-300: #cbd5e1;
  --dove-400: #94a3b8;
  --dove-500: #64748b;
  --dove-600: #475569;
  --dove-700: #334155;
  --dove-800: #1e293b;
  --dove-900: #0f172a;

  --info:   #3b6fb0;
  --accent: #b97325;

  --font-sans:  'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-serif: 'Roboto Serif', 'Source Serif 4', Georgia, serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  background: var(--dove-50);
  color: var(--dove-900);
  line-height: 1.5;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01", "cv11";
}

body {
  background-image:
    radial-gradient(1100px 520px at 12% -8%, rgba(59,111,176,0.055), transparent 60%),
    radial-gradient(700px 380px at 92% 6%, rgba(185,115,37,0.035), transparent 65%);
  background-attachment: fixed;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

a { color: var(--info); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
@media (min-width: 768px) {
  .container { padding: 0 2rem; }
}

/* ── Topbar ────────────────────────────────────────────────────────────────── */

.topbar {
  background: transparent;
  position: sticky; top: 0; z-index: 10;
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 1rem 1.5rem;
}
@media (min-width: 768px) {
  .topbar-inner { padding: 1.25rem 2rem; }
}

.nav-link {
  color: var(--dove-600);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}
.nav-link:hover { color: var(--dove-900); text-decoration: none; }

/* ── Hero ──────────────────────────────────────────────────────────────────── */

.hero {
  padding: 4rem 1.5rem 6rem;
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 768px) {
  .hero { padding: 6rem 2rem 8rem; }
}

.hero-mark {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 3.5rem;
  color: inherit;
  text-decoration: none;
}
.hero-mark:hover { text-decoration: none; }
.hero-mark svg { display: block; }
.hero-mark .wordmark {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--dove-600);
  letter-spacing: 0.005em;
}

.hero h1 {
  font-family: var(--font-serif);
  font-weight: 350;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1.05;
  letter-spacing: -0.022em;
  color: var(--dove-900);
  margin: 0 0 2rem;
  font-optical-sizing: auto;
  max-width: 18ch;
}
.hero h1 em {
  font-style: italic;
  font-weight: 350;
  color: var(--info);
}

.lead {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--dove-700);
  max-width: 56ch;
  margin: 0;
}
@media (min-width: 768px) {
  .lead { font-size: 1.1875rem; }
}

.hero-cta {
  font-family: var(--font-sans);
  font-size: 1.125rem;
  line-height: 1.7;
  margin: 1.75rem 0 0;
}
@media (min-width: 768px) {
  .hero-cta { font-size: 1.1875rem; }
}
.cta-link {
  color: var(--info);
  text-decoration: none;
  display: inline-flex;
  align-items: baseline;
  gap: 0.45em;
  border-bottom: 1px solid transparent;
  transition: border-color 160ms, color 160ms;
}
.cta-link:hover {
  text-decoration: none;
  border-bottom-color: var(--info);
}
.cta-arrow {
  display: inline-block;
  transition: transform 200ms cubic-bezier(0.4, 0, 0.2, 1);
}
.cta-link:hover .cta-arrow {
  transform: translateX(3px);
}
@media (prefers-reduced-motion: reduce) {
  .cta-arrow { transition: none; }
}

/* ── Footer ────────────────────────────────────────────────────────────────── */

.footer {
  border-top: 1px solid var(--dove-200);
  padding: 1.75rem 0;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  color: var(--dove-500);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
