:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f7;
  --text: #1d1d1f;
  --muted: #6e6e73;
  --accent: #365c48;
  --font: -apple-system, BlinkMacSystemFont, system-ui, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #000000;
    --bg-alt: #161617;
    --text: #f5f5f7;
    --muted: #a1a1a6;
    --accent: #8cc4a4;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.47 var(--font);
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
}

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

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

.bar {
  width: 100%;
  max-width: 980px;
  height: 56px;
  margin: 0 auto;
  padding: 0 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand:hover { text-decoration: none; }
.brand img { display: block; }

main {
  flex: 1;
  display: grid;
  place-items: center;
  padding: 72px 22px 96px;
}

.hero {
  max-width: 760px;
  text-align: center;
}

h1 {
  margin: 0;
  font-size: clamp(36px, 7vw, 64px);
  font-weight: 600;
  line-height: 1.0625;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.lead {
  max-width: 560px;
  margin: 24px auto 0;
  font-size: clamp(19px, 2.4vw, 24px);
  line-height: 1.35;
  letter-spacing: 0.009em;
  color: var(--muted);
  text-wrap: pretty;
}

.contact {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 56px;
  padding: 22px 36px;
  border-radius: 18px;
  background: var(--bg-alt);
}

.contact h2 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--muted);
}

.contact a {
  font-size: 21px;
  font-weight: 500;
}

/* The privacy policy: a single readable column, top-aligned. */
.policy {
  width: 100%;
  max-width: 680px;
  align-self: start;
}

.policy h1 { font-size: clamp(32px, 5vw, 48px); }

.policy .updated {
  margin: 12px 0 0;
  font-size: 15px;
  color: var(--muted);
}

.policy h2 {
  margin: 40px 0 0;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.24;
  letter-spacing: -0.01em;
}

.policy p {
  margin: 10px 0 0;
  text-wrap: pretty;
}

.policy .updated + p { margin-top: 32px; }

footer { background: var(--bg-alt); }

footer p {
  max-width: 980px;
  margin: 0 auto;
  padding: 18px 22px;
  font-size: 12px;
  line-height: 1.33;
  letter-spacing: -0.01em;
  color: var(--muted);
}

/* Wrap only between footer items, never inside one. */
footer p span { white-space: nowrap; }

footer a { color: var(--text); }
