:root {
  color-scheme: dark;
  --background: oklch(13% 0 0);
  --foreground: oklch(97% 0 0);
  --muted: oklch(65% 0 0);
  --border: oklch(100% 0 0 / 0.1);
  --font: ui-sans-serif, system-ui, sans-serif;
}

* { box-sizing: border-box; }

[hidden] { display: none !important; }

body {
  margin: 0;
  min-height: 100vh;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font);
}

a { color: inherit; }

:focus-visible {
  outline: 2px solid var(--foreground);
  outline-offset: 3px;
}

.header {
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
  background: color-mix(in oklch, var(--background) 80%, transparent);
  backdrop-filter: blur(16px);
}

.bar, .footer-inner, .content {
  width: min(80rem, calc(100% - 3rem));
  margin-inline: auto;
}

.bar {
  display: flex;
  min-height: 4rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 0.75rem;
}

.logo { display: flex; flex: none; color: var(--foreground); }

.logo svg { height: 1.75rem; width: auto; }

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.nav a, .footer a { text-decoration: none; }

.nav a:hover, .footer a:hover { color: var(--foreground); }

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

.content { padding: 4rem 0 5rem; max-width: 42rem; }

.content a {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

h1 {
  margin: 0.75rem 0 0;
  font-size: clamp(2.5rem, 6vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.kicker {
  margin: 0;
  color: oklch(98% 0 0);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.lead { margin: 1.5rem 0 0; font-size: 1.05rem; line-height: 1.6; }

section { margin-top: 2.5rem; }

h2 { margin: 0; font-size: 1.25rem; font-weight: 600; letter-spacing: -0.02em; }

h3 { margin: 1.25rem 0 0; font-size: 1rem; font-weight: 600; }

p, li { color: var(--muted); line-height: 1.7; }

ul, ol { margin: 0.75rem 0 0; padding-left: 1.2rem; }

li + li { margin-top: 0.5rem; }

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

.updated { margin-top: 1rem; font-size: 0.75rem; }

.notice {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid var(--border);
}

.facts { margin: 1rem 0 0; border-bottom: 1px solid var(--border); }

.facts div { padding: 0.9rem 0; border-top: 1px solid var(--border); }

.facts dt {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.facts dd { margin: 0.35rem 0 0; }

.pending { text-decoration: underline dashed; text-underline-offset: 0.25em; }

.team { list-style: none; margin: 1rem 0 0; padding: 0; border-bottom: 1px solid var(--border); }

.team li {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.9rem 0;
  border-top: 1px solid var(--border);
}

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

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

.faq summary { cursor: pointer; color: var(--foreground); font-weight: 600; }

.faq summary h3 {
  display: inline;
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

form { display: grid; gap: 1rem; margin-top: 1rem; }

.field { display: grid; gap: 0.4rem; }

.field span { font-size: 0.875rem; color: var(--foreground); }

input, textarea {
  width: 100%;
  font: inherit;
  color: var(--foreground);
  background: oklch(18% 0 0);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  padding: 0.7rem 0.8rem;
}

textarea { min-height: 8rem; resize: vertical; }

button[type="submit"] {
  justify-self: start;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--background);
  background: var(--foreground);
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.2rem;
  cursor: pointer;
}

button[type="submit"]:hover { opacity: 0.9; }

.form-status { min-height: 1.5rem; }

a[data-mail] { overflow-wrap: anywhere; }

.footer {
  border-top: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.875rem;
}

.footer-inner {
  display: grid;
  gap: 2rem;
  padding: 2.5rem 0;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(8rem, 14rem));
  gap: 1.5rem 2rem;
}

.footer h2 {
  margin: 0 0 0.75rem;
  color: var(--foreground);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-cols a { display: block; margin-top: 0.45rem; }

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
}

.footer-identity { display: grid; gap: 0.35rem; }

.footer-meta p { margin: 0; max-width: 40rem; }

.social { display: flex; gap: 0.75rem; }

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  margin: 0;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.social svg { display: block; width: 0.9rem; height: 0.9rem; }

@media (max-width: 40rem) {
  .bar { align-items: flex-start; }
  .footer-cols { grid-template-columns: 1fr; }
}
