/* Brepper Dictate – the look "Tinte" of the app: ink ground, one signal green, Space Grotesk.
   Layout: one narrow reading column; the home and setup pages widen it to two columns. */
@font-face { font-family: "Space Grotesk"; src: url("/fonts/SpaceGrotesk.ttf") format("truetype"); font-weight: 300 700; font-display: swap; }
:root {
  color-scheme: dark;
  --ink: #10131c; --panel: #191d2a; --raised: #232838; --line: #3a4155;
  --text: #f3f4ee; --muted: #a9afc0; --signal: #b8f25a; --on-signal: #10131c; --warn: #ff8a80;
  --display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --body: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
  --radius: 22px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ink); color: var(--text); font: 500 18px/1.55 var(--body); }
a { color: var(--signal); text-underline-offset: 3px; }
a:focus-visible, summary:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; border-radius: 6px; }
img { max-width: 100%; }

header.top, main, footer { max-width: 760px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
header.top { padding-top: 22px; display: flex; gap: 6px 22px; align-items: center; flex-wrap: wrap; font-size: 16px; }
header.top a { color: var(--muted); text-decoration: none; }
header.top a:hover { color: var(--text); }
header.top a.brand { color: var(--text); font-weight: 700; font-size: 20px; margin-right: auto; display: inline-flex; align-items: center; gap: 10px; }
header.top a.brand::before { content: ""; width: 12px; height: 12px; border-radius: 50%; background: var(--signal); }
header.top a.lang { border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; font-size: 14px; }
main { padding-top: 28px; padding-bottom: 72px; }
body.wide header.top, body.wide main, body.wide footer { max-width: 1080px; }

h1 { font: 700 clamp(40px, 7.4vw, 76px)/1.02 var(--display); letter-spacing: -0.02em; margin: 28px 0 18px; text-wrap: balance; }
main:not(.home) h1 { font-size: clamp(34px, 5.4vw, 52px); }
h2 { font: 700 clamp(26px, 3.6vw, 36px)/1.15 var(--display); letter-spacing: -0.01em; margin: 0 0 12px; text-wrap: balance; }
h3 { font: 700 20px/1.3 var(--display); margin: 0 0 6px; }
p, ul, ol { margin: 0 0 14px; }
li { margin: 6px 0; }
.lead { font-size: clamp(19px, 2.2vw, 22px); color: var(--muted); max-width: 34em; }
.small { font-size: 15px; color: var(--muted); }
.eyebrow { font-size: 14px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--signal); margin: 0 0 10px; }
hr { border: 0; border-top: 1px solid var(--line); margin: 44px 0; }
main > h2 { margin-top: 44px; }

.card { background: var(--panel); border-radius: var(--radius); padding: 20px 22px; margin: 16px 0; }
.card > :last-child { margin-bottom: 0; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border-radius: 18px; font: 700 18px/1 var(--body); text-decoration: none; background: var(--signal); color: var(--on-signal); border: 2px solid var(--signal); }
.btn.ghost { background: transparent; color: var(--signal); border-color: var(--line); }
.btn:hover { filter: brightness(1.08); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }

