:root {
  --bg: #0f1317;
  --panel: #171c22;
  --text: #e8ecef;
  --muted: #9aa5ae;
  --accent: #2e86de;
  --accent-2: #ff5646;
  --line: #273038;
  --max: 1080px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
header.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 20px; color: var(--text); }
.brand img { width: 28px; height: 28px; }
nav a { color: var(--muted); margin-left: 22px; font-size: 15px; }
nav a:hover { color: var(--text); text-decoration: none; }
/* language switcher: EN at the root, DE/ES/FR under /<lang>/ */
.langs { margin-left: 22px; padding-left: 14px; border-left: 1px solid var(--line); white-space: nowrap; }
.langs a { margin-left: 10px; font-size: 13px; letter-spacing: .04em; }
.langs a.on { color: var(--text); font-weight: 600; }
.hero { padding: 70px 0 50px; }
.hero h1 { font-size: 44px; line-height: 1.15; margin: 0 0 18px; font-weight: 700; }
.hero p.lead { font-size: 20px; color: var(--muted); max-width: 680px; margin: 0 0 30px; }
.cta { display: inline-block; background: var(--accent); color: #fff; padding: 14px 24px; border-radius: 8px; font-weight: 600; font-size: 17px; border: 0; cursor: pointer; }
.cta:hover { background: #2671be; text-decoration: none; }
.cta.secondary { background: transparent; border: 1px solid var(--line); color: var(--text); margin-left: 12px; }
.cta.secondary:hover { background: var(--panel); }
.small { color: var(--muted); font-size: 14px; }
.shot { margin: 40px 0 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: var(--panel); }
.shot img { display: block; width: 100%; height: auto; }
.shot .placeholder { padding: 60px 20px; text-align: center; color: var(--muted); }
section { padding: 56px 0; border-top: 1px solid var(--line); }
section h2 { font-size: 30px; margin: 0 0 12px; }
section p.intro { color: var(--muted); font-size: 18px; max-width: 720px; margin: 0 0 28px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); }
.card ul { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }
.card li { margin: 3px 0; }
.steps { counter-reset: s; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.steps div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 22px 22px 22px 64px; position: relative; }
.steps div::before { counter-increment: s; content: counter(s); position: absolute; left: 20px; top: 20px; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.price { display: flex; flex-wrap: wrap; gap: 24px; align-items: stretch; }
.price .card { flex: 1 1 300px; }
.price .amount { font-size: 40px; font-weight: 700; margin: 6px 0 2px; }
.price ul { margin: 14px 0 20px; padding-left: 18px; color: var(--muted); }
.faq details { border-top: 1px solid var(--line); padding: 14px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; }
.faq p { color: var(--muted); margin: 10px 0 0; }
footer { border-top: 1px solid var(--line); padding: 30px 0 50px; color: var(--muted); font-size: 14px; }
footer a { color: var(--muted); margin-right: 18px; }
.key { font-family: Consolas, "Cascadia Mono", monospace; font-size: 14px; word-break: break-all; background: #0b0e11; border: 1px solid var(--line); border-radius: 8px; padding: 14px; }
input[type=email] { font: inherit; padding: 12px; border-radius: 8px; border: 1px solid var(--line); background: #0b0e11; color: var(--text); width: 100%; max-width: 360px; }
.note { background: #1c2a1c; border: 1px solid #2d4a2d; border-radius: 8px; padding: 12px 16px; margin: 16px 0; }
/* consent to immediate delivery (withdrawal waiver) on the buy card; the Worker
   sends the buyer back to #consent when the box was not ticked */
.consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 0 0 14px; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; cursor: pointer; }
.consent input { margin: 4px 0 0; flex: 0 0 auto; width: 16px; height: 16px; accent-color: var(--accent); }
.consent:target { border-color: var(--accent-2); box-shadow: 0 0 0 2px rgba(255, 86, 70, .35); color: var(--text); }

/* before / after slider */
.ba { position: relative; aspect-ratio: 16 / 9; overflow: hidden; user-select: none; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.ba .after { clip-path: inset(0 0 0 50%); }
.ba .handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 2px; background: #fff; box-shadow: 0 0 0 1px rgba(0,0,0,.4); pointer-events: none; }
.ba .handle::after { content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 40px; height: 40px; border-radius: 50%; background: #fff; color: #111; display: flex; align-items: center; justify-content: center; font-size: 20px; }
.ba input[type=range] { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba .tag { position: absolute; bottom: 12px; padding: 4px 10px; border-radius: 6px; background: rgba(0,0,0,.55); color: #fff; font-size: 13px; pointer-events: none; }
.ba .tag.l { left: 12px; } .ba .tag.r { right: 12px; }

@media (max-width: 600px) {
  .hero h1 { font-size: 32px; }
  nav a { margin-left: 14px; }
  .langs { margin-left: 10px; padding-left: 8px; }
  .langs a { margin-left: 6px; }
  .cta.secondary { margin-left: 0; margin-top: 10px; }
}
