/* WiseWill.ca — Editorial Legal Content Site */
:root {
  --bg: #faf9f7;
  --surface: #ffffff;
  --text: #1a1a1a;
  --text-secondary: #555;
  --text-muted: #888;
  --accent: #1a3a5c;
  --accent-light: #2d5f8a;
  --gold: #c9a84c;
  --border: #e5e2dc;
  --font-display: 'Georgia', 'Times New Roman', serif;
  --font-body: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --font-mono: 'SF Mono', 'Consolas', monospace;
  --max-width: 720px;
  --max-width-wide: 1080px;
}

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

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* NAV */
nav {
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 100;
}
nav .logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
}
nav .logo span { color: var(--gold); }
nav .nav-links { display: flex; gap: 1.5rem; align-items: center; }
nav .nav-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}
nav .nav-links a:hover { color: var(--accent); }

/* HERO — Homepage */
.hero {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 5rem 2rem 4rem;
  text-align: center;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.2;
  margin-bottom: 1rem;
}
.hero p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto 2rem;
}
.hero .label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 1rem;
  display: block;
}

/* ARTICLE GRID */
.article-grid {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 2rem 4rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.article-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s;
}
.article-card:hover {
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.article-card .category {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.5rem;
  display: block;
}
.article-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--accent);
  margin-bottom: 0.5rem;
  line-height: 1.35;
}
.article-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.article-card .meta {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.75rem;
  font-family: var(--font-mono);
}

/* ARTICLE PAGE */
.article {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 2rem 4rem;
}
.article .breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.article .breadcrumb a { color: var(--text-muted); }
.article .breadcrumb a:hover { color: var(--accent); }
.article header { margin-bottom: 2.5rem; }
.article header .category {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 0.75rem;
  display: block;
}
.article header h1 {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}
.article header .subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.article header .meta {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 1rem;
}
.article .body h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--accent);
  margin: 2.5rem 0 1rem;
  line-height: 1.3;
}
.article .body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text);
  margin: 2rem 0 0.75rem;
}
.article .body p { margin-bottom: 1.25rem; }
.article .body ul, .article .body ol {
  margin: 0 0 1.25rem 1.5rem;
}
.article .body li { margin-bottom: 0.4rem; }
.article .body blockquote {
  border-left: 3px solid var(--gold);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  background: #f5f3ef;
  font-style: italic;
  color: var(--text-secondary);
}
.article .body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.article .body th, .article .body td {
  border: 1px solid var(--border);
  padding: 0.6rem 0.8rem;
  text-align: left;
}
.article .body th {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.article .body .callout {
  background: #f0f5fa;
  border: 1px solid #d0dde8;
  border-radius: 4px;
  padding: 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.9rem;
}
.article .body .callout strong { color: var(--accent); }

/* KEY TAKEAWAYS BOX */
.key-takeaways {
  background: var(--surface);
  border: 2px solid var(--accent);
  border-radius: 4px;
  padding: 1.5rem;
  margin: 2rem 0;
}
.key-takeaways h4 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}
.key-takeaways ul { margin-left: 1.2rem; }
.key-takeaways li {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

/* DISCLAIMER */
.disclaimer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* FAQ SCHEMA SECTION */
.faq-section { margin-top: 2.5rem; }
.faq-section h2 { margin-bottom: 1rem; }
.faq-item { margin-bottom: 1.5rem; }
.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
  color: var(--text);
}
.faq-item p { font-size: 0.95rem; }

/* CTA BANNER */
.cta-banner {
  background: var(--accent);
  color: #fff;
  text-align: center;
  padding: 3rem 2rem;
  margin-top: 3rem;
}
.cta-banner h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}
.cta-banner p {
  color: #c0d0e0;
  margin-bottom: 1.5rem;
}
.cta-banner .btn {
  display: inline-block;
  background: var(--gold);
  color: var(--accent);
  padding: 0.75rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
}
footer a { color: var(--text-muted); }
footer .footer-links { margin-bottom: 0.5rem; }
footer .footer-links a { margin: 0 0.75rem; }

/* VERIFIED BADGE */
.verified-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #2d7d46;
  background: #e8f5e9;
  border: 1px solid #c8e6c9;
  border-radius: 3px;
  padding: 0.2rem 0.5rem;
  margin-left: 0.5rem;
}

/* LAWYER CTA */
.lawyer-cta {
  background: #f8f7f5;
  border: 2px solid var(--gold);
  border-radius: 4px;
  padding: 1.5rem;
  margin: 2.5rem 0;
  text-align: center;
}
.lawyer-cta h4 {
  font-family: var(--font-display);
  color: var(--accent);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}
.lawyer-cta p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
}
.lawyer-cta .btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  padding: 0.6rem 1.5rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
}
.lawyer-cta .btn:hover { background: var(--accent-light); }

/* RESPONSIVE */
@media (max-width: 640px) {
  .hero h1 { font-size: 2rem; }
  .article header h1 { font-size: 1.7rem; }
  .article-grid { grid-template-columns: 1fr; }
  nav { padding: 0.75rem 1rem; }
  nav .nav-links { gap: 1rem; }
  nav .nav-links a { font-size: 0.75rem; }
}
