@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:wght@700;400i&display=swap');

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

:root {
  --ink: #1a1a2e;
  --ink-mid: #3d3d5c;
  --ink-muted: #6b6b8a;
  --ink-faint: #e8e8f0;
  --surface: #f7f7fb;
  --white: #ffffff;
  --accent: #2a9d8f;
  --accent-dark: #1f7a6e;
  --accent-light: #d4f0ec;
  --radius: 10px;
  --radius-lg: 16px;
}

html { scroll-behavior: smooth; }

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

/* ── NAV ── */
nav {
  padding: 0 32px;
  height: 60px;
  border-bottom: 1px solid var(--ink-faint);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
}

.brand {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: -.01em;
}

.brand-mark {
  width: 26px;
  height: 26px;
  background: var(--ink);
  border-radius: 6px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-mark svg { width: 15px; height: 15px; }

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  text-decoration: none;
  transition: color .15s;
}

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

/* ── FOOTER ── */
footer {
  background: var(--ink);
  padding: 48px 32px 32px;
}

.footer-inner {
  max-width: 900px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  padding-bottom: 28px;
  border-bottom: 1px solid #2a2a45;
  margin-bottom: 24px;
}

.footer-brand-block .brand { color: var(--white); margin-bottom: 8px; }
.footer-brand-block .brand-mark { background: var(--accent); }
.footer-tagline { font-size: 12px; color: #64748b; line-height: 1.5; max-width: 220px; }

.footer-links { display: flex; gap: 48px; }

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #475569;
  margin-bottom: 12px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.footer-col a {
  font-size: 13px;
  color: #64748b;
  text-decoration: none;
  transition: color .15s;
}

.footer-col a:hover { color: #94a3b8; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-disclaimer {
  font-size: 11px;
  color: #334155;
  line-height: 1.6;
  max-width: 580px;
}

.footer-copy {
  font-size: 11px;
  color: #334155;
  white-space: nowrap;
  margin-top: 2px;
}

/* ── SHARED UTILITIES ── */
.container { max-width: 900px; margin: 0 auto; padding: 0 32px; }
.container-sm { max-width: 700px; margin: 0 auto; padding: 0 32px; }

.section { padding: 72px 32px; }
.section-alt { background: var(--surface); }

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.section h2 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 16px;
}

.section p {
  color: var(--ink-mid);
  font-size: .97rem;
  margin-bottom: 14px;
}

.section p:last-child { margin-bottom: 0; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: .95rem;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: var(--radius);
  text-decoration: none;
  transition: background .2s, transform .15s;
}

.btn:hover { background: var(--accent-dark); transform: translateY(-1px); }

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

.btn-outline:hover { background: var(--surface); transform: none; border-color: var(--ink-muted); }

/* ── CARD ── */
.card {
  background: var(--white);
  border: 1px solid var(--ink-faint);
  border-radius: var(--radius-lg);
  padding: 28px;
  text-decoration: none;
  display: block;
  transition: box-shadow .2s, transform .15s;
}

.card:hover { box-shadow: 0 4px 20px rgba(0,0,0,.07); transform: translateY(-2px); }

.card-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
  background: var(--accent-light);
  color: var(--accent-dark);
  margin-bottom: 12px;
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.35;
}

.card p {
  font-size: .9rem;
  color: var(--ink-muted);
  line-height: 1.6;
  margin: 0;
}

.card .read-more {
  display: inline-block;
  margin-top: 14px;
  font-size: .85rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: none;
}

/* ── RESPONSIVE ── */
@media (max-width: 640px) {
  nav { padding: 0 20px; }
  .nav-links { display: none; }
  .section { padding: 52px 20px; }
  .container, .container-sm { padding: 0 20px; }
  .footer-top { flex-direction: column; gap: 28px; }
  .footer-links { gap: 28px; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
