/* Roboto Mono — selbst gehostet (SIL Open Font License 1.1), variable Schrift 100–700 */
@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('fonts/roboto-mono-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Roboto Mono';
  font-style: normal;
  font-weight: 100 700;
  font-display: swap;
  src: url('fonts/roboto-mono-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  color-scheme: light dark;
  --neutral-0: #090a14;
  --neutral-1: #10141f;
  --neutral-2: #151d28;
  --neutral-4: #394a50;
  --neutral-5: #577277;
  --neutral-7: #a8b5b2;
  --neutral-8: #c7cfcc;
  --neutral-9: #ebede9;
  --ocean-2: #3c5e8b;
  --ocean-3: #4f8fba;
  --ocean-4: #73bed3;
  --forest-2: #468232;
  --ember-3: #be772b;
  --crimson-4: #cf573c;
  --violet-3: #a23e8c;
  --page: var(--neutral-9);
  --surface: #ffffff;
  --surface-soft: #f7f8f4;
  --text: var(--neutral-0);
  --muted: var(--neutral-4);
  --line: var(--neutral-8);
  --accent: var(--ocean-3);
  --accent-strong: var(--ocean-2);
  --radius: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --page: var(--neutral-0);
    --surface: var(--neutral-1);
    --surface-soft: var(--neutral-2);
    --text: var(--neutral-9);
    --muted: var(--neutral-7);
    --line: var(--neutral-4);
    --accent: var(--ocean-4);
    --accent-strong: var(--ocean-4);
  }
}

* {
  box-sizing: border-box;
}

html {
  font-family: "Roboto Mono", monospace;
  background: var(--page);
  color: var(--text);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  line-height: 1.55;
}

a {
  color: inherit;
  text-decoration-color: color-mix(in srgb, var(--accent) 75%, transparent);
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
}

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

.site-header {
  border-bottom: 1px solid var(--line);
}

.nav {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
}

.brand img {
  width: 38px;
  height: 38px;
  border-radius: 8px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
  color: var(--muted);
  font-size: 0.96rem;
}

.nav-links a {
  text-decoration: none;
}

.nav-links a[aria-current="page"] {
  color: var(--text);
  font-weight: 650;
}

.hero {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(220px, 0.55fr);
  align-items: center;
  gap: 56px;
  padding: 72px 0 80px;
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--accent-strong);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  margin: 0;
  font-size: clamp(2.2rem, 5vw, 3rem);
  max-width: 15ch;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(1.5rem, 3.5vw, 2.0rem);
  line-height: 1.2;
}

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

.lead {
  margin: 24px 0 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
}

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

.button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 700;
  text-decoration: none;
  background: var(--surface);
}

.button.primary {
  border-color: var(--accent-strong);
  background: var(--accent-strong);
  color: var(--page);
}

.button.is-disabled {
  opacity: 0.8;
  pointer-events: none;
}

.hero-shot {
  justify-self: center;
  width: min(100%, 300px);
  height: auto;
  display: block;
  border: 1px solid var(--line);
  border-radius: 16px;
}

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

.section-inner,
.page-main {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

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

.card {
  border-top: 2px solid var(--text);
  padding: 20px 0 0;
}

.card-icon {
  display: block;
  width: 24px;
  height: 24px;
  color: var(--accent-strong);
  margin-bottom: 14px;
}

.card p,
.legal p,
.legal li {
  color: var(--muted);
}

.support-band {
  background: var(--surface-soft);
}

.page-main {
  padding: 56px 0 88px;
}

.page-header {
  max-width: 760px;
  margin-bottom: 40px;
}

.page-header h1 {
  max-width: 15ch;
  font-size: clamp(2rem, 5.0vw, 2.8rem);
}

.legal {
  display: grid;
  gap: 28px;
  max-width: 820px;
}

.legal section {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.legal ul {
  padding-left: 1.2rem;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 36px 0;
  color: var(--muted);
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 840px) {
  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 16px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 48px;
  }

  .hero-shot {
    justify-self: start;
    width: min(100%, 260px);
  }

  .grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  .nav-links {
    justify-content: flex-start;
    gap: 12px;
  }
}

/* Screenshots Gallery */
.screenshots-section h2 {
  margin-bottom: 32px;
}

.screenshot-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  align-items: start;
}

.screenshot-figure {
  margin: 0;
}

.screenshot-figure img {
  aspect-ratio: 472 / 1024;
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.screenshot-figure figcaption {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.5;
}

@media (max-width: 840px) {
  .screenshot-gallery {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .screenshot-figure img {
    max-width: 280px;
  }
}

/* Language Switcher */
.lang-separator {
  color: var(--line);
  user-select: none;
  font-weight: 400;
  opacity: 0.6;
  margin: 0 4px;
}

.lang-switch {
  font-weight: 700;
  color: var(--accent) !important;
  text-decoration: none;
}

.lang-switch:hover {
  color: var(--accent-strong) !important;
}

