/* Colours, spacing and corners repeat packages/ui/src/tokens.ts (a static site can't import them). */
:root {
  --text: #10231a;
  --text-secondary: #5a6b60;
  --background: #f7f9f6;
  --surface: #ffffff;
  --border: #dde5da;
  --accent: #15803d;
  --accent-text: #ffffff;
  --accent-muted: #dcf0e2;
  --s1: 4px;
  --s2: 8px;
  --s3: 16px;
  --s4: 24px;
  --s5: 32px;
  --s6: 64px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow: 0 1px 2px rgba(16, 35, 26, 0.06), 0 4px 12px rgba(16, 35, 26, 0.06);
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --text: #ecf2ee;
    --text-secondary: #93a398;
    --background: #0c1310;
    --surface: #151f1a;
    --border: #233029;
    --accent: #34d07e;
    --accent-text: #08160e;
    --accent-muted: #17301f;
    --shadow: none;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Geeza Pro",
    Tahoma,
    sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

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

.wrap {
  max-width: 880px;
  margin: 0 auto;
  padding-inline: var(--s3);
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: var(--s4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  color: var(--text);
  font-weight: 700;
  font-size: 20px;
  text-decoration: none;
}

.logo {
  width: 28px;
  height: 28px;
  color: var(--accent);
}

.lang {
  padding: var(--s1) var(--s3);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text);
  text-decoration: none;
  font-size: 15px;
}

h1,
h2,
h3 {
  line-height: 1.25;
}

.hero {
  padding-block: var(--s5) var(--s4);
}

.hero h1 {
  margin: 0 0 var(--s3);
  font-size: clamp(32px, 7vw, 52px);
  letter-spacing: -0.02em;
}

.lead {
  max-width: 640px;
  margin: 0 0 var(--s3);
  color: var(--text-secondary);
  font-size: 19px;
}

.status {
  display: inline-block;
  margin: 0;
  padding: var(--s1) var(--s3);
  border-radius: 999px;
  background: var(--accent-muted);
  font-size: 15px;
}

section {
  padding-block: var(--s4);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--s3);
  margin: 0;
  padding: 0;
  list-style: none;
}

.card {
  padding: var(--s4);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.card h3 {
  margin: 0 0 var(--s2);
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--text-secondary);
}

.owners {
  margin-block: var(--s4);
}

.owners h2 {
  margin-top: 0;
}

.owners p {
  margin: 0 0 var(--s4);
}

.button {
  display: inline-block;
  padding: var(--s2) var(--s4);
  border-radius: var(--radius-md);
  background: var(--accent);
  color: var(--accent-text);
  font-weight: 600;
  text-decoration: none;
}

.legal {
  max-width: 720px;
  padding-block: var(--s4) var(--s6);
}

.legal table {
  display: block;
  overflow-x: auto;
  border-collapse: collapse;
  font-size: 15px;
}

.legal th,
.legal td {
  padding: var(--s2);
  border: 1px solid var(--border);
  text-align: start;
  vertical-align: top;
}

.foot {
  padding-block: var(--s5);
  border-top: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 15px;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
}

.foot a {
  color: var(--text-secondary);
}

.foot p {
  margin: var(--s3) 0 0;
}
