@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Instrument Serif";
  src: url("/fonts/instrument-serif-italic.woff2") format("woff2");
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}

:root {
  --bg: #F3F1EB;
  --bg-2: #EAE6DC;
  --paper: #FFFEF9;
  --ink: #1B1916;
  --muted: #5A554C;
  --soft: #3F3B35;
  --accent: #0B6B6B;
  --accent-2: #0A5858;
  --accent-soft: #E6F3F2;
  --accent-line: #B7D8D6;
  --rule: #E0DBD0;
  --rule-2: #D1CBBE;
  --warning: #8A3B12;
  --warning-bg: #F8EDE4;
  --serif: "Instrument Serif", "Iowan Old Style", Palatino, "Palatino Linotype", Georgia, serif;
  --sans: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Helvetica, Arial, sans-serif;
  --max: 1100px;
  --radius: 16px;
  --shadow: 0 16px 40px -28px rgba(27, 25, 22, 0.35);
}

*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(900px 420px at 80% -8%, rgba(11, 107, 107, 0.07), transparent 60%),
    radial-gradient(700px 380px at 0% 10%, rgba(232, 214, 180, 0.35), transparent 55%),
    var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-underline-offset: 0.12em; }
a:hover { color: var(--accent-2); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.skip {
  position: absolute;
  left: -999px;
}
.skip:focus {
  left: 12px;
  top: 12px;
  z-index: 30;
  background: var(--ink);
  color: #fff;
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 8px;
}

.preview-bar {
  background: var(--ink);
  color: #F3F1EB;
  font-size: 0.8125rem;
  text-align: center;
  padding: 0.55rem 1rem;
  letter-spacing: 0.01em;
}
.preview-bar strong { color: #9EE3E0; font-weight: 650; }

.wrap { width: min(var(--max), calc(100% - 2rem)); margin: 0 auto; }

header.site {
  position: sticky;
  top: 0;
  z-index: 8;
  background: rgba(243, 241, 235, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
}
header.site .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  min-height: 4.25rem;
}
.wordmark {
  font-family: var(--serif);
  font-size: 1.45rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
  line-height: 1;
}
.wordmark:hover { color: var(--accent); }
.wordmark span { color: var(--muted); font-style: italic; }

nav.primary {
  display: flex;
  align-items: center;
  gap: 0.35rem 0.9rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}
nav.primary a:not(.btn) {
  color: var(--soft);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
}
nav.primary a:not(.btn):hover,
nav.primary a[aria-current="page"] { color: var(--accent); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid var(--accent);
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.2;
  font-family: inherit;
  background: transparent;
  color: var(--accent);
}
.btn:hover { background: var(--accent-soft); color: var(--accent-2); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-2); color: #fff; }
.btn-ghost { border-color: var(--rule-2); color: var(--ink); background: var(--paper); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); background: var(--paper); }

.hero { padding: 2.4rem 0 1.5rem; }
.kicker {
  margin: 0 0 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.hero h1 {
  margin: 0 0 1rem;
  font-family: var(--serif);
  font-size: clamp(2.35rem, 8vw, 4.25rem);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
  display: block;
}
.lede {
  margin: 0 0 1.6rem;
  font-size: clamp(1.05rem, 2.2vw, 1.25rem);
  color: var(--soft);
  max-width: 38rem;
  line-height: 1.55;
}

.search-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: stretch;
}
.search-box {
  flex: 1 1 16rem;
  position: relative;
}
.search-box label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}
.search-box input {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--rule-2);
  border-radius: 999px;
  padding: 0.7rem 1.15rem;
  font: inherit;
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow);
}
.search-box input::placeholder { color: #8A8478; }
.search-box input:focus {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-color: var(--accent);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

.trust {
  margin: 1.75rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--rule);
  color: var(--muted);
  font-size: 0.95rem;
}
.trust a { font-weight: 650; }
.phone-line {
  margin: 0.9rem 0 0;
  font-size: 1.02rem;
  color: var(--soft);
  font-weight: 650;
}


.section { padding: 2.25rem 0; }
.section h2 {
  margin: 0 0 1.15rem;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 4vw, 2.25rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.section h2 em { font-style: italic; color: var(--accent); }

.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 960px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .cards.home { grid-template-columns: repeat(2, 1fr); }
}

.card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 1.2rem 1.2rem 1.15rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow);
  min-height: 100%;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
