:root {
  --bg: #0a0a0a;
  --fg: #ededed;
  --muted: #888888;
  --border: #222222;
  --max-width: 640px;
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 96px;
}

header.site {
  padding-bottom: 48px;
}

header.site a.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 900;
  font-size: 18px;
  text-decoration: none;
  color: var(--fg);
  letter-spacing: -0.01em;
}

header.site a.brand img {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

main {
  min-height: 60vh;
}

h1 {
  font-size: 40px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 700;
  margin: 0 0 16px;
}

h2 {
  font-size: 22px;
  line-height: 1.3;
  letter-spacing: -0.01em;
  font-weight: 600;
  margin: 48px 0 12px;
}

h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 32px 0 8px;
}

h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--fg);
  margin: 24px 0 8px;
}

p {
  margin: 0 0 16px;
}

.lede {
  font-size: 19px;
  color: var(--muted);
  margin-bottom: 32px;
}

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

a:hover {
  text-decoration-thickness: 2px;
}

ul {
  padding-left: 20px;
  margin: 0 0 16px;
}

li {
  margin-bottom: 6px;
}

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

.cta {
  display: inline-block;
  padding: 12px 20px;
  border: 1px solid var(--fg);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  margin-top: 8px;
}

.cta:hover {
  background: var(--fg);
  color: var(--bg);
}

.cta.disabled {
  border-color: var(--border);
  color: var(--muted);
  cursor: default;
}

.cta.disabled:hover {
  background: transparent;
  color: var(--muted);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 16px;
}

.contact-form .field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-form label {
  font-size: 14px;
  color: var(--muted);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  font: inherit;
  color: var(--fg);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 10px 12px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--fg);
}

.contact-form .honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.contact-form button[type="submit"] {
  background: transparent;
  color: var(--fg);
  font: inherit;
  cursor: pointer;
  align-self: flex-start;
}

.contact-form button[type="submit"][disabled] {
  border-color: var(--border);
  color: var(--muted);
  cursor: default;
}

.cf-status {
  font-size: 14px;
  margin: 8px 0 0;
}

.cf-status--ok {
  color: var(--fg);
}

.cf-status--err {
  color: var(--muted);
}

.facts {
  list-style: none;
  padding: 0;
  margin: 0;
}

.facts li {
  padding: 16px 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
}

.facts li:last-child {
  border-bottom: 1px solid var(--border);
}

.facts .fact-label {
  flex: 0 0 auto;
  min-width: 200px;
  color: var(--muted);
  font-size: 15px;
}

.facts .fact-value {
  flex: 1 1 240px;
  font-size: 15px;
}

.legal {
  font-size: 15px;
}

.legal h2 {
  font-size: 20px;
  margin-top: 40px;
}

.legal h3 {
  font-size: 17px;
}

.legal h4 {
  font-size: 15px;
  color: var(--muted);
}

.legal li {
  margin-bottom: 10px;
}

footer.site {
  margin-top: 96px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

footer.site .footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
}

footer.site .footer-links a#lang-toggle {
  margin-left: auto;
}

footer.site .footer-copyright {
  width: 100%;
  text-align: left;
}

@media (max-width: 480px) {
  .wrap {
    padding: 32px 20px 64px;
  }
  h1 {
    font-size: 32px;
  }
  .lede {
    font-size: 17px;
  }
  .facts .fact-label {
    min-width: 0;
    flex-basis: 100%;
  }
  .contact-form input,
  .contact-form textarea {
    font-size: 16px;
  }
}
