:root {
  --canvas: #f6f2ea;
  --surface: #fffdf8;
  --ink: #132022;
  --muted: #5f6b69;
  --accent: #1a615a;
  --accent-soft: #ddefe7;
  --coral: #e66a4e;
  --gold: #e4a63c;
  --line: rgba(19, 32, 34, 0.12);
  --shadow: 0 18px 50px rgba(19, 32, 34, 0.08);
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: #101b1b;
    --surface: #172727;
    --ink: #f0eee6;
    --muted: #a8b6b0;
    --accent: #8ed2be;
    --accent-soft: #1c3c36;
    --coral: #f18a6e;
    --gold: #f0bd61;
    --line: rgba(240, 238, 230, 0.14);
    --shadow: 0 18px 50px rgba(0, 0, 0, 0.2);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  background: var(--canvas);
  color: var(--ink);
  font-family: "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  opacity: 0.8;
}

.page {
  width: min(100% - 40px, 760px);
  margin: 0 auto;
  padding: 36px 0 80px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 72px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: Georgia, serif;
  font-size: 1.12rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.wordmark-icon {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 10px;
  background: var(--ink);
}

.wordmark-icon svg {
  width: 20px;
  height: 20px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
  font-size: 0.86rem;
  font-weight: 600;
}

.site-nav a {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a[aria-current="page"] {
  color: var(--accent);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 700;
  letter-spacing: -0.025em;
}

h1 {
  max-width: 16ch;
  font-size: clamp(2.25rem, 8vw, 3.6rem);
  line-height: 1.05;
}

h2 {
  margin-bottom: 14px;
  font-size: 1.42rem;
  line-height: 1.2;
}

h3 {
  margin-bottom: 6px;
  font-size: 1rem;
  line-height: 1.3;
}

p,
ul {
  max-width: 64ch;
  margin: 0 0 16px;
}

ul {
  padding-left: 1.25rem;
}

li + li {
  margin-top: 7px;
}

.lead {
  max-width: 58ch;
  margin-top: 20px;
  color: var(--muted);
  font-size: 1.08rem;
}

.meta {
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.86rem;
}

main {
  display: block;
}

section {
  margin-top: 56px;
  padding-top: 42px;
  border-top: 1px solid var(--line);
}

.callout {
  margin: 22px 0 0;
  padding: 18px 20px;
  border-left: 3px solid var(--coral);
  border-radius: 0 16px 16px 0;
  background: var(--accent-soft);
}

.callout p:last-child {
  margin-bottom: 0;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.service-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
  box-shadow: var(--shadow);
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.91rem;
  line-height: 1.55;
}

.faq {
  overflow: hidden;
  margin-top: 20px;
  border-top: 1px solid var(--line);
}

details {
  border-bottom: 1px solid var(--line);
}

summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 17px 0;
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  flex: 0 0 auto;
  color: var(--accent);
  content: "+";
  font-size: 1.35rem;
  font-weight: 400;
  line-height: 1;
}

details[open] summary::after {
  content: "−";
}

.faq-body {
  padding: 0 34px 17px 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.faq-body p:last-child {
  margin-bottom: 0;
}

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 17px;
  margin-top: 28px;
  padding: 22px;
  border-radius: 20px;
  background: var(--ink);
  color: #fffdf8;
  box-shadow: var(--shadow);
}

.contact-card-icon {
  display: grid;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 13px;
  background: var(--coral);
}

.contact-card-icon svg {
  width: 20px;
  height: 20px;
}

.contact-card p {
  margin: 0;
}

.contact-card a {
  color: #fffdf8;
  font-weight: 700;
}

.doc-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px 24px;
  margin-top: 76px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.82rem;
}

.doc-footer p {
  margin: 0;
}

@media (max-width: 620px) {
  .page {
    width: min(100% - 32px, 760px);
    padding-top: 24px;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 52px;
  }

  .site-nav {
    justify-content: flex-start;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  section {
    margin-top: 46px;
    padding-top: 34px;
  }
}
