/* ===========================
   GIST — Global Styles
   =========================== */

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

:root {
  --white:        #ffffff;
  --off-white:    #f7f9fc;
  --blue-50:      #eff6ff;
  --blue-100:     #dbeafe;
  --blue-200:     #bfdbfe;
  --blue-400:     #60a5fa;
  --blue-500:     #3b82f6;
  --blue-600:     #2563eb;
  --blue-700:     #1d4ed8;
  --blue-900:     #1e3a8a;
  --slate-100:    #f1f5f9;
  --slate-300:    #cbd5e1;
  --slate-400:    #94a3b8;
  --slate-500:    #64748b;
  --slate-700:    #334155;
  --slate-900:    #0f172a;
  --radius-sm:    6px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --radius-xl:    32px;
  --shadow-sm:    0 1px 3px rgba(0,0,0,.07), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:    0 4px 16px rgba(37,99,235,.08), 0 1px 4px rgba(0,0,0,.06);
  --shadow-lg:    0 12px 40px rgba(37,99,235,.12), 0 4px 12px rgba(0,0,0,.08);
  --shadow-card:  0 2px 20px rgba(37,99,235,.1);
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --transition:   0.22s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  background: var(--white);
  color: var(--slate-900);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Navigation ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; gap: 2rem;
  padding: 0 5vw;
  height: 68px;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--blue-100);
  box-shadow: 0 1px 0 var(--blue-50);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--blue-700);
  text-decoration: none;
  letter-spacing: -1px;
}
.nav-logo .dot { color: var(--blue-500); }

.nav-links {
  list-style: none;
  display: flex; gap: 2rem;
  margin-left: auto;
}
.nav-links a {
  text-decoration: none;
  color: var(--slate-700);
  font-size: .93rem;
  font-weight: 500;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--blue-600); }

.nav-cta {
  display: flex; align-items: center; gap: .75rem;
  margin-left: 1.5rem;
}

/* ── Buttons ── */
.btn-primary {
  display: inline-block;
  background: var(--blue-600);
  color: var(--white);
  padding: .65rem 1.4rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: .93rem;
  text-decoration: none;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  box-shadow: 0 2px 8px rgba(37,99,235,.25);
}
.btn-primary:hover {
  background: var(--blue-700);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37,99,235,.35);
}
.btn-primary.btn-lg { padding: .85rem 2rem; font-size: 1rem; border-radius: var(--radius-lg); }

.btn-ghost {
  display: inline-block;
  color: var(--slate-700);
  padding: .65rem 1.2rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: .93rem;
  text-decoration: none;
  transition: color var(--transition), background var(--transition);
}
.btn-ghost:hover { color: var(--blue-600); background: var(--blue-50); }

.btn-outline {
  display: inline-block;
  color: var(--blue-600);
  border: 1.5px solid var(--blue-300);
  padding: .83rem 1.8rem;
  border-radius: var(--radius-lg);
  font-weight: 500;
  font-size: 1rem;
  text-decoration: none;
  transition: all var(--transition);
  background: transparent;
}
.btn-outline:hover {
  background: var(--blue-50);
  border-color: var(--blue-500);
}

/* ── Section shared ── */
.section-label {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--blue-500);
  margin-bottom: .75rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.15;
  margin-bottom: 2.5rem;
}
.section-title em { font-style: italic; color: var(--blue-600); }

/* ── Footer ── */
.footer {
  background: var(--slate-900);
  color: var(--slate-400);
  padding: 4rem 5vw 2rem;
}
.footer-top {
  display: flex;
  gap: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-wrap: wrap;
}
.footer-brand { flex: 0 0 200px; }
.footer-brand .nav-logo { color: var(--white); }
.footer-brand p { margin-top: .5rem; font-size: .88rem; }
.footer-cols { display: flex; gap: 3rem; flex-wrap: wrap; }
.footer-col { display: flex; flex-direction: column; gap: .5rem; min-width: 100px; }
.footer-col h5 { color: var(--white); font-size: .85rem; font-weight: 500; margin-bottom: .25rem; }
.footer-col a { color: var(--slate-400); text-decoration: none; font-size: .85rem; transition: color var(--transition); }
.footer-col a:hover { color: var(--blue-400); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 1.5rem; font-size: .8rem; flex-wrap: wrap; gap: 1rem;
}
.footer-socials { display: flex; gap: 1.5rem; }
.footer-socials a { color: var(--slate-400); text-decoration: none; transition: color var(--transition); }
.footer-socials a:hover { color: var(--blue-400); }

/* ── Hamburger (mobile) ── */
.hamburger {
  display: none;
  background: none; border: none; cursor: pointer;
  font-size: 1.4rem; color: var(--slate-700); margin-left: auto;
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }
}
