/* Shared by index.html (English) and de/index.html (German). Colors follow the app icon. */
:root {
  color-scheme: light dark;
  --bg: #fbf9f4; --surface: #ffffff; --fg: #1f1a12; --muted: #6b6458; --line: #e9e3d6;
  --yellow: #f9e44f; --amber: #e5a50a; --brown: #9c6400; --ink: #2a1a00;
  --link: #9c6400; --accent: #b37400;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #14120e; --surface: #1e1b15; --fg: #efe9dc; --muted: #a89f8e; --line: #332d22;
          --link: #f6c84a; --accent: #f6c84a; }
}
* { 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); }
code { font-size: .9em; }
.wrap { max-width: 64rem; margin: 0 auto; padding: 0 1rem; }

/* Hero: the icon's yellow-to-amber gradient with its signal waves. */
header.hero { color: var(--ink); background: linear-gradient(135deg, var(--yellow) 0%, var(--amber) 65%, #c88800 100%);
              position: relative; overflow: hidden; }
header.hero::before { content: ""; position: absolute; right: -16rem; top: -16rem; width: 40rem; height: 40rem; border-radius: 50%;
                      border: 2.2rem solid rgba(255,255,255,.18);
                      box-shadow: 0 0 0 4rem rgba(255,255,255,.0), 0 0 0 6.2rem rgba(255,255,255,.12);
                      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: var(--ink); text-decoration: none; font-weight: 700; font-size: 1.15rem; }
nav .brand img { width: 2.2rem; height: 2.2rem; }
nav .links a { color: rgba(42,26,0,.8); text-decoration: none; margin-left: 1.2rem; font-size: .95rem; font-weight: 500; }
nav .links a:hover { color: var(--ink); }
nav .right { display: flex; align-items: center; }
nav .lang { margin-left: 1.4rem; font-size: .9rem; color: rgba(42,26,0,.55); white-space: nowrap; }
nav .lang a { color: rgba(42,26,0,.8); text-decoration: none; font-weight: 600; padding: .15rem .35rem; border-radius: .4rem; }
nav .lang a:hover { color: var(--ink); }
nav .lang a[aria-current="page"] { color: var(--ink); background: rgba(255,255,255,.4); }
.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: #6b3f00; font-weight: 700; margin: 0 0 2rem; }
.hero-shot { width: 15rem; height: auto; border-radius: 1.6rem; border: .45rem solid #16130e; box-shadow: 0 1.5rem 3rem rgba(60,35,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(--ink); color: #fff; }
.btn-primary:hover { background: #4a3000; }
.btn-ghost { color: var(--ink); border: 1.5px solid rgba(42,26,0,.45); }
.btn-ghost:hover { border-color: var(--ink); }
.hero .note { font-size: .9rem; color: rgba(42,26,0,.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: 42rem; }

/* 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(--accent); }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }

/* Screenshots */
.shots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.shots figure { margin: 0; text-align: center; }
.shots a { display: block; }
.shots img { width: 100%; height: auto; border-radius: 1.1rem; border: .3rem solid #16130e; 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; }
.desktop { display: grid; grid-template-columns: 1fr auto; gap: 2.5rem; align-items: center; margin-top: 3.5rem;
           background: var(--surface); border: 1px solid var(--line); border-radius: 1rem; padding: 2rem; }
.desktop h3 { margin: 0 0 .5rem; font-size: 1.35rem; }
.desktop p { margin: 0 0 .8rem; color: var(--muted); }
.desktop img { width: 17rem; height: auto; display: block; filter: drop-shadow(0 .8rem 1.5rem rgba(0,0,0,.2)); }

/* 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(--accent); margin-bottom: .6rem; }
.dl p { margin: 0 0 1rem; color: var(--muted); font-size: .95rem; }
.dl .btn { align-self: flex-start; background: var(--amber); color: var(--ink); }
.dl .btn:hover { background: #f4b81c; }
.dl .meta { font-size: .8rem; color: var(--muted); margin-top: .8rem; word-break: break-all; }
.dl .meta code { font-size: .78rem; }
.dl .debs { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.dl .debs li { border-top: 1px solid var(--line); padding-top: .9rem; }
.dl .debs .row { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.dl .debs strong { font-size: 1rem; }
.dl .debs .btn { padding: .5rem 1rem; font-size: .9rem; }
.dl .debs .meta { margin-top: .4rem; }
.install { margin-top: 1.5rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(19rem, 1fr)); gap: 1rem; }
.install div { 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; }
.install p { margin: .4rem 0 0; }

/* 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(--accent); }
.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: 900px) {
  .shots { grid-template-columns: repeat(3, 1fr); }
}
@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; }
  .desktop { grid-template-columns: 1fr; padding: 1.4rem; }
  .desktop img { width: 70%; margin: 0 auto; }
  .privacy { grid-template-columns: 1fr; }
}
