:root {
  --ink: #0a1e2f;
  --ink-soft: #243246;
  --paper: #f6f5f2;
  --paper-2: #ebe7df;
  --white: #fffcf8;
  --blue: #1064f4;
  --line: rgba(10, 30, 47, 0.14);
  --muted: #5d6775;
  --display: "Syne", "Avenir Next", "Segoe UI", sans-serif;
  --sans: "Manrope", "Avenir Next", "Segoe UI", sans-serif;
  --nav-h: 84px;
  --wrap: 1160px;
  --gutter: clamp(16px, 3vw, 48px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: clamp(1rem, 0.35vw + 0.92rem, 1.2rem);
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  padding-left: env(safe-area-inset-left);
  padding-right: env(safe-area-inset-right);
}

body.nav-open { overflow: hidden; }

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button, input, textarea { font: inherit; color: inherit; }

::selection { background: var(--blue); color: #fff; }

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0;
  transform: translateY(-120%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1rem;
  z-index: 80;
}

.skip:focus { transform: none; }

.progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 70;
  height: 2px;
  width: 0;
  background: var(--blue);
}

.wrap {
  width: min(var(--wrap), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.marks { color: var(--blue); letter-spacing: -0.08em; font-weight: 600; }

.kicker {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.9rem;
  font-size: 0.92rem;
  font-weight: 600;
}

.kicker--light { color: rgba(246, 245, 242, 0.78); }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 0.98;
  margin: 0;
}

h1 { font-size: clamp(2.7rem, 4.4vw, 4.35rem); }
h1 span { color: var(--blue); white-space: nowrap; }
h2 { font-size: clamp(2.1rem, 3.6vw, 3.35rem); max-width: 16ch; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  border: 0;
  cursor: pointer;
  background: var(--ink);
  color: var(--paper);
  border-radius: 999px;
  padding: 0.95rem 1.2rem 0.95rem 1.35rem;
  line-height: 1;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease;
}

.btn .marks { color: #9eb6ff; }
.btn:hover { background: var(--blue); color: #fff; }
.btn:hover .marks { color: #fff; }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
}

.btn--ghost:hover { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn--small { padding: 0.72rem 0.95rem 0.72rem 1.05rem; }

.btn:focus-visible,
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(246, 245, 242, 0.92);
  backdrop-filter: blur(16px);
}

.nav.is-stuck { box-shadow: 0 1px 0 var(--line); }

.nav__bar {
  width: min(1440px, calc(100% - var(--gutter) * 2));
  margin-inline: auto;
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(0.8rem, 2vw, 1.5rem);
  padding-block: 12px;
}

.brand { display: block; width: 138px; flex: none; }
.brand img { width: 100%; height: auto; }
.brand--footer { width: 150px; }

.nav__links { display: flex; align-items: center; gap: 1.45rem; }
.nav__links a:not(.btn) { font-weight: 600; font-size: 0.96rem; }
.nav__links a:not(.btn) {
  position: relative;
}

.nav__links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.28rem;
  width: 100%;
  height: 1px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.nav__links a:not(.btn):hover::after { transform: scaleX(1); }

.nav__toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  position: relative;
}

.nav__toggle i {
  position: absolute;
  left: 11px;
  right: 11px;
  height: 1.5px;
  background: var(--ink);
}

.nav__toggle i:first-of-type { top: 18px; }
.nav__toggle i:last-of-type { top: 26px; }


.show {
  padding: clamp(1.1rem, 3vw, 1.8rem) 0 0.4rem;
}

.show__viewport {
  overflow: hidden;
}

.show.is-stopped .show__viewport {
  width: min(1280px, calc(100% - 32px));
  margin: 0 auto;
  border-radius: 22px;
}

.show__track {
  display: flex;
  gap: 18px;
  width: max-content;
  padding-inline: 24px;
}

.show__slide {
  flex: none;
  width: clamp(300px, 42vw, 560px);
  border: 0;
  padding: 0;
  background: #0a1e2f;
  cursor: pointer;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 44px rgba(10, 30, 47, 0.14);
}

.show__slide img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center;
  display: block;
}

.show.is-stopped .show__track {
  display: block;
  width: 100%;
  padding: 0;
}

.show.is-stopped .show__slide { display: none; }

.show.is-stopped .show__slide.is-focus {
  display: block;
  width: 100%;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.show.is-stopped .show__slide.is-focus img {
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #fff;
  border-radius: 22px;
  transform: none;
}

.show__kind { display: none; }

.show.is-stopped .show__slide.is-focus .show__kind {
  display: block;
  margin: 0.85rem 0.15rem 0.15rem;
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  letter-spacing: -0.03em;
  text-align: left;
}

.show__status {
  width: min(1160px, calc(100% - 48px));
  margin: 0.7rem auto 0;
  color: var(--muted);
  font-size: 0.84rem;
}

.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(3rem, 7vw, 5.5rem); }

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.9fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.lede {
  max-width: 38rem;
  margin: 1.25rem 0 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.pillars {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  list-style: none;
  margin: 1.8rem 0 0;
  padding: 1.15rem 0 0;
  border-top: 1px solid var(--line);
}

.pillars li { display: grid; gap: 0.55rem; align-content: start; }
.pillars svg { width: 30px; height: 30px; color: var(--blue); }
.pillars span { font-size: 0.92rem; font-weight: 600; letter-spacing: -0.02em; line-height: 1.3; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.7rem; }

.device { margin: 0; }

.device__lid {
  background: var(--ink);
  border-radius: 18px 18px 8px 8px;
  padding: 12px 12px 0;
  box-shadow: 0 28px 60px rgba(10, 30, 47, 0.16);
}

.device__screen {
  position: relative;
  aspect-ratio: 16 / 10.2;
  overflow: hidden;
  border-radius: 8px 8px 0 0;
  background: var(--ink);
}

.device__screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.05);
}

.device__ui {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.35rem 1.4rem 1.2rem;
  background: linear-gradient(180deg, rgba(10, 30, 47, 0.05) 20%, rgba(10, 30, 47, 0.78) 100%);
  color: var(--paper);
}

.device__brand { margin: 0 0 auto; font-weight: 700; letter-spacing: -0.04em; }
.device__line {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3vw, 2.7rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.device__pill {
  width: 72px;
  height: 8px;
  margin-top: 0.9rem;
  border-radius: 999px;
  background: var(--blue);
}

.device__base {
  height: 16px;
  margin: 0 8%;
  border-radius: 0 0 12px 12px;
  background: linear-gradient(#d7dde6, #c3cbd6);
  position: relative;
}

.device__base::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 22%;
  height: 7px;
  transform: translateX(-50%);
  background: #aeb8c6;
  border-radius: 0 0 8px 8px;
}

.section { padding: clamp(4rem, 8vw, 6.5rem) 0; scroll-margin-top: 96px; }
#kontakt { scroll-margin-top: 96px; }

.section__head { margin-bottom: clamp(1.6rem, 3vw, 2.4rem); max-width: 40rem; }
.section__intro { margin: 0.9rem 0 0; color: var(--ink-soft); }

.offers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.offer {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.4rem 1.4rem 1.5rem;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.offer:first-child {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

.offer__no {
  font-family: var(--display);
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.04em;
}

.offer h3 { font-size: clamp(1.45rem, 2vw, 1.85rem); max-width: 16ch; }
.offer p { margin: 0; color: var(--ink-soft); }
.offer:first-child p { color: rgba(246, 245, 242, 0.74); }

.manifest {
  color: var(--paper);
  padding: clamp(4.5rem, 8vw, 6.5rem) 0;
  background:
    linear-gradient(100deg, rgba(10, 30, 47, 0.92) 0%, rgba(10, 30, 47, 0.78) 58%, rgba(10, 30, 47, 0.62) 100%),
    url("/assets/img/hero-bg.jpg") center / cover no-repeat;
}

.manifest__grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
}

.manifest blockquote {
  margin: 0;
  max-width: 16ch;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.045em;
  line-height: 1;
}

.principles { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; }
.principles li {
  display: grid;
  gap: 0.25rem;
  padding: 1rem 0;
  border-top: 1px solid rgba(246, 245, 242, 0.18);
}
.principles li:last-child { border-bottom: 1px solid rgba(246, 245, 242, 0.18); }
.principles strong { font-family: var(--display); font-size: 1.25rem; letter-spacing: -0.03em; }
.principles span { color: rgba(246, 245, 242, 0.74); }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.steps li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem 1.15rem 1.35rem;
}

.steps__no { font-family: var(--display); font-weight: 700; color: var(--blue); }
.steps h3 { margin: 0.7rem 0 0.45rem; font-size: 1.45rem; }
.steps p { margin: 0; color: var(--ink-soft); }

.section--contact { padding-top: 0; }

.contact {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.5rem, 3vw, 2.2rem);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
}

.contact__copy > p { color: var(--ink-soft); max-width: 32rem; }

.contact__details { margin: 1.5rem 0 0; }
.contact__details div {
  display: grid;
  gap: 0.15rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}
.contact__details div:last-child { border-bottom: 1px solid var(--line); }
.contact__details dt { color: var(--muted); font-size: 0.86rem; }
.contact__details dd { margin: 0; }
.contact__details a {
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: -0.03em;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}
.contact__details a:hover { color: var(--blue); }

.form { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; align-content: start; }
.field { display: grid; gap: 0.35rem; }
.field:nth-child(5),
.form .btn,
.form__hint { grid-column: 1 / -1; }
.field span { font-size: 0.84rem; font-weight: 600; color: var(--muted); }

.field input,
.field textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.85rem 0.9rem;
  resize: vertical;
}

