/* Shared across index.html, privacy.html, terms.html — base reset, design
   tokens, nav, footer, and legal-page layout. Page-specific sections (hero,
   pricing, map mockup, etc.) stay inline in index.html since only it uses
   them. */

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

:root {
  --red: #D32F2F;
  --red-light: #FFEBEE;
  --red-dark: #B71C1C;
  --red-mid: #EF5350;
  --black: #1A1A1A;
  --body: #333333;
  --muted: #666666;
  --border: #E8E8E8;
  --white: #FFFFFF;
  --off-white: #F9F9F9;
}

html { scroll-behavior: smooth; }

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

/* NAV */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  padding: 0 40px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo { display: flex; align-items: center; gap: 11px; text-decoration: none; }

.nav-icon {
  width: 34px; height: 34px;
  background: var(--red);
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
}
.nav-icon svg { width: 20px; height: 20px; fill: white; }

.nav-wordmark {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 18px;
  color: var(--black);
  letter-spacing: -0.025em;
}
.nav-wordmark span { color: var(--red); }

.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { font-size: 14px; color: var(--muted); text-decoration: none; transition: color .15s; }
.nav-links a:hover { color: var(--black); }

.nav-cta {
  background: var(--red); color: white !important;
  padding: 9px 20px; border-radius: 8px;
  font-size: 14px; font-weight: 500;
  text-decoration: none; transition: background .15s;
}
.nav-cta:hover { background: var(--red-dark) !important; }

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 32px 48px;
  display: flex; align-items: center;
  justify-content: space-between; flex-wrap: wrap; gap: 16px;
}
.footer-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.fl-icon {
  width: 28px; height: 28px;
  background: var(--red); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}
.fl-icon svg { width: 16px; height: 16px; fill: white; }
.fl-name { font-family: 'Syne', sans-serif; font-weight: 800; font-size: 16px; color: var(--black); }
.fl-name span { color: var(--red); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--black); }
.footer-links a.current { color: var(--black); font-weight: 600; }
.footer-copy { font-size: 12px; color: #bbb; width: 100%; }

/* LEGAL PAGE LAYOUT (privacy.html, terms.html) */
.legal-header {
  padding: 100px 48px 48px;
  background: #D32F2F;
  text-align: center;
}
.legal-header-title {
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4vw, 52px);
  color: white;
  letter-spacing: -0.025em;
  margin-bottom: 8px;
}
.legal-header-date {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}
.legal-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 64px 48px;
  background: white;
}
.legal-h2 {
  font-family: 'Syne', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: #1A1A1A;
  margin-top: 48px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #E8E8E8;
}
.legal-h2:first-child { margin-top: 0; }
.legal-h3 {
  font-size: 17px;
  font-weight: 600;
  color: #1A1A1A;
  margin-top: 28px;
  margin-bottom: 8px;
}
.legal-body {
  font-size: 16px;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 16px;
}
.legal-highlight {
  background: #FFEBEE;
  border-left: 4px solid #D32F2F;
  border-radius: 0 8px 8px 0;
  padding: 16px 20px;
  font-size: 15px;
  color: #333333;
  margin: 24px 0;
  line-height: 1.65;
}
.legal-highlight strong { color: #1A1A1A; }
.legal-list {
  margin: 0 0 16px 20px;
  padding: 0;
}
.legal-list li {
  font-size: 16px;
  line-height: 1.8;
  color: #333333;
  margin-bottom: 6px;
}
.legal-placeholder {
  background: #FFF3CD;
  color: #6B5300;
  padding: 0.05em 0.4em;
  border-radius: 3px;
  font-family: ui-monospace, monospace;
  font-size: 0.9em;
}

/* RESPONSIVE — nav/footer (matches index.html's own breakpoints) */
@media (max-width: 960px) {
  nav { padding: 0 24px; }
  footer { padding: 28px 24px; }
}
@media (max-width: 600px) {
  .nav-links { display: none; }
}
@media (max-width: 768px) {
  .legal-header { padding: 80px 24px 40px; }
  .legal-content { padding: 48px 24px; }
}

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