/* Home Smart Surrey — legal pages shared styles (matches main site) */
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Lora:ital,wght@0,500;0,600;1,500&display=swap');

:root {
  --brand: #1a6b5a;
  --brand-mid: #228870;
  --brand-light: #e6f4f0;
  --brand-dark: #134d41;
  --accent: #e8a020;
  --dark: #1c2e28;
  --mid: #3d5c52;
  --muted: #6b8c82;
  --border: #cde4dd;
  --bg: #f4faf8;
  --white: #ffffff;
  --serif: 'Lora', Georgia, serif;
  --sans: 'Nunito', system-ui, sans-serif;
  --radius: 16px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans); background: var(--bg); color: var(--dark);
  line-height: 1.65; display: flex; flex-direction: column; min-height: 100vh;
}

/* NAV */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border); padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: space-between; height: 68px;
}
.logo {
  font-family: 'Nunito', sans-serif; font-weight: 800; font-size: 1.15rem;
  color: var(--brand); letter-spacing: -0.01em; text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.logo-icon {
  width: 34px; height: 34px; background: var(--brand); border-radius: 10px;
  display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0;
}
.nav-links { display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0; align-items: center; }
.nav-links a { text-decoration: none; color: var(--mid); font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--brand); }
.nav-links a.active { color: var(--brand); font-weight: 700; }
.nav-cta {
  background: var(--brand); color: white; border: none;
  padding: 0.55rem 1.3rem; border-radius: 50px;
  font-family: var(--sans); font-size: 0.875rem; font-weight: 600;
  cursor: pointer; transition: background 0.2s; text-decoration: none; white-space: nowrap;
}
.nav-cta:hover { background: var(--brand-dark); }

/* CONTENT */
.page { max-width: 760px; margin: 0 auto; padding: 3.5rem 1.5rem 4rem; width: 100%; flex: 1; }
.eyebrow {
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--brand-mid); font-weight: 700; margin-bottom: 0.75rem;
}
h1 { font-family: var(--serif); font-size: clamp(2rem, 5vw, 2.8rem); font-weight: 600; line-height: 1.1; color: var(--dark); margin-bottom: 0.75rem; }
.updated { font-size: 0.85rem; color: var(--muted); margin-bottom: 2.5rem; }
h2 { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--brand-dark); margin: 2.25rem 0 0.75rem; }
p { margin-bottom: 1rem; color: var(--mid); }
ul { margin: 0 0 1rem 1.25rem; color: var(--mid); }
li { margin-bottom: 0.45rem; }
a { color: var(--brand); }
strong { color: var(--dark); font-weight: 700; }

.card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem 1.75rem; margin: 1.5rem 0;
}
.contact-email { font-family: var(--serif); font-size: 1.25rem; font-weight: 600; color: var(--brand); text-decoration: none; }
.contact-email:hover { color: var(--brand-dark); }

/* FOOTER */
footer {
  background: var(--dark); padding: 2rem 2.5rem;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}
.footer-logo { font-family: var(--serif); color: rgba(255,255,255,0.65); font-size: 1rem; }
.footer-links { display: flex; gap: 1.5rem; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.35); font-size: 0.85rem; text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.7); }
.footer-copy { color: rgba(255,255,255,0.25); font-size: 0.8rem; }

@media (max-width: 768px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  footer { flex-direction: column; align-items: flex-start; }
}
