/* Shared by index.html (English) and de/index.html (German). */
:root {
  color-scheme: light dark;
  --bg: #f6f8f8; --surface: #ffffff; --fg: #15201f; --muted: #5a6766; --line: #dde4e3;
  --teal: #0f766e; --navy: #0b3b5c; --amber: #ffb547; --amber-ink: #8a5300;
  --link: #0f766e;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0d1415; --surface: #151f20; --fg: #e5eceb; --muted: #9aa8a7; --line: #263334;
          --link: #5eead4; --amber-ink: #ffb547; }
}
* { box-sizing: border-box; }
body { margin: 0; font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
       color: var(--fg); background: var(--bg); }
a { color: var(--link); }
.wrap { max-width: 64rem; margin: 0 auto; padding: 0 1rem; }

/* Hero */
header.hero { color: #fff; background: linear-gradient(135deg, var(--teal), var(--navy)); position: relative; overflow: hidden; }
header.hero::before { content: ""; position: absolute; right: -14rem; top: -10rem; width: 40rem; height: 40rem; border-radius: 50%;
                      box-shadow: 0 0 0 3rem rgba(255,255,255,.04), 0 0 0 6rem rgba(255,255,255,.03), 0 0 0 9rem rgba(255,255,255,.02);
                      border: 2px solid rgba(255,255,255,.07); pointer-events: none; }
nav { display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; position: relative; }
nav .brand { display: flex; align-items: center; gap: .6rem; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.15rem; }
nav .brand img { width: 2rem; height: 2rem; border-radius: .5rem; }
nav .links a { color: rgba(255,255,255,.85); text-decoration: none; margin-left: 1.2rem; font-size: .95rem; }
nav .links a:hover { color: #fff; }
nav .right { display: flex; align-items: center; }
nav .lang { margin-left: 1.4rem; font-size: .9rem; color: rgba(255,255,255,.6); white-space: nowrap; }
nav .lang a { color: rgba(255,255,255,.85); text-decoration: none; font-weight: 600; padding: .15rem .35rem; border-radius: .4rem; }
nav .lang a:hover { color: #fff; }
nav .lang a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.16); }
.hero-body { display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: center; padding: 3rem 0 4rem; position: relative; }
.hero h1 { font-size: clamp(2.6rem, 7vw, 4rem); line-height: 1.05; margin: 0 0 .6rem; letter-spacing: -.02em; }
.hero .lead { font-size: 1.3rem; margin: 0 0 .4rem; max-width: 34rem; }
.hero .tags { color: var(--amber); font-weight: 600; margin: 0 0 2rem; }
.hero-shot { width: 15rem; height: auto; border-radius: 1.6rem; border: .45rem solid #0a0f10; box-shadow: 0 1.5rem 3rem rgba(0,0,0,.35); display: block; }
.cta { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center; }
.btn { display: inline-flex; align-items: center; gap: .5rem; padding: .8rem 1.3rem; border-radius: 999px; font-weight: 600;
       text-decoration: none; font-size: 1rem; }
.btn-primary { background: var(--amber); color: #2a1a00; }
.btn-primary:hover { background: #ffc46b; }
.btn-ghost { color: #fff; border: 1.5px solid rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: #fff; }
.hero .note { font-size: .9rem; color: rgba(255,255,255,.75); margin-top: 1rem; }

section { padding: 4rem 0 1rem; }
h2 { font-size: 1.8rem; margin: 0 0 .4rem; letter-spacing: -.01em; }
.sub { color: var(--muted); margin: 0 0 2rem; max-width: 40rem; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; padding: 1.2rem 1.3rem; }
.feature h3 { margin: 0 0 .3rem; font-size: 1.05rem; display: flex; gap: .55rem; align-items: center; }
.feature h3 svg { flex: none; width: 1.3rem; height: 1.3rem; color: var(--teal); }
@media (prefers-color-scheme: dark) { .feature h3 svg { color: #5eead4; } }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Screenshots */
.shots { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.shots figure { margin: 0; text-align: center; }
.shots a { display: block; }
.shots img { width: 100%; height: auto; border-radius: 1.2rem; border: .35rem solid #0a0f10; display: block;
             box-shadow: 0 .6rem 1.5rem rgba(0,0,0,.18); transition: transform .15s; }
.shots a:hover img { transform: translateY(-4px); }
.shots figcaption { color: var(--muted); font-size: .9rem; margin-top: .6rem; }

/* Download */
.downloads { display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 1rem; }
.dl { background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; padding: 1.4rem; display: flex; flex-direction: column; }
.dl h3 { margin: 0 0 .2rem; font-size: 1.2rem; }
.dl .badge { display: inline-block; font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em;
             color: var(--amber-ink); margin-bottom: .6rem; }
.dl p { margin: 0 0 1rem; color: var(--muted); font-size: .95rem; flex: 1; }
.dl .btn { align-self: flex-start; background: var(--teal); color: #fff; }
.dl .btn:hover { background: #0d655e; }
.dl .meta { font-size: .8rem; color: var(--muted); margin-top: .8rem; word-break: break-all; }
.dl .meta code { font-size: .78rem; }
.install { margin-top: 1.5rem; background: var(--surface); border: 1px solid var(--line); border-left: 4px solid var(--amber);
           border-radius: .6rem; padding: 1rem 1.3rem; font-size: .95rem; }
.install ol { margin: .4rem 0 0; padding-left: 1.3rem; }

/* Privacy */
.privacy { background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; padding: 1.5rem 1.6rem;
           display: grid; grid-template-columns: auto 1fr; gap: 1.2rem; align-items: start; }
.privacy svg { width: 2.4rem; height: 2.4rem; color: var(--teal); }
@media (prefers-color-scheme: dark) { .privacy svg { color: #5eead4; } }
.privacy p { margin: 0 0 .6rem; }

footer { margin-top: 4rem; padding: 2rem 0 3rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; }

@media (max-width: 760px) {
  .hero-body { grid-template-columns: 1fr; padding: 2rem 0 3rem; }
  .hero-shot { display: none; }
  nav .links a:not(:last-child) { display: none; }
  .shots { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%; overflow-x: auto;
           scroll-snap-type: x mandatory; padding-bottom: 1rem; }
  .shots figure { scroll-snap-align: center; }
  .privacy { grid-template-columns: 1fr; }
}