.field input:focus,
.field textarea:focus { outline: none; border-color: var(--blue); }

.form .btn { justify-self: start; }
.form__hint { margin: 0; color: var(--muted); font-size: 0.88rem; }
.form__hint--ok { color: var(--ink); font-weight: 600; }
.form__hint--bad { color: #8d2b2b; font-weight: 600; }
.form .btn:disabled { opacity: 0.6; cursor: wait; }
.hp {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.footer { padding: 0 0 1.4rem; }
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 2rem;
  padding: 1.6rem 0;
  border-top: 1px solid var(--line);
}
.footer__brand p { max-width: 26rem; margin: 0.8rem 0 0; color: var(--muted); }
.footer__nav, .footer__contact { display: grid; align-content: start; gap: 0.45rem; }
.footer__nav a:hover, .footer__contact a:hover { color: var(--blue); }
.footer__contact a { font-weight: 600; }
.footer__base {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
}
.footer__base p { margin: 0; }
.footer__base nav { display: flex; gap: 1rem; }
.footer__base a:hover { color: var(--ink); }

.legal { padding: clamp(3rem, 8vw, 5.5rem) 0 4rem; }
.legal__sheet { max-width: 740px; }
.legal h1 { font-size: clamp(2.8rem, 6vw, 4.6rem); max-width: none; margin-bottom: 1rem; }
.legal p { color: var(--ink-soft); max-width: 40rem; }
.legal a { border-bottom: 1px solid var(--blue); }
.legal dl { margin: 1.6rem 0; }
.legal dl div {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid var(--line);
}
.legal dt { color: var(--muted); }
.legal dd { margin: 0; }

.js .reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: no-preference) {
  .hero__copy > * { animation: rise 0.7s both; }
  .hero__copy > *:nth-child(2) { animation-delay: 0.06s; }
  .hero__copy > *:nth-child(3) { animation-delay: 0.12s; }
  .hero__copy > *:nth-child(4) { animation-delay: 0.18s; }
  .hero__copy > *:nth-child(5) { animation-delay: 0.24s; }
}

