@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;1,9..40,300&display=swap');

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

.skip-link {
  position: absolute;
  top: -100%;
  left: 0;
  padding: 12px 20px;
  background: var(--black);
  color: #fff;
  font-family: var(--display);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  z-index: 999;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { top: 0; }

:root {
  --coral: #E8442A;
  --coral-light: #FFF0ED;
  --coral-mid: #F47B65;
  --black: #0D0D0D;
  --off-white: #F8F6F2;
  --warm-gray: #6E6B68;
  --mid-gray: #4A4744;
  --border: #E4E0DA;
  --border-dark: #2A2826;
  --dark-bg: #111010;
  --dark-surface: #1A1917;
  --serif: 'DM Serif Display', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
  --display: 'Syne', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--sans); background: var(--off-white); color: var(--black); line-height: 1.6; overflow-x: hidden; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 0 5%; height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(248,246,242,0.92); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); transition: box-shadow 0.3s;
}
.nav-logo { text-decoration: none; display: flex; align-items: center; }
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a { font-family: var(--display); font-size: 14px; font-weight: 500; color: var(--mid-gray); text-decoration: none; transition: color 0.2s; }
.nav-links a:hover, .nav-links a.active { color: var(--black); }
.nav-cta { display: flex; align-items: center; gap: 12px; }

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: 4px;
}
.hamburger-line {
  width: 22px; height: 2px;
  background: var(--black);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s;
  display: block;
}
.hamburger.open .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open .hamburger-line:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav-dark .hamburger-line { background: white; }

/* MOBILE MENU */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: white;
  border-bottom: 1px solid var(--border);
  z-index: 99;
  padding: 8px 5% 24px;
  flex-direction: column;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--display);
  font-size: 15px;
  font-weight: 600;
  color: var(--black);
  text-decoration: none;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  display: block;
  transition: color 0.2s;
}
.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--coral); }
.mobile-menu .mobile-signin { color: var(--mid-gray); margin-top: 4px; }

/* BUTTONS */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-size: 14px; font-weight: 700; color: #fff;
  background: #0d0d0d; border: none; border-radius: 100px; padding: 11px 24px;
  cursor: pointer; text-decoration: none; transition: all 0.25s;
}
.btn-primary:hover { background: #2a2a2a; transform: translateY(-1px); }
.btn-primary:active { background: #000; transform: translateY(1px); }
.btn-primary-lg { font-size: 16px; padding: 15px 36px; }
.btn-ghost { font-family: var(--display); font-size: 14px; font-weight: 600; color: var(--black); background: none; border: none; cursor: pointer; text-decoration: none; transition: color 0.2s; }
.btn-ghost:hover { color: var(--coral); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-size: 15px; font-weight: 600; color: var(--black);
  background: transparent; border: 1.5px solid var(--border); border-radius: 100px; padding: 14px 32px;
  cursor: pointer; text-decoration: none; transition: all 0.25s;
}
.btn-secondary:hover { border-color: var(--black); }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-size: 16px; font-weight: 700; color: var(--black);
  background: white; border: none; border-radius: 100px; padding: 16px 36px;
  cursor: pointer; text-decoration: none; transition: all 0.25s;
}
.btn-white:hover { background: var(--off-white); transform: translateY(-1px); }

/* PAGE HERO */
.page-hero {
  padding: 140px 5% 80px;
  max-width: 1200px; margin: 0 auto;
}
.page-hero-center { text-align: center; max-width: 720px; margin: 0 auto; padding: 140px 5% 80px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--display); font-size: 12px; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral);
  background: var(--coral-light); border-radius: 100px; padding: 6px 16px; margin-bottom: 24px;
}
h1.page-title {
  font-family: var(--serif); font-size: clamp(40px, 5vw, 64px);
  line-height: 1.08; letter-spacing: -0.02em; color: var(--black); margin-bottom: 20px;
}
h1.page-title em, h2.section-title em { font-style: italic; color: var(--coral); }
.page-lead { font-size: 18px; color: var(--mid-gray); line-height: 1.7; font-weight: 300; }

/* SECTION */
section { padding: 80px 5%; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-eyebrow { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral); margin-bottom: 14px; }
h2.section-title { font-family: var(--serif); font-size: clamp(30px, 3.5vw, 48px); line-height: 1.1; letter-spacing: -0.02em; color: var(--black); margin-bottom: 16px; }
.section-body { font-size: 17px; color: var(--mid-gray); line-height: 1.7; font-weight: 300; }

/* FOOTER */
footer {
  background: var(--black); border-top: 1px solid var(--border-dark);
  padding: 60px 5% 40px;
}
.footer-top {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px; padding-bottom: 48px; border-bottom: 1px solid var(--border-dark);
  margin-bottom: 32px;
}
.footer-brand-name { margin-bottom: 16px; }
.footer-brand-name img { height: 28px; width: auto; }
.footer-tagline { font-size: 14px; color: #666260; line-height: 1.6; margin-bottom: 20px; max-width: 260px; }
.footer-col-title { font-family: var(--display); font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #888480; margin-bottom: 16px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: #666260; text-decoration: none; transition: color 0.2s; font-family: var(--display); }
.footer-links a:hover { color: white; }
.footer-bottom { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-copy { font-size: 13px; color: #444240; font-family: var(--display); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: #444240; text-decoration: none; font-family: var(--display); transition: color 0.2s; }
.footer-legal a:hover { color: #888480; }

/* CARDS */
.card { background: white; border: 1px solid var(--border); border-radius: 20px; padding: 32px 28px; }
.card-hover { transition: all 0.3s; }
.card-hover:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.07); border-color: var(--coral); }

/* DIVIDER */
.divider { height: 1px; background: var(--border); margin: 40px 0; }

/* FADE ANIMATIONS */
.fade-up { opacity: 0; transform: translateY(28px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.1s; } .delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; } .delay-4 { transition-delay: 0.4s; }

/* PROSE (legal/blog) */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { font-family: var(--serif); font-size: 28px; color: var(--black); margin: 48px 0 16px; letter-spacing: -0.02em; }
.prose h3 { font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--black); margin: 32px 0 12px; }
.prose p { font-size: 16px; color: var(--mid-gray); line-height: 1.8; margin-bottom: 20px; }
.prose ul, .prose ol { padding-left: 24px; margin-bottom: 20px; }
.prose li { font-size: 16px; color: var(--mid-gray); line-height: 1.8; margin-bottom: 8px; }
.prose strong { color: var(--black); font-weight: 600; }
.prose a { color: var(--coral); text-decoration: none; border-bottom: 1px solid var(--coral-light); }
.prose a:hover { border-color: var(--coral); }
.prose blockquote { border-left: 3px solid var(--coral); padding: 16px 24px; margin: 32px 0; background: var(--coral-light); border-radius: 0 12px 12px 0; }
.prose blockquote p { color: var(--mid-gray); font-style: italic; margin: 0; }

@media (max-width: 900px) {
  nav .nav-links { display: none; }
  nav .nav-cta .btn-ghost { display: none; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
