/* Confiance Financial — minimal site styles */

:root {
  --ink: #2b2925;
  --muted: #6a655d;
  --accent: #b86f4a;
  --accent-soft: #d9b7a3;
  --sage: #5f8f68;
  --sage-soft: #71a37a;
  --navy: #0e3753;
  --paper: #fcfaf6;
  --line: #e7e1d7;

  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --measure: 680px;
}

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

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--navy); text-decoration: underline; text-decoration-color: var(--accent-soft); text-underline-offset: 3px; }
a:hover { color: var(--accent); text-decoration-color: var(--accent); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.2;
}
h1 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 1.2rem; }
h1::after { content: ""; display: block; width: 44px; height: 2px; background: var(--accent); margin-top: 1rem; }
h2 { font-size: 1.45rem; margin: 2.8rem 0 0.8rem; }
h3 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 600; color: var(--ink); margin: 1.6rem 0 0.4rem; }

p { margin-bottom: 1.1rem; }
.muted { color: var(--muted); }
.small { font-size: 0.92rem; }
ul, ol { margin: 0 0 1.1rem 1.25rem; }
li { margin-bottom: 0.35rem; }

.wrap { max-width: var(--measure); margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); }
.nav {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 36px; height: 36px; flex-shrink: 0; }
.brand-name { font-family: var(--font-display); font-size: 1.55rem; color: var(--navy); line-height: 1; letter-spacing: 0.005em; }
.nav-links { list-style: none; display: flex; gap: 22px; margin: 0; }
.nav-links li { margin: 0; }
.nav-links a { text-decoration: none; font-size: 0.95rem; color: var(--ink); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--accent); text-decoration: underline; text-decoration-color: var(--accent-soft); text-underline-offset: 4px; }

/* Main */
main { padding: 56px 0 40px; }
.intro { margin-bottom: 2.4rem; }
.intro p { font-size: 1.12rem; }
.lede { font-size: 1.12rem; color: var(--ink); }

.rule { border: 0; border-top: 1px solid var(--line); margin: 2.6rem 0; }

.button {
  display: inline-block;
  background: var(--navy);
  color: #fff;
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.95rem;
}
.button:hover { background: var(--accent); color: #fff; }

.contact-block { margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.contact-block p { margin-bottom: 0.6rem; }

/* Definition-style lists */
.plain { list-style: none; margin-left: 0; }
.plain li { padding: 0.6rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.plain li:first-child { border-top: 1px solid var(--line); }
.plain strong { color: var(--navy); font-weight: 600; }

.creds { list-style: none; margin-left: 0; }
.creds li { display: flex; justify-content: space-between; gap: 16px; padding: 0.55rem 0; border-bottom: 1px solid var(--line); margin: 0; }
.creds li:first-child { border-top: 1px solid var(--line); }
.creds span:last-child { color: var(--muted); white-space: nowrap; font-size: 0.92rem; }

/* Fees */
.fee { font-weight: 600; color: var(--accent); margin: 0.2rem 0 0.4rem; }
.fee-table { width: 100%; border-collapse: collapse; margin: 0.6rem 0 1.2rem; font-size: 0.95rem; }
.fee-table th, .fee-table td { text-align: left; padding: 9px 0; border-bottom: 1px solid var(--line); }
.fee-table th { font-weight: 600; color: var(--navy); }
.fee-table td:last-child, .fee-table th:last-child { text-align: right; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 32px 0 40px; font-size: 0.9rem; color: var(--muted); }
.site-footer .wrap p { margin-bottom: 0.7rem; }
.footer-links { list-style: none; margin: 0 0 1rem 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer-links li { margin: 0; }
.footer-links a { color: var(--ink); text-decoration: none; }
.footer-links a:hover { color: var(--accent); text-decoration: underline; }
.disclosure { font-size: 0.82rem; line-height: 1.6; margin-top: 1rem; }

@media (max-width: 600px) {
  body { font-size: 16px; }
  main { padding: 40px 0 32px; }
  .nav-links { gap: 16px; }
  .creds li { flex-direction: column; gap: 2px; }
  .creds span:last-child { white-space: normal; }
}
