/* Acordi — content library shared stylesheet. Pure CSS, no build step. */

:root {
  --ink: #1f262e;
  --muted: #5b645f;
  --muted-2: #7d8580;
  --green: #1b6b61;
  --green-dark: #123f39;
  --green-tint: #e7f0ee;
  --cream: #faf6ec;
  --cream-2: #f1e8d6;
  --card: #ffffff;
  --border: #e4ddce;
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow: 0 16px 40px -20px rgba(18, 63, 57, 0.35);
  --maxw: 760px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.65;
  font-size: 17px;
}

h1, h2, h3 {
  font-family: "Fraunces", Georgia, "Times New Roman", serif;
  font-weight: 600;
  line-height: 1.15;
  color: var(--ink);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(1.9rem, 4.5vw, 2.75rem); margin: 0 0 0.6em; }
h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); margin: 1.8em 0 0.6em; }
h3 { font-size: 1.15rem; margin: 1.4em 0 0.5em; }

p { margin: 0 0 1.1em; }
ul, ol { margin: 0 0 1.1em; padding-left: 1.3em; }
li { margin-bottom: 0.5em; }

a { color: var(--green); text-decoration: underline; text-decoration-color: rgba(27, 107, 97, 0.35); text-underline-offset: 2px; }
a:hover { text-decoration-color: var(--green); }

strong { font-weight: 700; }

.site-header {
  border-bottom: 1px solid var(--border);
  background: var(--cream);
}

.site-header__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}

.logo__badge {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: "Fraunces", serif;
  font-weight: 700;
  font-size: 17px;
  flex-shrink: 0;
}

.logo__text { line-height: 1.05; }
.logo__name { display: block; font-family: "Fraunces", serif; font-weight: 600; font-size: 1.15rem; }
.logo__tagline { display: block; font-size: 10px; text-transform: uppercase; letter-spacing: 0.09em; color: var(--muted-2); margin-top: 2px; }

.header-nav { display: flex; align-items: center; gap: 18px; font-size: 14px; font-weight: 600; }
.header-nav a { text-decoration: none; color: var(--muted); }
.header-nav a:hover { color: var(--green); }
.header-nav .cta-link {
  color: #fff;
  background: var(--green);
  padding: 9px 16px;
  border-radius: 10px;
  text-decoration: none;
}
.header-nav .cta-link:hover { background: var(--green-dark); }

main { max-width: var(--maxw); margin: 0 auto; padding: 40px 20px 60px; }

.eyebrow {
  display: block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 14px;
}

.lede {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 1.6em;
}

.meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: var(--muted-2);
  margin-bottom: 2em;
  padding-bottom: 1.6em;
  border-bottom: 1px solid var(--border);
}

.callout {
  background: var(--green-tint);
  border: 1px solid rgba(27, 107, 97, 0.18);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 1.8em 0;
}
.callout p:last-child { margin-bottom: 0; }
.callout strong { color: var(--green-dark); }

.warning {
  background: #fbf3e6;
  border: 1px solid #e9d7ac;
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin: 1.8em 0;
}
.warning p:last-child { margin-bottom: 0; }

.model-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 28px 24px;
  margin: 1.6em 0 2em;
}

.model-box h3 {
  margin-top: 0;
  text-align: center;
}

.model-box .model-kicker {
  display: block;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted-2);
  margin-bottom: 6px;
}

.model-box hr {
  border: none;
  border-top: 1px dashed var(--border);
  margin: 1.2em 0;
}

.model-field {
  margin: 0 0 0.9em;
  font-size: 15.5px;
}

.model-field .label { font-weight: 600; }
.model-field .blank {
  display: inline-block;
  min-width: 160px;
  border-bottom: 1px solid var(--muted-2);
}

.model-check { display: block; margin: 0.5em 0; font-size: 15.5px; }

.model-declarations li { font-size: 15.5px; }

.model-signature {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 1.8em;
  padding-top: 1.2em;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
  flex-wrap: wrap;
}

.toc {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  margin: 1.8em 0;
  font-size: 14.5px;
}
.toc__title { font-weight: 700; margin-bottom: 8px; display: block; }
.toc ol { margin-bottom: 0; }

.related {
  margin-top: 2.6em;
  padding-top: 1.8em;
  border-top: 1px solid var(--border);
}
.related h2 { margin-top: 0; }
.related ul { list-style: none; padding-left: 0; margin-bottom: 0; }
.related li { margin-bottom: 0.7em; }
.related a { font-weight: 600; }

.cta-block {
  margin-top: 2.6em;
  background: var(--green-dark);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 26px;
}
.cta-block h2 { color: #fff; margin-top: 0; font-size: 1.4rem; }
.cta-block p { color: rgba(255, 255, 255, 0.75); }
.cta-block .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  color: var(--green-dark);
  font-weight: 700;
  text-decoration: none;
  padding: 11px 20px;
  border-radius: 10px;
  margin-top: 6px;
}
.cta-block .btn:hover { background: var(--cream); }

.disclaimer {
  margin-top: 2em;
  font-size: 13px;
  color: var(--muted-2);
  padding: 14px 16px;
  border-left: 3px solid var(--border);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--cream-2);
  margin-top: 40px;
}
.site-footer__inner {
  max-width: 1040px;
  margin: 0 auto;
  padding: 26px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
}
.site-footer a { color: var(--muted); text-decoration: none; }
.site-footer a:hover { color: var(--green); text-decoration: underline; }
.footer-links { display: flex; flex-wrap: wrap; gap: 16px; }

.index-grid {
  display: grid;
  gap: 16px;
  margin-top: 1.6em;
}
.index-card {
  display: block;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  text-decoration: none;
  color: var(--ink);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.index-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.index-card__kicker {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--green);
  margin-bottom: 6px;
}
.index-card h2 { margin: 0 0 8px; font-size: 1.25rem; }
.index-card p { margin: 0; color: var(--muted); font-size: 14.5px; }

@media (min-width: 640px) {
  main { padding-top: 56px; }
  body { font-size: 17.5px; }
}