a.card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  color: inherit;
}
.card .because {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--accent);
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.35;
  font-weight: 700;
}
.card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}
.card .cat {
  margin-top: auto;
  padding-top: 0.55rem;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
}

.hidden { display: none !important; }
.search-status {
  margin: 0 0 1rem;
  color: var(--muted);
  font-size: 0.95rem;
  min-height: 1.3em;
}
.no-results {
  background: var(--paper);
  border: 1px dashed var(--rule-2);
  border-radius: var(--radius);
  padding: 1.25rem 1.2rem;
  color: var(--soft);
}

.cats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.4rem 0.95rem;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--rule);
  color: var(--ink);
  text-decoration: none;
  font-weight: 650;
  font-size: 0.92rem;
}
.chip:hover, .chip[aria-current="page"] {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

.cta-band {
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  border-radius: 20px;
  padding: 1.4rem 1.3rem;
  display: grid;
  gap: 0.85rem;
}
.cta-band h2 { margin: 0; }
.cta-band p { margin: 0; color: var(--soft); max-width: 38rem; }
.cta-band .hero-actions { margin-top: 0.25rem; }

footer.site {
  margin-top: 1rem;
  border-top: 1px solid var(--rule);
  padding: 2rem 0 2.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}
footer.site .tagline {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--ink);
  margin: 0 0 0.5rem;
}
footer.site a { color: var(--ink); font-weight: 650; text-decoration: none; }
footer.site a:hover { color: var(--accent); }
footer.site nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin: 1rem 0;
}
.legal { margin-top: 0.75rem; font-size: 0.85rem; }

/* Article pages */
.crumb {
  padding: 1.1rem 0 0;
  font-size: 0.9rem;
  color: var(--muted);
}
.crumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.25rem 0.4rem; }
.crumb li:not(:last-child)::after { content: "/"; margin-left: 0.4rem; color: var(--rule-2); }
.crumb a { color: var(--muted); text-decoration: none; }
.crumb a:hover { color: var(--accent); }

.article { padding: 0.6rem 0 2.5rem; }
.article-head { max-width: 42rem; }
.article-head h1 {
  margin: 0.35rem 0 1rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3.15rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.article-head,
.direct-answer,
.prose,
.article-cta {
  width: min(42rem, 100%);
  margin-left: auto;
  margin-right: auto;
}
.direct-answer {
  background: var(--accent-soft);
  border-left: 4px solid var(--accent);
  border-radius: 0 14px 14px 0;
  padding: 1rem 1.15rem;
  font-size: 1.12rem;
  line-height: 1.5;
  margin-bottom: 1.75rem;
}
.direct-answer p { margin: 0; }
.direct-answer .label {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.35rem;
}

.prose { max-width: 42rem; }
.prose h2 {
  margin: 2rem 0 0.7rem;
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}
.prose p { margin: 0 0 1rem; }
.prose ol, .prose ul { margin: 0 0 1.1rem; padding-left: 1.2rem; }
.prose li { margin: 0 0 0.7rem; }
.prose li::marker { color: var(--accent); font-weight: 700; }
.prose .step-title { font-weight: 700; }

.call-pro {
  background: var(--warning-bg);
  border: 1px solid #E8D2C2;
  border-radius: var(--radius);
  padding: 1.1rem 1.15rem;
  margin: 1.25rem 0;
}
.call-pro h2 { margin-top: 0; }
.faq details {
  border-bottom: 1px solid var(--rule);
  padding: 0.7rem 0;
}
.faq summary {
  cursor: pointer;
  font-weight: 700;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 0.55rem 0 0.4rem; color: var(--soft); }

.article-cta {
  margin: 2rem 0 0;
  max-width: 42rem;
}

.related { margin-top: 2.5rem; }
.related .cards { margin-top: 0.9rem; }

.page-head { padding: 1.5rem 0 0.5rem; max-width: 40rem; }
.page-head h1 {
  margin: 0 0 0.6rem;
  font-family: var(--serif);
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.page-head p { margin: 0 0 1rem; color: var(--soft); }

@media (max-width: 639px) {
  header.site .wrap { min-height: 3.6rem; flex-wrap: wrap; }
  .wordmark { font-size: 1.28rem; }
  nav.primary a.nav-articles { display: none; }
  nav.primary .btn { padding: 0.5rem 0.85rem; }
  .hero { padding-top: 1.6rem; }
}
@media (max-width: 420px) {
  nav.primary a:not(.btn) { display: none; }
}

