@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,600;0,9..144,700;1,9..144,300;1,9..144,400&family=Figtree:wght@300;400;500;600&family=Fragment+Mono:wght@400&display=swap');

:root {
  --white:     #ffffff;
  --off:       #f8f7f4;
  --off2:      #f0ede7;
  --border:    #e6e2d9;
  --border2:   #d5cfc5;
  --ink:       #181614;
  --ink2:      #3b3834;
  --muted:     #797570;
  --faint:     #b8b3ab;
  --accent:    #1460a8;
  --accent-h:  #0f4f8e;
  --accent-l:  #eaf2fb;
  --green:     #176649;
  --green-l:   #e8f5ef;
  --tag-bg:    #f0ede7;
  --radius:    10px;
  --shadow:    0 1px 3px rgba(0,0,0,0.05), 0 4px 14px rgba(0,0,0,0.07);
  --shadow-lg: 0 2px 8px rgba(0,0,0,0.05), 0 20px 56px rgba(0,0,0,0.10);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--white);
  color: var(--ink);
  font-family: 'Figtree', sans-serif;
  font-size: 16px;
  line-height: 1.72;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─── */
nav {
  position: sticky; top: 0; z-index: 200;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6%; height: 66px;
}

.logo {
  font-family: 'Fraunces', serif;
  font-weight: 700; font-size: 1.25rem;
  letter-spacing: -0.02em;
  color: var(--ink); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}

.logo-mark {
  width: 30px; height: 30px; border-radius: 8px;
  background: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Fragment Mono', monospace;
  font-size: 0.7rem; color: #fff; letter-spacing: 0;
  flex-shrink: 0;
}

.nav-links {
  display: flex; align-items: center; gap: 32px; list-style: none;
}

.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 0.875rem; font-weight: 500;
  transition: color 0.18s;
}

.nav-links a:hover, .nav-links a.active { color: var(--ink); }

.nav-cta {
  background: var(--accent) !important;
  color: #fff !important;
  padding: 8px 20px; border-radius: var(--radius);
  font-weight: 600 !important; font-size: 0.875rem !important;
  transition: background 0.18s !important;
}

.nav-cta:hover { background: var(--accent-h) !important; }

/* ─── FOOTER ─── */
footer {
  background: var(--ink);
  color: var(--faint);
  padding: 64px 6% 40px;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .logo { color: #fff; margin-bottom: 14px; display: inline-flex; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  font-family: 'Fragment Mono', monospace;
  font-size: 0.68rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: #fff;
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { color: var(--faint); text-decoration: none; font-size: 0.875rem; transition: color 0.18s; }
.footer-col a:hover { color: #fff; }

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 28px;
  font-family: 'Fragment Mono', monospace;
  font-size: 0.68rem; letter-spacing: 0.04em;
}

/* ─── UTILITIES ─── */
.container { max-width: 1100px; margin: 0 auto; padding: 0 6%; }
.container-sm { max-width: 760px; margin: 0 auto; padding: 0 6%; }

section { padding: 100px 0; }

.eyebrow {
  font-family: 'Fragment Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 10px;
}

.eyebrow::before {
  content: ''; display: inline-block;
  width: 20px; height: 1px; background: var(--accent);
}

h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 700; line-height: 1.08;
  letter-spacing: -0.03em; color: var(--ink);
}

h2 {
  font-family: 'Fraunces', serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700; line-height: 1.12;
  letter-spacing: -0.03em; color: var(--ink);
}

h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem; font-weight: 600;
  letter-spacing: -0.02em; color: var(--ink);
  margin-bottom: 10px;
}

.lead {
  font-size: 1.1rem; color: var(--muted);
  font-weight: 300; max-width: 520px;
  line-height: 1.75;
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--radius);
  font-weight: 600; font-size: 0.9rem;
  text-decoration: none; transition: all 0.18s;
  border: none; cursor: pointer; font-family: 'Figtree', sans-serif;
}

.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-h); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(20,96,168,0.25); }

.btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--border2); }
.btn-outline:hover { border-color: var(--ink); }

.btn-lg { padding: 14px 32px; font-size: 1rem; }

/* ─── CARDS ─── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px;
  transition: all 0.22s;
  box-shadow: var(--shadow);
}

.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); border-color: var(--border2); }

/* ─── TAG ─── */
.tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--tag-bg); color: var(--ink2);
  font-family: 'Fragment Mono', monospace;
  font-size: 0.7rem; letter-spacing: 0.06em;
  padding: 4px 10px; border-radius: 100px;
  border: 1px solid var(--border);
}

/* ─── DIVIDER ─── */
hr { border: none; border-top: 1px solid var(--border); }

/* ─── REVEAL ─── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  section { padding: 70px 0; }
}
