:root {
  --color-bg:         #ffffff;
  --color-heading:    #111318;
  --color-body:       #414651;
  --color-muted:      #6f7280;
  --color-border:     #e9eaee;
  --color-brand:      #4461ff;  --color-brand-soft: #e9edff;  --color-brand-soft-hover: #dce3fe;

  --font-heading: "Poppins", "Inter", -apple-system, BlinkMacSystemFont,
                  "Segoe UI", Roboto, sans-serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
                  Roboto, Helvetica, Arial, sans-serif;

  --content-width: 50rem;  --header-width:  75rem;  --page-padding:  1.5rem;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

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

.container {
  max-width: var(--content-width);
  margin-inline: auto;
  padding-inline: var(--page-padding);
}

h1,
h2 {
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-weight: 600;
}

h1 {
  font-size: 2rem;  line-height: 1.25;
  letter-spacing: -0.01em;
  text-align: center;
  margin: 5rem 0 3.75rem;
}

h2 {
  font-size: 1.375rem;  line-height: 1.3;
  margin: 3rem 0 0.875rem;
}

p {
  margin: 0 0 1.125rem;
}

ul {
  margin: 0 0 1.125rem;
  padding-left: 1.375rem;
}

li {
  margin-bottom: 0.25rem;
}

li::marker {
  color: var(--color-muted);
  font-size: 0.85em;
}

strong {
  color: var(--color-heading);
  font-weight: 600;
}

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

a:hover {
  color: var(--color-heading);
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 2px;
  border-radius: 2px;
}

.site-header {
  padding-block: 1rem;
  border-bottom: 1px solid var(--color-border);
}

.site-header-inner {
  max-width: var(--header-width);
  margin-inline: auto;
  padding-inline: var(--page-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.wordmark svg {
  display: block;
  height: 2rem;  width: auto;
}

.button {
  display: inline-block;
  padding: 0.375rem 1rem;
  background: var(--color-brand-soft);
  color: var(--color-brand);
  border-radius: 10px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: none;
}

.button:hover {
  background: var(--color-brand-soft-hover);
  color: var(--color-brand);
}

.closing {
  margin-top: 3rem;
}

.signature {
  color: var(--color-heading);
  font-weight: 500;
}

.faq {
  margin-top: 5rem;
}

.faq h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
}

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

.faq summary {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  color: var(--color-heading);
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  list-style: none;
}

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

.faq summary::before {
  content: "";
  flex: none;
  width: 0.625rem;
  height: 0.625rem;
  margin-top: 0.4em;
  background: var(--color-heading);
  clip-path: polygon(0 0, 0 100%, 100% 50%);
  transition: transform 0.2s ease;
}

.faq details[open] summary::before {
  transform: rotate(90deg);
}

.faq-answer {
  padding: 0.625rem 0 0 1.5rem;
  overflow-wrap: anywhere;
}

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

@supports (interpolate-size: allow-keywords) {
  :root {
    interpolate-size: allow-keywords;
  }

  .faq details::details-content {
    block-size: 0;
    overflow-y: clip;
    transition:
      block-size 0.25s ease,
      content-visibility 0.25s allow-discrete;
  }

  .faq details[open]::details-content {
    block-size: auto;
  }
}

.site-footer {
  margin-top: 6rem;
  padding-block: 2.5rem;
  border-top: 1px solid var(--color-border);
  color: var(--color-muted);
  font-size: 0.875rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 600px) {
  :root {
    --page-padding: 1.25rem;
  }

  h1 {
    margin: 3rem 0 2.25rem;
  }

  h2 {
    font-size: 1.25rem;
    margin-top: 2.5rem;
  }

  .faq {
    margin-top: 3.5rem;
  }

  .faq h2 {
    font-size: 1.5rem;
  }

  .site-footer {
    margin-top: 4rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
  }
}