/* Home: headline left, the dictation bar at work on the right. */
.hero { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; padding: 18px 0 56px; }
.demo { background: var(--panel); border-radius: 34px; padding: 22px; display: grid; gap: 16px; }
.demo .field { background: var(--raised); border-radius: 20px; padding: 16px 18px; min-height: 104px; font-size: 19px; }
.demo .typed { display: inline; }
.demo .caret { display: inline-block; width: 2px; height: 1.1em; background: var(--signal); vertical-align: -0.18em; margin-left: 2px; animation: blink 1s steps(1) infinite; }
.bar { display: flex; align-items: center; gap: 12px; background: #0b0d14; border-radius: 999px; padding: 8px 8px 8px 14px; justify-self: end; width: min(100%, 300px); }
.bar .x { width: 34px; height: 34px; border-radius: 50%; background: var(--raised); color: var(--signal); display: grid; place-items: center; font-size: 18px; flex: none; }
.bar .waves { flex: 1; display: flex; align-items: center; justify-content: space-between; height: 30px; }
.bar .waves i { width: 4px; height: 100%; border-radius: 2px; background: var(--signal); transform: scaleY(0.3); animation: wave 1.1s ease-in-out infinite; }
.bar .waves i:nth-child(2n) { animation-delay: -0.35s; } .bar .waves i:nth-child(3n) { animation-delay: -0.7s; } .bar .waves i:nth-child(5n) { animation-delay: -0.15s; }
.bar .ok { width: 52px; height: 52px; border-radius: 50%; background: var(--signal); color: var(--on-signal); display: grid; place-items: center; font-size: 24px; font-weight: 700; flex: none; }
.demo .cap { font-size: 14px; color: var(--muted); margin: 0; }
@keyframes wave { 0%, 100% { transform: scaleY(0.25); } 50% { transform: scaleY(1); } }
@keyframes blink { 50% { opacity: 0; } }

/* Privacy: where the voice goes, as a picture. */
.band { background: var(--panel); border-radius: 34px; padding: clamp(24px, 4vw, 44px); margin: 0 0 56px; }
.route { display: grid; grid-template-columns: auto minmax(40px, 1fr) auto; align-items: center; gap: 14px; margin: 26px 0 8px; max-width: 620px; }
.node { background: var(--raised); border-radius: 18px; padding: 14px 18px; font-weight: 700; text-align: center; }
.node small { display: block; font-weight: 500; font-size: 14px; color: var(--muted); }
.wire { height: 2px; background: repeating-linear-gradient(90deg, var(--signal) 0 8px, transparent 8px 16px); position: relative; }
.wire span { position: absolute; left: 50%; top: -30px; transform: translateX(-50%); font-size: 14px; color: var(--signal); white-space: nowrap; }
.nocloud { color: var(--muted); font-size: 16px; margin: 18px 0 0; }
.nocloud s { color: var(--warn); text-decoration-thickness: 2px; }
.facts { list-style: none; padding: 0; margin: 26px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px 28px; }
.facts li { margin: 0; padding-left: 24px; position: relative; }
.facts li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 10px; height: 10px; border-radius: 50%; background: var(--signal); }
.facts b { display: block; }
.facts span { color: var(--muted); font-size: 16px; }

