/* Colours as tokens. The page is light by design: a pale blue water-like background. */
:root {
  color-scheme: light;
  --text: #0b2a3c;
  --muted: #2d5067;
  --accent: #0b2a3c;
}

/* Base layout: one centred column with a 16px gutter on phones */
html {
  background: #bfe0f5;
}

body {
  margin: 0;
  padding: 16px;
  /* Slowly drifting gradient, like light moving over the surface of water */
  background: linear-gradient(160deg, #e9f7fd 0%, #bfe6f8 30%, #8fd0f0 55%, #c7ebfa 80%, #9ad6f3 100%);
  background-size: 300% 300%;
  animation: water-surface 40s ease-in-out infinite;
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  box-sizing: border-box;
}

@keyframes water-surface {
  0% { background-position: 0% 40%; }
  50% { background-position: 100% 60%; }
  100% { background-position: 0% 40%; }
}

/* Users who ask for less motion see the still gradient */
@media (prefers-reduced-motion: reduce) {
  body {
    animation: none;
  }
}

body > header,
body > main,
body > footer {
  max-width: 40rem;
  margin: 0 auto;
}

/* Header: logo on the left, language switch on the right */
.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 8px 0 24px;
}

.logo {
  width: 96px;
  height: auto;
}

.switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  color: var(--text);
  text-decoration: none;
  border: 1px solid var(--muted);
  border-radius: 6px;
  font-size: 0.9rem;
}

.switch img {
  display: block;
  width: 24px;
  height: 16px;
}

/* Main content */
main h1 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 0 0 12px;
}

main p {
  margin: 0 0 12px;
}

.contact h2 {
  font-size: 1rem;
  margin: 32px 0 8px;
  color: var(--muted);
  font-weight: 600;
}

.contact a {
  color: var(--accent);
}

/* Footer: legal details in very small print at the bottom */
.legal {
  margin-top: 64px;
  padding-top: 12px;
  border-top: 1px solid var(--muted);
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.4;
}

.legal h2 {
  font-size: 0.7rem;
  margin: 0 0 4px;
  font-weight: 600;
}

.legal p {
  margin: 0 0 6px;
}
