:root {
  --bg: #f4f7fb;
  --surface: #ffffff;
  --surface-sunken: #e9eff7;
  --text: #16202c;
  --text-muted: #5d6b7b;
  --accent: #1a6fe0;
  --accent-ink: #ffffff;
  --border: #dde5ef;
  --focus: #d85a2c;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0d131b;
    --surface: #151d28;
    --surface-sunken: #111821;
    --text: #e8eef6;
    --text-muted: #9aa8b8;
    --accent: #5aa2ff;
    --accent-ink: #08111d;
    --border: #253141;
    --focus: #ff9a6b;
  }
}

:root[data-theme="dark"] {
  --bg: #0d131b;
  --surface: #151d28;
  --surface-sunken: #111821;
  --text: #e8eef6;
  --text-muted: #9aa8b8;
  --accent: #5aa2ff;
  --accent-ink: #08111d;
  --border: #253141;
  --focus: #ff9a6b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--focus);
  outline-offset: 3px;
}

.page {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 1rem 4rem;
}
@media (min-width: 600px) { .page { padding: 4.5rem 1.5rem 5rem; } }

header.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3rem;
}
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; color: var(--text); }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.wordmark { font-weight: 700; font-size: 1.05rem; letter-spacing: 0.01em; }
.wordmark span { color: var(--text-muted); font-weight: 500; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 0.9rem;
}

h1 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(2rem, 6vw, 2.75rem);
  line-height: 1.12;
  margin: 0 0 1rem;
  text-wrap: balance;
  letter-spacing: -0.01em;
}

.lede {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 50ch;
  margin: 0 0 2rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: var(--accent-ink);
  font: 600 0.95rem var(--font-body);
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 9px;
  white-space: nowrap;
  transition: opacity 0.15s ease;
  border: none;
  cursor: pointer;
}
.btn:hover { opacity: 0.88; }
.btn svg { width: 16px; height: 16px; }
.btn.secondary { background: var(--surface); color: var(--text); border: 1px solid var(--border); }

.actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-bottom: 3rem; }

figure.hero {
  margin: 0 0 3rem;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.25rem;
}
figure.hero img { display: block; width: 100%; height: auto; }
figure.hero figcaption { margin-top: 0.75rem; font-size: 0.85rem; color: #5d6b7b; text-align: center; }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 3rem;
}
.stat {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1rem;
}
.stat b { display: block; font-family: var(--font-display); font-size: 1.8rem; font-weight: 500; line-height: 1.1; }
.stat span { font-size: 0.85rem; color: var(--text-muted); }

section + section { margin-top: 3rem; }

h2 {
  font-weight: 700;
  font-size: 1rem;
  margin: 0 0 1.4rem;
}

.features { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
@media (min-width: 600px) { .features { grid-template-columns: 1fr 1fr; } }
.features li {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
}
.features h3 { font-size: 0.98rem; font-weight: 600; margin: 0 0 0.3rem; }
.features p { margin: 0; font-size: 0.92rem; color: var(--text-muted); }

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.75rem;
  margin-bottom: 3.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.contact-card .label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 0.35rem;
}
.contact-card .email { font-weight: 600; font-size: 1.15rem; word-break: break-all; }
.contact-card .response { font-size: 0.88rem; color: var(--text-muted); margin: 0.4rem 0 0; }

.faq-item { border-top: 1px solid var(--border); padding: 1.35rem 0; }
.faq-item:last-child { border-bottom: 1px solid var(--border); }
.faq-item h3 { font-weight: 600; font-size: 1rem; margin: 0 0 0.5rem; }
.faq-item p { margin: 0; color: var(--text-muted); font-size: 0.95rem; max-width: 60ch; }
.faq-item p + p { margin-top: 0.5rem; }

.checklist {
  background: var(--surface-sunken);
  border-radius: 12px;
  padding: 1.5rem 1.65rem;
  margin-top: 0.75rem;
}
.checklist p { margin: 0 0 0.9rem; font-size: 0.92rem; color: var(--text-muted); }
.checklist ul { margin: 0; padding-left: 1.15rem; font-size: 0.92rem; }
.checklist li { margin-bottom: 0.4rem; }
.checklist li:last-child { margin-bottom: 0; }

.note { font-size: 0.88rem; color: var(--text-muted); }

footer {
  margin-top: 4rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
footer a { color: var(--text-muted); }

@media (max-width: 420px) {
  .contact-card { flex-direction: column; align-items: flex-start; }
  .contact-card .btn { width: 100%; justify-content: center; }
  .stats { grid-template-columns: 1fr; }
}