/* Setup steps: the number is the order the reader follows. */
.steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 16px; counter-reset: step; }
.steps > li { counter-increment: step; margin: 0; background: var(--panel); border-radius: 28px; padding: 22px; display: grid; grid-template-columns: 52px minmax(0, 1fr) minmax(0, 240px); gap: 8px 20px; align-items: center; }
.steps > li::before { content: counter(step); width: 52px; height: 52px; border-radius: 50%; background: var(--signal); color: var(--on-signal); font: 700 24px/52px var(--display); text-align: center; }
.steps p { margin: 0 0 10px; color: var(--muted); }
.steps p:last-child { margin-bottom: 0; }
.steps .actions { margin: 12px 0 0; }
.steps .btn { min-height: 46px; font-size: 16px; padding: 0 18px; border-radius: 14px; }
.pic { background: var(--raised); border-radius: 18px; padding: 16px; min-height: 132px; display: grid; place-items: center; gap: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.pic .qr { width: 84px; height: 84px; border-radius: 8px; background: conic-gradient(var(--text) 25%, var(--ink) 0 50%, var(--text) 0 75%, var(--ink) 0) 0 0 / 21px 21px, var(--text); border: 8px solid var(--text); }
.pic .pill { background: var(--signal); color: var(--on-signal); font-weight: 700; border-radius: 12px; padding: 9px 16px; font-size: 15px; }
.pic .pill.win { background: transparent; color: var(--text); border: 1px solid var(--line); }
.pic .bar { width: 100%; justify-self: center; }
.done { display: flex; gap: 14px; align-items: center; margin: 16px 0 0; padding: 20px 22px; border: 1px solid var(--signal); border-radius: 28px; }
.done .ok { width: 44px; height: 44px; border-radius: 50%; background: var(--signal); color: var(--on-signal); display: grid; place-items: center; font-weight: 700; flex: none; }
.done p { margin: 0; }

.three { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin: 20px 0 56px; }
.three .card { margin: 0; }
.three p { color: var(--muted); font-size: 16px; }
details { border-top: 1px solid var(--line); padding: 14px 0; }
details:last-of-type { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; font-weight: 700; }
details p { color: var(--muted); margin: 10px 0 0; }

footer { padding-top: 18px; padding-bottom: 28px; border-top: 1px solid var(--line); font-size: 15px; color: var(--muted); display: flex; gap: 8px 20px; flex-wrap: wrap; }
footer a { color: var(--muted); }

@media (max-width: 820px) {
  .hero { grid-template-columns: 1fr; gap: 28px; padding-bottom: 40px; }
  .steps > li { grid-template-columns: 44px minmax(0, 1fr); padding: 18px; }
  .steps > li::before { width: 44px; height: 44px; line-height: 44px; font-size: 20px; }
  .steps .pic { grid-column: 1 / -1; min-height: 0; }
  .route { grid-template-columns: 1fr; justify-items: stretch; gap: 34px; }
  .wire { height: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .bar .waves i, .demo .caret { animation: none; }
  .bar .waves i:nth-child(2n) { transform: scaleY(0.8); } .bar .waves i:nth-child(3n) { transform: scaleY(0.55); }
}

/* Home, second pass: real screens in device frames, one section per device. */
.tags { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { margin: 0; font-size: 14px; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }
.stage { position: relative; display: grid; place-items: center; padding: 12px 0; }
.stage::before { content: ""; position: absolute; inset: 6% 4%; background: radial-gradient(closest-side, rgba(184, 242, 90, 0.22), transparent 72%); filter: blur(12px); }
.phone { box-sizing: content-box; position: relative; width: min(310px, 78vw); aspect-ratio: 540 / 1212; border: 9px solid #05070c; outline: 1px solid var(--line); border-radius: 46px; overflow: hidden; background: #05070c; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.55); }
.phone img, .phone video { display: block; width: 100%; height: 100%; object-fit: cover; }
.phone.small { width: min(230px, 42vw); border-width: 7px; border-radius: 36px; }
.duo { display: flex; justify-content: center; gap: 18px; }
.duo .phone:last-child { margin-top: 56px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; padding: 40px 0 72px; }
.points { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 12px; }
.points li { margin: 0; padding: 14px 18px; background: var(--panel); border-radius: 18px; color: var(--muted); }
.points b { color: var(--signal); margin-right: 4px; }
.window { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: var(--ink); box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); max-width: 460px; justify-self: center; }
.window video, .window img { display: block; width: 100%; height: auto; }
.bar3 { display: flex; gap: 7px; padding: 12px 14px; background: var(--panel); }
.bar3 i { width: 11px; height: 11px; border-radius: 50%; background: var(--line); }
.keys { display: flex; align-items: center; gap: 12px; margin: 22px 0 0; color: var(--muted); }
kbd { font: 700 20px/1 var(--display); color: var(--text); background: var(--raised); border: 1px solid var(--line); border-bottom-width: 4px; border-radius: 12px; padding: 12px 18px; }
.home .band .route { grid-template-columns: auto minmax(60px, 1fr) auto auto; max-width: none; gap: 16px; margin: 30px 0 6px; }
.node svg { display: block; width: 34px; height: 34px; margin: 0 auto 8px; fill: none; stroke: var(--signal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.node b { display: block; }
.node.off { background: transparent; border: 1px dashed var(--line); color: var(--muted); margin-left: 18px; }
.node.off svg { stroke: var(--muted); }
.node.off svg .slash { stroke: var(--warn); stroke-width: 2; }
.home .wire span { display: inline-flex; align-items: center; gap: 6px; background: var(--panel); padding: 0 8px; top: -13px; }
.wire svg { width: 18px; height: 18px; fill: none; stroke: var(--signal); stroke-width: 1.8; }
.home .band > .small { margin-top: 22px; }
.start { text-align: center; padding: 16px 0 64px; }
.start .actions { justify-content: center; }
.mini { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; counter-reset: m; text-align: left; }
.mini li { counter-increment: m; margin: 0; background: var(--panel); border-radius: 22px; padding: 20px; font-weight: 700; }
.mini li::before { content: counter(m); display: block; width: 40px; height: 40px; border-radius: 50%; background: var(--signal); color: var(--on-signal); font: 700 20px/40px var(--display); text-align: center; margin-bottom: 14px; }
@media (max-width: 820px) {
  .split { grid-template-columns: 1fr; gap: 30px; padding: 24px 0 48px; }
  .split.flip .window { order: -1; }
  .mini { grid-template-columns: 1fr; }
  .home .band .route { grid-template-columns: 1fr; gap: 34px; }
  .node.off { margin-left: 0; }
}

/* Android section: close-ups of the real screen, the bubble marked. */
.closeups { display: grid; gap: 16px; }
.close { position: relative; margin: 0; border-radius: 26px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }
.close img { display: block; width: 100%; height: auto; }
.spot { position: absolute; left: 89.3%; top: 35.6%; width: 17%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; border: 3px solid var(--signal); animation: spot 1.8s ease-out infinite; }
@keyframes spot { from { transform: translate(-50%, -50%) scale(0.8); opacity: 1; } to { transform: translate(-50%, -50%) scale(1.7); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .spot { animation: none; transform: translate(-50%, -50%) scale(1.25); } }

.phone { aspect-ratio: 540 / 1142; }
.stage .cap { position: relative; margin: 16px 0 0; font-size: 14px; color: var(--muted); text-align: center; max-width: 300px; }

/* Setup page: who does what, as two paths. */
.how { margin: 56px 0 0; }
.paths { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.path { background: var(--panel); border-radius: 28px; padding: 24px; }
.path .route { grid-template-columns: auto minmax(30px, 1fr) auto; max-width: none; margin: 14px 0 18px; }
.path .wire span { display: inline-flex; align-items: center; gap: 6px; background: var(--panel); padding: 0 8px; top: -13px; }
.path .small { margin: 0; }
.how + .band { margin-top: 44px; }
@media (max-width: 820px) { .paths { grid-template-columns: 1fr; } .path .route { grid-template-columns: 1fr; gap: 34px; } }

/* Setup: triangle diagram. Network on top, phone and PC below, data flows along the base. */
.how { margin-top: 56px; }
.tri { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(0, 1fr); row-gap: clamp(56px, 10vw, 96px); column-gap: 12px; align-items: center; max-width: 760px; margin: 34px auto 14px; }
.tri-lines { position: absolute; inset: 0; width: 100%; height: 100%; }
.tri-lines path { fill: none; stroke: var(--text); stroke-opacity: 0.75; stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 2 8; vector-effect: non-scaling-stroke; animation: tri-dash 1.4s linear infinite; }
@keyframes tri-dash { to { stroke-dashoffset: -20; } }
.tn { position: relative; background: var(--raised); border: 1px solid var(--line); border-radius: 18px; padding: 14px 12px; text-align: center; font-weight: 700; line-height: 1.25; }
.tn svg { display: block; width: 34px; height: 34px; margin: 0 auto 8px; fill: none; stroke: var(--signal); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.tn small { display: block; margin-top: 4px; font-weight: 500; font-size: 14px; color: var(--muted); }
.tn-net { grid-column: 1 / -1; justify-self: center; max-width: 290px; padding-inline: 22px; }
.flow { position: relative; display: grid; gap: 16px; }
.flow span { display: block; font-size: 13px; line-height: 1.2; color: var(--signal); text-align: center; margin: 5px 0; }
.flow i { display: block; position: relative; height: 3px; margin: 0 8px; background: repeating-linear-gradient(90deg, var(--signal) 0 10px, transparent 10px 20px); background-size: 20px 100%; animation: flow-go 0.8s linear infinite; }
.flow i::after { content: ""; position: absolute; top: 50%; right: -8px; transform: translateY(-50%); border: 7px solid transparent; border-right: 0; border-left: 10px solid var(--signal); }
.flow .back i { animation-direction: reverse; }
.flow .back i::after { right: auto; left: -8px; border: 7px solid transparent; border-left: 0; border-right: 10px solid var(--signal); }
@keyframes flow-go { to { background-position: 20px 0; } }
.legend { list-style: none; padding: 0; margin: 0 0 30px; display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 26px; font-size: 14px; color: var(--muted); }
.legend li { margin: 0; display: inline-flex; align-items: center; gap: 8px; }
.legend i { width: 30px; height: 0; border-top: 3px solid var(--signal); }
.legend i.dash { border-top: 2px dotted var(--muted); }
.ways { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.way { background: var(--panel); border-radius: 28px; padding: 22px; }
.way p:last-child { margin: 0; color: var(--muted); font-size: 16px; }
@media (max-width: 700px) { .ways { grid-template-columns: 1fr; } .tn { padding: 12px 8px; font-size: 16px; } .tn small { font-size: 13px; } .flow span { font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .tri-lines path, .flow i { animation: none; } }

/* Setup: what the PC needs. */
.needs { margin: 26px 0 30px; padding: 22px; border-radius: 28px; }
.needs .facts { margin-top: 14px; }
.needs .small { margin: 16px 0 0; }

/* Long German words must not run out of the column when the browser text is enlarged. */
h1, h2, h3, p, li, summary, .lead, .btn { overflow-wrap: anywhere; }
h1, h2, h3 { hyphens: auto; }
.onphone { display: none; }
@media (hover: none) and (pointer: coarse) { .onphone { display: block; } }
pre { background: var(--panel); border-radius: 14px; padding: 14px 16px; overflow-x: auto; font-size: 15px; line-height: 1.5; }
pre code { white-space: pre; }
