:root {
  color-scheme: light;
  --paper: #ffffff;
  --surface: #f5f8f7;
  --surface-strong: #e7f0ec;
  --ink: #16211f;
  --muted: #5b6b66;
  --line: #cbd8d3;
  --accent: #2f6f62;
  --accent-strong: #1f554b;
  --warn: #b24a2f;
  --gold: #d5a23b;
  --shadow: 0 16px 44px rgba(22, 33, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}

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

a:hover,
a:focus-visible {
  color: var(--warn);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.nav {
  max-width: 1180px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: max-content;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
}

.brand img {
  width: 32px;
  height: 32px;
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px 16px;
  width: 100%;
  font-size: 14px;
}

.nav-links a {
  color: var(--ink);
  text-decoration: none;
}

.language {
  display: flex;
  gap: 4px;
  margin-left: 4px;
}

.language button {
  min-width: 38px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 6px 8px;
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
  font: inherit;
}

.language button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

.wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero {
  padding: 64px 0 38px;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(420px, 1.05fr);
  align-items: center;
  gap: 44px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: 52px;
  line-height: 1.08;
  font-weight: 760;
  letter-spacing: 0;
}

h2 {
  margin: 0 0 18px;
  font-size: 30px;
  line-height: 1.2;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.25;
}

p {
  margin: 0 0 14px;
}

.lead {
  margin-top: 18px;
  color: var(--muted);
  font-size: 19px;
  max-width: 64ch;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--accent);
  border-radius: 6px;
  padding: 10px 16px;
  background: var(--accent);
  color: #ffffff;
  font-weight: 650;
  text-decoration: none;
}

.button.secondary {
  background: var(--paper);
  color: var(--accent-strong);
}

.product-shot {
  width: 100%;
  display: block;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  background: var(--paper);
}

.section {
  padding: 58px 0;
  border-bottom: 1px solid var(--line);
}

.section.alt {
  background: var(--surface);
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.74fr);
  gap: 36px;
  align-items: start;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.card,
.download {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--paper);
}

.download {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.download .button {
  align-self: flex-start;
  margin-top: auto;
}

.download code,
.hash {
  display: block;
  overflow-wrap: anywhere;
  font-family: Consolas, "Courier New", monospace;
  font-size: 13px;
}

.tag {
  display: inline-flex;
  width: fit-content;
  border-radius: 999px;
  padding: 4px 10px;
  background: var(--surface-strong);
  color: var(--accent-strong);
  font-size: 13px;
  font-weight: 700;
}

.note {
  border-left: 4px solid var(--gold);
  background: #fffaf0;
  padding: 14px 16px;
  margin: 18px 0;
}

.steps {
  padding-left: 22px;
}

.steps li {
  margin: 0 0 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  background: var(--paper);
}

th,
td {
  border: 1px solid var(--line);
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
}

th {
  background: var(--surface-strong);
}

.site-footer {
  padding: 32px 0;
  background: var(--ink);
  color: #ffffff;
}

.site-footer a {
  color: #d5f0e8;
}

.i18n {
  display: none;
}

html[data-lang="de"] .i18n.de,
html[data-lang="en"] .i18n.en {
  display: block;
}

html[data-lang="de"] span.i18n.de,
html[data-lang="en"] span.i18n.en,
html[data-lang="de"] a.i18n.de,
html[data-lang="en"] a.i18n.en,
html[data-lang="de"] button.i18n.de,
html[data-lang="en"] button.i18n.en {
  display: inline-flex;
}

@media (max-width: 920px) {
  .hero-grid,
  .two-col,
  .grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }

  h1 {
    font-size: 40px;
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .wrap,
  .nav {
    padding-left: 16px;
    padding-right: 16px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 25px;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
