:root {
  --brand: #018d55;
  --brand-deep: #01573f;
  --ink: #080e12;
  --slate: #5b6075;
  --mint: #f2fffc;
  --mint-subtle: #e6f4ee;
  --border: #caddd5;
  --border-subtle: #e3ede8;
  --surface: #ffffff;
  --bg: #f0f8f5;
  --radius: 16px;
  --max-width: 760px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --brand: #11bc77;
    --brand-deep: #8eb3a4;
    --ink: #eef4f1;
    --slate: #a3acb7;
    --mint: #0f1a16;
    --mint-subtle: #14241e;
    --border: #24372f;
    --border-subtle: #1c2b25;
    --surface: #111b17;
    --bg: #080e12;
  }
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

a {
  color: var(--brand);
  text-underline-offset: 2px;
}

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

.header__inner,
.main,
.footer__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 16px;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav {
  display: flex;
  gap: 20px;
}

.nav a {
  color: var(--slate);
  font-weight: 500;
  text-decoration: none;
}

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

.main {
  padding-top: 40px;
  padding-bottom: 56px;
}

h1 {
  margin: 0 0 8px;
  font-size: 32px;
  line-height: 1.2;
}

h2 {
  margin: 36px 0 8px;
  font-size: 20px;
  line-height: 1.3;
}

h3 {
  margin: 0 0 6px;
  font-size: 17px;
}

p,
ul {
  margin: 0 0 12px;
}

ul {
  padding-left: 22px;
}

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

.lead {
  color: var(--slate);
  font-size: 18px;
}

.meta {
  color: var(--slate);
  font-size: 14px;
}

.card {
  margin: 24px 0;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
}

.card--highlight {
  background: var(--mint-subtle);
  border-color: var(--border);
}

.contact {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.contact__email {
  font-weight: 600;
  word-break: break-all;
}

.button {
  display: inline-block;
  padding: 12px 22px;
  background: var(--brand);
  color: #ffffff;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
}

.button:hover {
  filter: brightness(1.08);
}

.faq details {
  border-top: 1px solid var(--border-subtle);
  padding: 14px 0;
}

.faq details:last-child {
  border-bottom: 1px solid var(--border-subtle);
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
}

.faq details > :not(summary) {
  margin-top: 8px;
}

.footer {
  border-top: 1px solid var(--border-subtle);
}

.footer__inner {
  padding-top: 20px;
  padding-bottom: 28px;
  color: var(--slate);
  font-size: 14px;
}

@media (max-width: 480px) {
  h1 {
    font-size: 26px;
  }

  .nav {
    gap: 14px;
  }

  .contact .button {
    width: 100%;
    text-align: center;
  }
}
