:root {
  --bg: #0a0e13;
  --surf: #111821;
  --line: #233044;
  --text: #e8eef5;
  --mute: #9fb0c3;
  --acc: #3ddc84;
  --amber: #f5b74a;
  --blue: #6cb6ff;
  --mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; color-scheme: dark; }
body {
  margin: 0;
  color: var(--text);
  font: 1rem/1.55 var(--sans);
  overflow-wrap: break-word;
  background:
    radial-gradient(ellipse 75% 36rem at 64% 0, #3ddc841c, transparent),
    linear-gradient(#ffffff09 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(90deg, #ffffff09 1px, transparent 1px) 0 0 / 44px 44px,
    var(--bg);
}
a { color: var(--acc); text-underline-offset: .2em; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
p, figure { margin: 0; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
h1 { font-size: clamp(2.45rem, 5vw, 4.5rem); letter-spacing: -.055em; text-wrap: balance; }
h2 { font-size: clamp(1.65rem, 3vw, 2.45rem); letter-spacing: -.035em; }
h3 { font: 700 .83rem/1.3 var(--mono); }
.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus { position: fixed; z-index: 20; padding: .6rem 1rem; background: var(--bg); }
.top {
  position: sticky;
  top: 0;
  z-index: 10;
  background: #0a0e13e8;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.top-inner, main, footer { width: min(1140px, 100% - 2rem); margin-inline: auto; }
.top-inner { display: flex; align-items: center; gap: .5rem; min-height: 64px; }
.brand { display: block; }
.top .brand { margin-right: auto; min-width: 0; }
.logo { display: block; width: 161px; max-width: 100%; height: auto; }
.menu { display: flex; gap: 1.3rem; }
.menu a:not(.faq-nav) { display: none; }
.menu a, .lang a { display: flex; align-items: center; min-height: 44px; color: var(--mute); text-decoration: none; }
.menu a:hover, .lang a:hover { color: var(--text); }
.lang { display: flex; gap: .15rem; font: 600 .8rem var(--mono); }
.lang a { padding-inline: .45rem; border-radius: 6px; }
.lang a[aria-current] { color: var(--acc); background: #3ddc841a; }

main > section { padding-block: clamp(1.65rem, 3.8vw, 3rem); }
.hero {
  display: grid;
  align-items: center;
  gap: clamp(1.8rem, 4vw, 3.5rem);
  padding-block: clamp(2.4rem, 6vw, 5.3rem);
}
.eyebrow { margin-bottom: .8rem; color: var(--acc); font: 700 .77rem/1.4 var(--mono); letter-spacing: .075em; text-transform: uppercase; }
.lead { margin-top: 1rem; max-width: 34ch; color: var(--mute); font-size: clamp(1rem, 2vw, 1.2rem); }
.row { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: 1.4rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 48px;
  padding: .55rem 1rem;
  border: 1px solid var(--acc);
  border-radius: 10px;
  background: var(--acc);
  color: #06140c;
  font-weight: 750;
  text-decoration: none;
}
.btn:hover { box-shadow: 0 0 22px #3ddc8450; }
.btn.ghost { background: var(--bg); border-color: var(--line); color: var(--text); }
.btn.ghost:hover { border-color: var(--acc); box-shadow: none; }

.frame { overflow: hidden; border: 1px solid #324459; border-radius: 16px; background: var(--surf); box-shadow: 0 28px 75px -34px #3ddc8450; }
.frame figcaption { display: flex; align-items: center; gap: .8rem; padding: .75rem .9rem; border-bottom: 1px solid var(--line); color: var(--mute); font: .75rem var(--mono); }
.dots { display: flex; gap: 5px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: #425468; }
.mockup { display: grid; grid-template-columns: auto minmax(0, 1fr); background: #0d131b; }
.rail { display: grid; align-content: start; justify-items: center; gap: .75rem; padding: .9rem .55rem; border-right: 1px solid var(--line); color: var(--mute); font: 1rem var(--mono); }
.logo-mark { display: block; }
.mock-main { padding: clamp(.65rem, 2.5vw, 1.55rem); }
.mock-heading { display: flex; justify-content: space-between; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 750; }
.signal { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--acc); box-shadow: 0 0 0 4px #3ddc8424; }
.mock-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.25rem, 1vw, .65rem); margin-block: .85rem; }
.mock-grid div { display: grid; align-content: start; gap: .4rem; padding: clamp(.25rem, 1vw, .65rem); background: var(--surf); border: 1px solid var(--line); border-radius: 8px; }
.mock-grid b { font-size: clamp(.56rem, 1.2vw, .78rem); line-height: 1.25; hyphens: auto; overflow-wrap: anywhere; }
.mock-lines { display: grid; gap: .7rem; padding: .9rem; border: 1px solid var(--line); border-radius: 8px; }
.mock-lines i { height: 6px; border-radius: 9px; background: linear-gradient(90deg, #3ddc8460 var(--fill, 70%), var(--line) var(--fill, 70%)); }
.mock-lines i:nth-child(2) { --fill: 44%; }
.mock-lines i:nth-child(3) { --fill: 58%; }

.steps, .grid { display: grid; gap: .7rem; }
.steps { list-style: none; margin: 1rem 0 0; padding: 0; }
.steps li, .card { min-width: 0; background: var(--surf); border: 1px solid var(--line); border-radius: 12px; }
.steps li { display: flex; align-items: flex-start; gap: .7rem; padding: .9rem; }
.steps p, .card small { color: var(--mute); font-size: .9rem; }
.glyph { display: grid; flex: none; place-items: center; width: 2.25rem; height: 2.25rem; border-radius: 8px; background: #3ddc8417; color: var(--acc); font: 700 1.1rem var(--mono); }
.group { margin-top: 1.25rem; --status: var(--acc); }
.group.testing { --status: var(--amber); }
.group.planned { --status: var(--mute); }
.group h3 { display: inline-flex; align-items: center; gap: .5rem; margin-bottom: .7rem; color: var(--status); }
.group h3::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: currentColor; }
.grid { align-items: start; }
.card:hover { border-color: var(--status); }
.card { display: flex; align-items: center; gap: .7rem; min-height: 84px; padding: .75rem; color: var(--text); text-decoration: none; }
.card-copy { flex: 1; min-width: 0; line-height: 1.25; }
.card small { display: block; margin-top: .25rem; }
.testing .card .glyph { color: var(--amber); background: #f5b74a18; }
.expand { flex: none; width: .55rem; height: .55rem; margin-right: .2rem; border: solid var(--status); border-width: 0 2px 2px 0; transform: rotate(-45deg); }
.media { display: grid; gap: .55rem; margin-top: .75rem; }
.slot {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: .45rem;
  min-height: 92px;
  padding: .7rem;
  border: 1px dashed #43536a;
  border-radius: 8px;
  background: repeating-linear-gradient(135deg, transparent 0 12px, #ffffff08 12px 13px);
  color: var(--mute);
  font: .75rem/1.35 var(--mono);
  text-align: center;
}
.media img, .media video { display: block; width: 100%; height: auto; border-radius: 8px; }
.card .media-soon { display: block; margin-top: .35rem; font-size: .78rem; font-style: italic; color: var(--mute); }
.feature-detail > .media-soon {
  margin-top: 1rem;
  padding: .85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #3ddc840c;
  color: var(--mute);
  font-size: .92rem;
}
.faq-list { display: grid; gap: .7rem; margin-top: 1rem; }
.faq-list details { border: 1px solid var(--line); border-radius: 12px; background: var(--surf); }
.faq-list summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 48px;
  padding: .75rem 1rem;
  border-radius: inherit;
  font-weight: 700;
  cursor: pointer;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "";
  flex: none;
  width: .5rem;
  height: .5rem;
  margin-right: .2rem;
  border: solid var(--acc);
  border-width: 0 2px 2px 0;
  transform: translateY(-.1rem) rotate(45deg);
}
.faq-list details[open] summary::after { transform: translateY(.1rem) rotate(225deg); }
.faq-answer { padding: 0 1rem 1rem; color: var(--mute); }
.faq-answer > a { margin-top: .65rem; }
.faq-answer > a:not(.btn) { display: inline-block; }
footer { margin-top: 1rem; padding-block: 1.4rem; border-top: 1px solid var(--line); color: var(--mute); font-size: .85rem; }

@media (min-width: 600px) {
  .top-inner { gap: 1rem; }
  .menu a:not(.faq-nav) { display: flex; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 820px) {
  .hero { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .steps, .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

.beta {
  display: inline-block;
  margin-top: 1rem;
  padding: .25rem .55rem;
  border: 1px solid #f5b74a55;
  border-radius: 6px;
  color: var(--amber);
  font: 700 .78rem/1.4 var(--mono);
}
.beta + .row { margin-top: .65rem; }
.footer-top, .footer-links { display: flex; align-items: center; flex-wrap: wrap; gap: .55rem 1rem; }
.footer-top { justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: .5rem; }
.footer-brand .logo { width: 138px; }
.legal { display: grid; gap: .4rem; margin-top: .9rem; font-size: .78rem; }
#kontakt { margin-top: 1rem; }
.channels { display: flex; flex-wrap: wrap; gap: .65rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.feature-detail { min-width: 0; }
#feature-details .feature-detail { margin-top: 1rem; padding: 1rem; background: var(--surf); border: 1px solid var(--line); border-radius: 12px; }
.feature-status { margin-top: .6rem; color: var(--acc); font: 700 .83rem/1.3 var(--mono); }
.testing .feature-status { color: var(--amber); }
.planned .feature-status { color: var(--mute); }
.feature-points { margin: .65rem 0 0; padding-left: 1.2rem; color: var(--mute); }

html:has(dialog[open]) { overflow: hidden; scrollbar-gutter: stable; }
dialog {
  width: min(46rem, 100% - 2rem);
  max-width: none;
  max-height: calc(100dvh - 2rem);
  padding: 0;
  overscroll-behavior: contain;
  background: var(--surf);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 24px 70px #0009;
}
#contact-dialog { width: min(28rem, 100% - 2rem); }
dialog::backdrop { background: #060a10d9; }
.dialog-body { position: relative; padding: clamp(1rem, 3vw, 1.5rem); }
.dialog-body h2, .feature-title { padding-right: 3.2rem; }
.feature-title { font: 750 clamp(1.4rem, 4vw, 2rem)/1.15 var(--sans); }
#feature-dialog { touch-action: pan-y pinch-zoom; }
#feature-dialog .slot { min-height: clamp(9rem, 40vw, 22rem); }
#feature-dialog :is(img, video) { max-height: min(50dvh, 26rem); object-fit: contain; background: var(--bg); }
.dialog-body button {
  min-height: 44px;
  padding: .35rem .65rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  cursor: pointer;
}
.dialog-body button:hover, .dialog-body button[aria-pressed="true"] { border-color: var(--acc); }
.dialog-body .dialog-close { position: absolute; z-index: 1; inset: .75rem .75rem auto auto; width: 44px; font-size: 1.45rem; line-height: 1; }
.thumbnails { display: flex; gap: .45rem; margin-top: .55rem; overflow-x: auto; padding: 4px; touch-action: auto; }
.thumbnails button { flex: none; max-width: min(11rem, 75%); font-size: .75rem; }
.thumbnails img { display: block; width: 4.5rem; aspect-ratio: 16 / 9; }
.feature-nav { display: flex; justify-content: space-between; gap: .45rem; margin-top: 1rem; }
.feature-nav button { min-width: 0; font-size: .8rem; }

@media (prefers-reduced-motion: no-preference) {
  dialog[open] { animation: dialog-in .22s ease-out; }
  dialog[open]::backdrop { animation: fade-in .22s ease-out; }
  .card { transition: border-color .18s ease; }
  .feature-content article { animation: dialog-in .2s ease-out; }
}
@keyframes dialog-in {
  from { opacity: 0; transform: translateY(.6rem) scale(.985); }
}
@keyframes fade-in {
  from { opacity: 0; }
}
