:root {
  --bg: #f7f8f5;
  --bg-card: #ffffff;
  --text: #0f1b2d;
  --text-muted: #4a5568;
  --accent: #059669;
  --accent-dark: #047857;
  --accent-soft: #ecfdf5;
  --border: #e2e8e0;
  --hero-start: #fef9c3;
  --hero-end: #d1fae5;
  --focus: #0f766e;
  --shadow: 0 1px 2px rgba(15, 27, 45, 0.04), 0 8px 24px rgba(15, 27, 45, 0.06);
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 720px;
  --space: 1.25rem;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: var(--accent-dark);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--accent);
}

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

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: -3rem;
  z-index: 100;
  padding: 0.5rem 0.85rem;
  background: var(--text);
  color: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
}

.skip-link:focus {
  top: 0.75rem;
}

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(247, 248, 245, 0.92);
  backdrop-filter: blur(8px);
}

.site-header__inner,
.site-footer__inner,
.container {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.brand:hover {
  color: var(--text);
}

.brand__mark {
  display: inline-grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 8px;
  background: linear-gradient(145deg, #34d399, #059669);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
}

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

.nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

main {
  padding-bottom: 3rem;
}

.hero {
  background: linear-gradient(160deg, var(--hero-start) 0%, var(--hero-end) 55%, var(--bg) 100%);
  border-bottom: 1px solid var(--border);
  padding: 2.75rem 0 2.5rem;
}

.hero__content {
  width: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
}

.hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 5vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.hero .lede {
  margin: 0;
  max-width: 36rem;
  color: var(--text-muted);
  font-size: 1.125rem;
}

.page-header {
  padding: 2.25rem 0 0.5rem;
}

.page-header h1 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.65rem, 4.5vw, 2.15rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.section {
  margin-top: 1.75rem;
}

.section h2 {
  margin: 0 0 0.85rem;
  font-size: 1.2rem;
  letter-spacing: -0.015em;
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.4rem;
}

.card + .card {
  margin-top: 1rem;
}

.card p:first-child {
  margin-top: 0;
}

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

.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.95rem 1.1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.feature-list__icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.1rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-dark);
  display: inline-grid;
  place-items: center;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

.feature-list strong {
  display: block;
  color: var(--text);
}

.feature-list span {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
}

.button:hover {
  background: var(--accent-dark);
  color: #fff;
}

.button--secondary {
  background: var(--bg-card);
  color: var(--accent-dark);
  border-color: var(--border);
}

.button--secondary:hover {
  background: var(--accent-soft);
  color: var(--accent-dark);
}

.prose p,
.prose ul,
.prose ol {
  margin: 0 0 1rem;
  color: var(--text);
}

.prose ul,
.prose ol {
  padding-left: 1.25rem;
}

.prose li + li {
  margin-top: 0.4rem;
}

.prose h2 {
  margin: 1.75rem 0 0.65rem;
  font-size: 1.2rem;
}

.faq details {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-card);
  box-shadow: var(--shadow);
  padding: 0.15rem 1.1rem;
}

.faq details + details {
  margin-top: 0.75rem;
}

.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 0.95rem 0;
  list-style-position: outside;
}

.faq summary:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

.faq details p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.contact-box {
  background: var(--accent-soft);
  border: 1px solid #a7f3d0;
}

.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  padding: 1.5rem 0 2rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  justify-content: space-between;
  align-items: center;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
}

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

.site-footer a:hover {
  color: var(--accent-dark);
  text-decoration: underline;
}

@media (max-width: 480px) {
  .site-header__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .site-footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
