/* RuleCaddy – Shared Styles for subpages */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green: #1a4d2e;
  --green-light: #2d6442;
  --cream: #f5f0e8;
  --cream-dark: #ede6d8;
  --black: #0d0d0d;
  --white: #fafaf8;
  --text: #1a1a1a;
  --muted: #6b6b60;
  --rule: rgba(26,77,46,0.15);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  background: var(--white);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ─── NAV ─── */
nav {
  position: sticky; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 56px;
  background: rgba(250,250,248,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--rule);
}
.nav-logo img { height: 34px; width: auto; }
.nav-cta {
  display: inline-flex; align-items: center; gap: 9px;
  background: var(--green); color: white;
  border-radius: 100px; padding: 10px 22px;
  font-size: 13px; font-weight: 500; letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.25s;
}
.nav-cta:hover { background: var(--green-light); transform: translateY(-1px); }
.nav-cta svg { width: 14px; height: 14px; }

/* ─── PAGE HEADER ─── */
.page-header {
  background: var(--green);
  padding: 72px 56px 64px;
}
.page-header-label {
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.45); margin-bottom: 16px;
  display: flex; align-items: center; gap: 12px;
}
.page-header-label::before { content: ''; width: 20px; height: 1px; background: rgba(255,255,255,0.3); }
.page-header h1 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(36px, 4vw, 60px);
  font-weight: 400; color: white;
  line-height: 1.1; letter-spacing: -0.5px;
}
.page-header-meta {
  margin-top: 16px;
  font-size: 13px; color: rgba(255,255,255,0.4); letter-spacing: 0.02em;
}

/* ─── CONTENT ─── */
.page-content {
  max-width: 760px;
  margin: 0 auto;
  padding: 72px 56px 100px;
}

.legal-section {
  margin-bottom: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--rule);
}
.legal-section:last-child { border-bottom: none; margin-bottom: 0; }

.legal-section h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 26px; font-weight: 600;
  color: var(--text); margin-bottom: 20px;
  line-height: 1.2;
}

.legal-section h3 {
  font-size: 15px; font-weight: 600;
  color: var(--text); margin-bottom: 10px; margin-top: 24px;
}

.legal-section p {
  font-size: 15px; font-weight: 300;
  color: var(--muted); line-height: 1.85;
  margin-bottom: 14px;
}
.legal-section p:last-child { margin-bottom: 0; }

.legal-section ul {
  list-style: none; margin: 12px 0 14px;
  display: flex; flex-direction: column; gap: 8px;
}
.legal-section ul li {
  font-size: 15px; font-weight: 300; color: var(--muted);
  line-height: 1.7; padding-left: 16px; position: relative;
}
.legal-section ul li::before {
  content: ''; position: absolute; left: 0; top: 10px;
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--green);
}

.legal-section a {
  color: var(--green); text-decoration: none;
  border-bottom: 1px solid rgba(26,77,46,0.25);
  transition: border-color 0.2s;
}
.legal-section a:hover { border-color: var(--green); }

.info-box {
  background: var(--cream);
  border-left: 3px solid var(--green);
  padding: 20px 24px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 14px;
}
.info-box p { color: var(--text); font-weight: 400; margin: 0; font-size: 14px; }
.info-box strong { font-weight: 600; }

/* ─── FOOTER ─── */
footer {
  background: var(--black);
  padding: 48px 56px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.footer-logo img { height: 28px; filter: brightness(0) invert(0.4); }
.footer-links { display: flex; gap: 32px; }
.footer-links a {
  font-size: 12px; letter-spacing: 0.05em; color: rgba(255,255,255,0.55);
  text-decoration: none; transition: color 0.2s;
}
.footer-links a:hover { color: rgba(255,255,255,0.9); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.2); letter-spacing: 0.05em; }

@media (max-width: 768px) {
  nav { padding: 16px 24px; }
  .page-header { padding: 52px 24px 44px; }
  .page-content { padding: 48px 24px 72px; }
  footer { flex-direction: column; text-align: center; padding: 32px 24px; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}