@keyframes rise {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (min-width: 1600px) {
  :root { --wrap: 1360px; --nav-h: 96px; }
  .show__slide { width: clamp(460px, 30vw, 680px); }
  .section { padding: clamp(5rem, 7vw, 8rem) 0; }
}

@media (min-width: 2200px) {
  :root { --wrap: 1560px; --nav-h: 108px; }
  body { font-size: clamp(1.28rem, 0.85vw, 1.75rem); }
  h1 { font-size: clamp(4.2rem, 3vw, 5.8rem); }
  h2 { font-size: clamp(3rem, 2.4vw, 4.4rem); }
  .show__slide { width: clamp(560px, 24vw, 860px); }
  .brand { width: 168px; }
  .brand--footer { width: 180px; }
}

@media (max-width: 1100px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .nav__links { gap: 1rem; }
}

@media (max-width: 860px) {
  .show__slide { width: min(78vw, 520px); }
  .show.is-stopped .show__viewport { width: calc(100% - 24px); }
  .show.is-stopped .show__slide.is-focus img { height: auto; transform: none; border-radius: 16px; }
  .show__status { width: calc(100% - 24px); }
  .hero__grid,
  .manifest__grid,
  .contact,
  .footer__grid { grid-template-columns: 1fr; }
  .device { max-width: 640px; }
}

@media (max-width: 820px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    z-index: 45;
    top: calc(var(--nav-h) + 8px);
    left: 16px;
    right: 16px;
    display: grid;
    gap: 0.25rem;
    padding: 0.8rem;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 18px 50px rgba(10, 30, 47, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
  }
  .nav__links.is-open { opacity: 1; pointer-events: auto; transform: none; }
  .nav__links a:not(.btn) { padding: 0.7rem 0.45rem; }
  .nav__links .btn { margin-top: 0.35rem; }
  .footer__base { flex-direction: column; align-items: flex-start; }
  .legal dl div { grid-template-columns: 1fr; gap: 0.15rem; }
}

@media (max-width: 700px) {
  .offers,
  .steps,
  .pillars,
  .form { grid-template-columns: 1fr; }
  .field:nth-child(5),
  .form .btn,
  .form__hint { grid-column: auto; }
  .offer { min-height: 0; }
  .field input,
  .field textarea { font-size: 16px; }
  .btn,
  .nav__toggle { min-height: 44px; }
}

@media (max-width: 640px) {
  :root { --nav-h: 72px; }
  .brand { width: 112px; }
  h1 { font-size: clamp(2.05rem, 10.2vw, 2.7rem); }
  h2 { font-size: clamp(1.85rem, 8.4vw, 2.45rem); }
  .section { padding: 3.2rem 0; }
  .hero { padding-top: 1.7rem; }
  .contact { padding: 1.15rem; border-radius: 18px; }
  .show__track { gap: 12px; padding-inline: 16px; }
  .show__slide { width: min(86vw, 460px); border-radius: 14px; }
  .device__line { font-size: 1.65rem; }
  .device__ui { padding: 1rem; }
  .manifest blockquote { max-width: 14ch; }
}

@media (max-width: 380px) {
  h1 span { white-space: normal; }
  .nav__links { left: 12px; right: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal,
  .btn,
  .show__track, .show__viewport, .show__slide img { transition: none; }
}
