/* Fonts */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&family=Source+Serif+4:ital,wght@0,400;0,600;1,400&display=swap');

/* Design Tokens */
:root {
  --linen: #F5F0E8;
  --parchment: #EDE6D8;
  --cream: #FAF7F2;
  --espresso: #3B2F2F;
  --walnut: #5C4A3D;
  --clay: #8B7355;
  --terracotta: #C4704B;
  --terracotta-light: #D4896A;
  --terracotta-muted: #E8C4B0;
  --sage: #7A8B6F;
}

/* Skip link (accessibility) */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--espresso);
  color: var(--cream);
  border-radius: 4px;
  z-index: 100;
  font-size: 0.875rem;
}
.skip-link:focus {
  top: 1rem;
  color: var(--cream);
}

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

body {
  font-family: 'Source Serif 4', Georgia, serif;
  background-color: var(--linen);
  color: var(--espresso);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.3;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.75rem; margin-top: 2.5rem; margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin-top: 2rem; margin-bottom: 0.75rem; }

p { margin-bottom: 1rem; color: var(--walnut); }

a {
  color: var(--terracotta);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover { color: var(--terracotta-light); }

ul, ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
  color: var(--walnut);
}

li { margin-bottom: 0.4rem; }

/* Layout */
.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

/* Header */
.site-header {
  text-align: center;
  padding: 2rem 1.5rem 1rem;
  border-bottom: 1px solid var(--parchment);
}

.site-header a {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--espresso);
}

/* Footer */
.site-footer {
  text-align: center;
  padding: 2rem 1.5rem;
  border-top: 1px solid var(--parchment);
  color: var(--clay);
  font-size: 0.875rem;
}

.site-footer nav {
  margin-bottom: 0.75rem;
}

.site-footer nav a {
  margin: 0 0.75rem;
  color: var(--clay);
}

.site-footer nav a:hover {
  color: var(--terracotta);
}

/* Hero (landing page) */
.hero {
  text-align: center;
  padding: 4rem 1.5rem 3rem;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.hero .tagline {
  font-family: 'Source Serif 4', Georgia, serif;
  font-style: italic;
  font-size: 1.25rem;
  color: var(--walnut);
  margin-bottom: 2.5rem;
}

.hero .cta {
  display: inline-block;
  background: var(--espresso);
  color: var(--cream);
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-family: 'Source Serif 4', Georgia, serif;
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.2s;
}

.hero .cta:hover {
  background: var(--walnut);
  color: var(--cream);
}

/* Features (landing page) */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 2rem 1.5rem 3rem;
  max-width: 720px;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .features { grid-template-columns: repeat(3, 1fr); }
}

.feature {
  text-align: center;
}

.feature .icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.feature h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.feature p {
  font-size: 0.95rem;
}

/* Legal pages */
.legal-page h1 {
  margin-bottom: 0.5rem;
}

.legal-page .effective-date {
  color: var(--clay);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* Responsive */
@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  .hero h1 { font-size: 2.25rem; }
  .container { padding: 1.5rem 1rem; }
}
