/* ═══════════════════════════════════════════════════════════
   Roam. landing page
   Štýl podľa Webcoria (w2): Inter, tmavý základ, sklenená navigácia,
   tlačidlá s materiálom, karty so svetlou hranou. Paleta Roam.
   ═══════════════════════════════════════════════════════════ */

/* ─── Reset ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  /* paleta Roam */
  --ink: #0A0A0A;
  --paper: #FFFFFF;
  --graphite: #1C1C1E;
  --smoke: #8E8E93;
  --mist: #F2F2F4;
  --signal: #3D5AFE;
  --signal-hi: #5C76FF;   /* text a akcenty na čiernej, lepší kontrast */
  --signal-lo: #2F4BEA;

  /* odvodené */
  --text: #F2F2F4;
  --text-2: #A1A1A6;
  --text-3: #8E8E93;
  --surface: #111113;
  --border: rgba(255, 255, 255, 0.08);
  --border-2: rgba(255, 255, 255, 0.14);

  --radius-pill: 100px;
  --radius-sm: 12px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --max-width: 1200px;
  --gutter: 48px;
  --nav-height: 64px;
  --nav-top: 16px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
  background: var(--ink);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  overflow-x: clip;
}

body {
  font-family: var(--font);
  font-optical-sizing: auto;
  background: var(--ink);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

/* jemné zrno, tmavé plochy nepôsobia digitálne ploché */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 2000;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  opacity: 0.04;
  pointer-events: none;
}

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

ul,
ol {
  list-style: none;
}

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

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

section {
  position: relative;
  scroll-margin-top: calc(var(--nav-height) + var(--nav-top));
}

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

:focus-visible {
  outline: 2px solid var(--signal-hi);
  outline-offset: 3px;
  border-radius: 6px;
}

.blue :focus-visible {
  outline-color: #fff;
}

.sr-only,
.hp {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  max-width: calc(var(--max-width) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* ─── Logo (reálne, z dodaného súboru) ─── */
.logo {
  display: inline-flex;
  flex-shrink: 0;
}

.logo img {
  display: block;
  width: auto;
  height: 24px;
}

.logo--lg img {
  height: 32px;
}

/* ─── Nadpisy ─── */
.tag {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 6px 13px;
  border-radius: var(--radius-pill);
  background: rgba(61, 90, 254, 0.16);
  box-shadow: inset 0 0 0 1px rgba(92, 118, 255, 0.4);
  font-size: 13px;
  font-weight: 600;
  color: #c7d0ff;
}

.h-title {
  font-size: clamp(34px, 4.8vw, 60px);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.045em;
  color: var(--text);
  text-wrap: balance;
}

.h-title em,
.hero__title em {
  font-style: normal;
  color: var(--signal-hi);
}

.blue .h-title,
.blue .h-title em {
  color: #fff;
}

.blue .h-title em {
  color: var(--ink);
}

/* bodka na konci nadpisu ako v logu (text „.“ ostáva kvôli prekladu a čítačkám) */
.h-title i,
.wl__done h3 i {
  display: inline-block;
  width: 0.19em;
  height: 0.19em;
  margin-left: 0.05em;
  border-radius: 50%;
  background: var(--signal);
  color: transparent;
  overflow: hidden;
  vertical-align: baseline;
  font-style: normal;
  line-height: 0;
}

.blue .h-title i {
  background: var(--ink);
}

.head {
  margin-bottom: 56px;
}

.head--center {
  text-align: center;
}

.head--center .h-title,
.head--center .lead {
  margin-inline: auto;
}

.head--center .h-title {
  max-width: 15em;
}

.lead {
  max-width: 34em;
  margin-top: 20px;
  font-size: clamp(16.5px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--text-2);
  text-wrap: pretty;
}

.blue .lead {
  color: rgba(255, 255, 255, 0.9);
}

/* ─── Tlačidlá ─── */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 26px;
  border: 0;
  border-radius: var(--radius-pill);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.22s var(--ease), box-shadow 0.22s var(--ease), background 0.22s var(--ease),
              border-color 0.22s var(--ease), color 0.22s var(--ease), filter 0.22s var(--ease), opacity 0.22s var(--ease);
}

.btn:active {
  transform: scale(0.97);
  transition-duration: 0.1s;
}

.btn--sm {
  min-height: 40px;
  padding: 0 20px;
  font-size: 13.5px;
}

.btn--lg {
  min-height: 56px;
  padding: 0 34px;
  font-size: 15.5px;
}

/* modrá so svetlou hornou hranou */
.btn--primary {
  color: #fff;
  background: linear-gradient(180deg, #5670FF 0%, #3D5AFE 54%, #3450F0 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.32),
    inset 0 -1px 0 rgba(5, 15, 90, 0.3),
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 12px 28px -12px rgba(61, 90, 254, 0.85);
}

.btn--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
  box-shadow: inset 0 0 0 1px var(--border-2), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.btn--light {
  color: var(--ink);
  background: linear-gradient(180deg, #fff 0%, #F2F2F4 100%);
  box-shadow: inset 0 -1px 0 rgba(10, 10, 10, 0.08), 0 12px 26px -14px rgba(5, 10, 60, 0.6);
}

.btn--ink {
  color: #fff;
  background: linear-gradient(180deg, #1f1f22 0%, var(--ink) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 14px 30px -14px rgba(5, 10, 60, 0.7);
}

.btn--text {
  min-height: 48px;
  padding: 0 12px;
  background: transparent;
  color: var(--text-2);
}

.blue .btn--text {
  color: #fff;
}

.btn--text svg {
  width: 16px;
  height: 16px;
  transition: transform 0.28s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .btn--primary:hover {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.36),
      inset 0 -1px 0 rgba(5, 15, 90, 0.3),
      0 1px 2px rgba(0, 0, 0, 0.5),
      0 18px 36px -14px rgba(61, 90, 254, 0.95);
  }

  .btn--ghost:hover {
    background: rgba(255, 255, 255, 0.07);
    box-shadow: inset 0 0 0 1px rgba(92, 118, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: translateY(-1px);
  }

  .btn--light:hover,
  .btn--ink:hover {
    transform: translateY(-1px);
    filter: brightness(1.06);
  }

  .btn--light:hover {
    filter: brightness(0.97);
  }

  .btn--text:hover {
    color: #fff;
  }

  .btn--text:hover svg {
    transform: translateX(5px);
  }

  .btn:active {
    transform: scale(0.97);
  }
}

/* odosielanie */
.btn.is-loading {
  pointer-events: none;
}

.btn.is-loading > span {
  opacity: 0;
}

.btn.is-loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 18px;
  margin: -9px 0 0 -9px;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ─── Karta so svetlou hranou hore (ako sklo alebo kov) ─── */
.card {
  position: relative;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #161618 0%, #0f0f10 70%);
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16) 0%, rgba(255, 255, 255, 0.05) 40%, rgba(255, 255, 255, 0.02) 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0);
  pointer-events: none;
  transition: background 0.4s var(--ease);
}

@media (hover: hover) and (pointer: fine) {
  .card:hover::before {
    background: linear-gradient(180deg, rgba(92, 118, 255, 0.6) 0%, rgba(92, 118, 255, 0.16) 45%, rgba(255, 255, 255, 0.03) 100%);
  }
}

/* zoznam s fajkami */
.ticks {
  display: grid;
  gap: 12px;
}

.ticks li {
  position: relative;
  padding-left: 34px;
  font-size: 16.5px;
  font-weight: 500;
  line-height: 1.45;
}

.ticks li::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 23px;
  height: 23px;
  border-radius: 50%;
  background: var(--signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 8.5 2.5 2.5 5.5-6'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.blue .ticks li::before {
  background-color: var(--ink);
}

/* overené (modrá fajka) */
.ok {
  display: inline-block;
  flex-shrink: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 8.5 2.5 2.5 5.5-6'/%3E%3C/svg%3E") center / 10px no-repeat;
}

/* dekoratívne tvary */
.shape {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
}

.shape--ink {
  background: var(--ink);
}

.shape--ring {
  border: 1.5px solid rgba(255, 255, 255, 0.32);
}

/* ─── Reveal ─── */
.reveal {
  opacity: 0;
  transform: translateY(26px) scale(0.99);
  filter: blur(5px);
  transition: opacity 0.85s var(--ease-out), transform 0.85s var(--ease-out), filter 0.85s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: none;
  filter: blur(0);
}

.head.reveal {
  filter: none;
}

/* nadpisy vychádzajú po riadkoch spod neviditeľnej masky */
.tw {
  display: inline-block;
  clip-path: inset(-0.6em -0.4em -0.16em -0.4em);
}

.tw__i {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 1s var(--ease-out) var(--d, 0ms);
}

.tw-title.is-in .tw__i {
  transform: none;
}

.tw-title.is-done .tw {
  clip-path: none;
}

/* ═══ Navigácia ═══ */
.nav {
  position: fixed;
  top: var(--nav-top);
  left: 50%;
  z-index: 200;
  width: calc(100% - (var(--gutter) - 20px) * 2);
  max-width: calc(var(--max-width) + 40px);
  height: var(--nav-height);
  transform: translateX(-50%);
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease),
              -webkit-backdrop-filter 0.35s var(--ease), backdrop-filter 0.35s var(--ease);
}

.nav.scrolled {
  background: rgba(18, 18, 20, 0.62);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 14px 48px rgba(0, 0, 0, 0.5);
}

.nav__inner {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 10px 0 20px;
}

.nav .logo {
  margin-right: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2px;
  margin-right: 18px;
}

.nav__links a {
  position: relative;
  display: inline-flex;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  font-size: 13.5px;
  font-weight: 500;
  color: #c7c7cc;
  isolation: isolate;
  transition: color 0.22s var(--ease);
}

.nav__links a::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: rgba(255, 255, 255, 0.06);
  transform: scale(0.72);
  opacity: 0;
  transition: transform 0.28s var(--ease), opacity 0.28s var(--ease);
}

.nav__links a:hover,
.nav__links a.is-active {
  color: #fff;
}

.nav__links a:hover::before,
.nav__links a.is-active::before {
  transform: scale(1);
  opacity: 1;
}

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  margin-left: 6px;
  background: none;
  border: 0;
  cursor: pointer;
}

.nav__burger span {
  display: block;
  width: 20px;
  height: 1.6px;
  border-radius: 2px;
  background: #d1d1d6;
  transition: transform 0.28s var(--ease), opacity 0.28s ease;
}

.nav__burger.is-active span:nth-child(1) { transform: translateY(6.6px) rotate(45deg); }
.nav__burger.is-active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav__burger.is-active span:nth-child(3) { transform: translateY(-6.6px) rotate(-45deg); }

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 190;
  height: 100vh;
  height: 100lvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.32s var(--ease);
}

.mobile-menu.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  transform: translateY(18px);
  transition: transform 0.38s var(--ease) 0.04s;
}

.mobile-menu.is-open .mobile-menu__inner {
  transform: none;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.mobile-menu__link {
  padding: 8px 24px;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -0.035em;
  color: #c7c7cc;
}

.mobile-menu__link:active {
  color: var(--signal-hi);
}

/* ═══ Hero ═══ */
.hero {
  display: flex;
  align-items: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-height) + var(--nav-top) + 48px) 0 260px;
  overflow: hidden;
  isolation: isolate;
}

/* pozadie: modrý polkruh ako horizont, mizne do čiernej */
.hero__bg {
  --apex: calc(100% - 230px);
  --arc-w: max(2600px, 190vw);
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  /* spodok sa rozplynie do čiernej, oblúk nikde neodsekne */
  -webkit-mask-image: linear-gradient(180deg, #000 calc(100% - 210px), transparent 100%);
  mask-image: linear-gradient(180deg, #000 calc(100% - 210px), transparent 100%);
}

.hero__arc,
.hero__glow {
  position: absolute;
  left: 50%;
  animation: arcIn 1.6s var(--ease-out) 0.1s both;
}

/* obrovský kruh, z ktorého vidno len vrchný oblúk */
.hero__arc {
  top: var(--apex);
  width: var(--arc-w);
  aspect-ratio: 1;
  border-radius: 50%;
  background: linear-gradient(180deg,
    rgba(61, 90, 254, 0.6) 0%,
    rgba(61, 90, 254, 0.26) 1.2%,
    rgba(47, 75, 234, 0.09) 3%,
    rgba(10, 10, 10, 0) 5.2%);
  box-shadow: inset 0 2px 0 rgba(150, 168, 255, 0.95);
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(90deg, transparent 26%, #000 44%, #000 56%, transparent 74%);
  mask-image: linear-gradient(90deg, transparent 26%, #000 44%, #000 56%, transparent 74%);
}

/* jemný biely lesk len v strede hrany */
.hero__arc::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
  -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 48%, #000 52%, transparent 60%);
  mask-image: linear-gradient(90deg, transparent 40%, #000 48%, #000 52%, transparent 60%);
}

/* žiara nad oblúkom: prstenec, ktorý kopíruje krivku a rozplynie sa do čiernej */
.hero__glow {
  top: calc(var(--apex) - 320px);
  width: calc(var(--arc-w) + 640px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle closest-side,
    transparent calc(100% - 321px),
    rgba(61, 90, 254, 0.4) calc(100% - 320px),
    rgba(61, 90, 254, 0.15) calc(100% - 210px),
    rgba(61, 90, 254, 0.05) calc(100% - 100px),
    transparent 100%);
  transform: translateX(-50%);
  -webkit-mask-image: linear-gradient(90deg, transparent 24%, #000 42%, #000 58%, transparent 76%);
  mask-image: linear-gradient(90deg, transparent 24%, #000 42%, #000 58%, transparent 76%);
}

@keyframes arcIn {
  from { opacity: 0; translate: 0 60px; }
  to { opacity: 1; translate: 0 0; }
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 48px;
  width: 100%;
}

/* spojenie značiek: reálne logá Roam a Webcoria */
.collab {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  transition: opacity 0.25s var(--ease);
}

.collab__roam {
  width: auto;
  height: 30px;
}

.collab__x {
  font-size: 38px;
  font-weight: 300;
  line-height: 1;
  color: rgba(255, 255, 255, 0.75);
}

.collab__wc {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 29px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  color: #fff;
}

.collab__wc img {
  width: auto;
  height: 30px;
}

@media (hover: hover) and (pointer: fine) {
  .collab:hover {
    opacity: 0.8;
  }
}

.hero__title {
  margin-top: 40px;
  font-size: clamp(44px, 6.6vw, 92px);
  font-weight: 750;
  line-height: 0.98;
  letter-spacing: -0.05em;
}

.hero__sub {
  max-width: 30em;
  margin-top: 28px;
  font-size: clamp(16.5px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--text-2);
  text-wrap: pretty;
}

.hero__form {
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 500px;
  margin-top: 40px;
  padding: 6px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--border-2);
  transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.hero__form:focus-within {
  background: rgba(255, 255, 255, 0.07);
  box-shadow: inset 0 0 0 1px var(--signal-hi), 0 0 0 4px rgba(61, 90, 254, 0.22);
}

.hero__form.is-invalid {
  box-shadow: inset 0 0 0 1px #FF6B6B, 0 0 0 4px rgba(255, 107, 107, 0.15);
}

.hero__field {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.hero__mail {
  position: absolute;
  left: 18px;
  width: 20px;
  height: 20px;
  color: var(--text-2);
  pointer-events: none;
}

.hero__input {
  flex: 1;
  min-width: 0;
  height: 48px;
  padding: 0 16px 0 48px;
  border: 0;
  background: transparent;
  font-size: 15.5px;
  color: #fff;
  outline: none;
}

.hero__input::placeholder {
  color: #a1a1a6;
}

.hero__form.is-done {
  display: none;
}

.hero__note {
  margin-top: 16px;
  padding-left: 4px;
  font-size: 13.5px;
  color: var(--text-3);
}

.form-msg {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
}

.form-msg:empty {
  display: none;
}

.form-msg.is-err {
  color: #FF8A8A;
}

.form-msg.is-ok {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 34px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  background: rgba(61, 90, 254, 0.14);
  box-shadow: inset 0 0 0 1px rgba(92, 118, 255, 0.45);
  color: #fff;
}

.form-msg.is-ok::before {
  content: '';
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 8.5 2.5 2.5 5.5-6'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.form-msg.is-ok + .hero__note {
  display: none;
}

/* telefón stojí na veľkej modrej bodke z loga */
.hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  height: 640px;
}

.phone {
  position: relative;
  z-index: 2;
  width: 292px;
  height: 600px;
  padding: 9px;
  border-radius: 48px;
  background: linear-gradient(160deg, #2a2a2e 0%, #0d0d0f 40%, #18181b 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.16),
    0 40px 80px -30px rgba(0, 0, 0, 0.7);
  animation: phoneIn 1s var(--ease-out) 0.1s both;
}

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

.phone__screen {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 12px 14px 0;
  overflow: hidden;
  border-radius: 39px;
  background: var(--mist);
  color: var(--ink);
  line-height: 1.3;
}

.app__status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2px 10px 6px;
  font-size: 12px;
}

.app__icons {
  display: flex;
  gap: 4px;
}

.app__icons i {
  width: 14px;
  height: 8px;
  border-radius: 2px;
  background: var(--ink);
}

.app__icons i:first-child {
  width: 10px;
}

.app__icons i:last-child {
  width: 18px;
}

.app__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 8px 2px 12px;
}

.app__logo {
  width: auto;
  height: 18px;
}

.app__me {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--signal);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
}

.app__hello {
  margin: 0 2px 10px;
  font-size: 23px;
  font-weight: 750;
  letter-spacing: -0.035em;
}

.app__search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff;
  color: var(--smoke);
  font-size: 12.5px;
}

.app__search svg {
  width: 14px;
  height: 14px;
}

.app__chips {
  display: flex;
  gap: 6px;
  margin: 10px 0 12px;
}

.app__chips span {
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: #fff;
  font-size: 11.5px;
  font-weight: 600;
  color: #3a3a3c;
}

.app__chips .is-on {
  background: var(--ink);
  color: #fff;
}

.app__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.lst {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 15px;
  background: #fff;
}

.lst__thumb {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: var(--c);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.lst__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.lst__body b {
  overflow: hidden;
  font-size: 12.5px;
  font-weight: 650;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.lst__body small {
  overflow: hidden;
  font-size: 10.5px;
  color: var(--smoke);
  white-space: nowrap;
  text-overflow: ellipsis;
}

.lst__stamp {
  flex-shrink: 0;
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  background: rgba(61, 90, 254, 0.12);
  font-size: 11px;
  font-weight: 750;
  color: var(--signal);
}

.lst__rate {
  flex-shrink: 0;
  font-size: 11.5px;
  font-weight: 700;
}

.lst__rate::before {
  content: '★ ';
  color: var(--signal);
}

.app__tabs {
  display: flex;
  justify-content: space-around;
  align-items: center;
  height: 58px;
  margin: auto -14px 0;
  padding-bottom: 6px;
  background: #fff;
  border-top: 1px solid #e5e5ea;
}

.app__tabs span {
  width: 20px;
  height: 20px;
  border-radius: 7px;
  background: #d1d1d6;
}

.app__tabs .is-on {
  background: var(--signal);
}

/* ═══ Promo video ═══ */
.film {
  padding: 0 0 130px;
}

.film__head,
.film__frame {
  max-width: 1040px;
  margin-inline: auto;
}

.film__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

.film__len {
  flex-shrink: 0;
  padding: 7px 14px;
  border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 1px var(--border-2);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
}

.film__frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border-radius: 28px;
  background: #000;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), 0 60px 120px -60px rgba(61, 90, 254, 0.45);
}

.film__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #000;
}

.film__play {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border: 0;
  background: rgba(10, 10, 10, 0.25);
  color: #fff;
  cursor: pointer;
  transition: opacity 0.35s var(--ease), background 0.35s var(--ease);
}

.film__icon {
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--signal);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 20px 50px -16px rgba(61, 90, 254, 0.9);
  transition: transform 0.35s var(--ease-out);
}

.film__icon svg {
  width: 34px;
  height: 34px;
  margin-left: 4px;
}

.film__label {
  font-size: 15px;
  font-weight: 600;
}

@media (hover: hover) and (pointer: fine) {
  .film__play:hover {
    background: rgba(10, 10, 10, 0.12);
  }

  .film__play:hover .film__icon {
    transform: scale(1.06);
  }
}

.film__frame.is-playing .film__play {
  opacity: 0;
  pointer-events: none;
}

/* ═══ Modré sekcie ═══ */
.blue {
  overflow: hidden;
  background: var(--signal);
  color: #fff;
}

.blue > .container {
  position: relative;
  z-index: 1;
}

/* ═══ Marketplace ═══ */
.market {
  padding: 130px 0;
}

.market__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}

.market .head {
  margin-bottom: 34px;
}

.market .ticks {
  margin-bottom: 38px;
}

.market__visual {
  position: relative;
  height: 540px;
}

.mcard {
  position: absolute;
  width: 310px;
  padding: 18px;
  border-radius: 22px;
  background: #fff;
  color: var(--ink);
  line-height: 1.35;
  box-shadow: 0 34px 70px -24px rgba(5, 10, 70, 0.55);
}

.mcard--a {
  top: 170px;
  left: 0;
  z-index: 2;
  transform: rotate(-4deg);
}

.mcard--b {
  top: 0;
  right: 0;
  z-index: 1;
  transform: rotate(4deg);
}

.mcard--c {
  right: 6%;
  bottom: 0;
  z-index: 3;
  transform: rotate(2deg);
}

.mcard__img {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 14px;
  border-radius: 13px;
  background: var(--c);
  color: #fff;
  font-size: 15px;
  font-weight: 750;
}

.mcard__tag {
  position: absolute;
  top: 18px;
  right: 18px;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--signal);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
}

.mcard b {
  display: block;
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.mcard small {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 4px;
  font-size: 12.5px;
  color: #6e6e73;
}

.mcard__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 16px;
}

.mcard__open {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
}

.mcard__open::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--signal);
}

.mcard__btn {
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.sent {
  position: absolute;
  left: 2%;
  bottom: 40px;
  z-index: 4;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px 11px 12px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #fff;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 20px 40px -16px rgba(5, 10, 70, 0.7);
}

.sent svg {
  width: 22px;
  height: 22px;
  padding: 4px;
  border-radius: 50%;
  background: var(--signal);
}

/* ═══ Vernostný program ═══ */
.loyal {
  padding: 150px 0 110px;
  overflow: hidden;
}

.loyal__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 80px;
}

.loyal .head {
  margin-bottom: 28px;
}

.loyal__visual {
  position: relative;
  display: grid;
  place-items: center;
  height: 640px;
}

.loyal__dot {
  position: absolute;
  top: 50%;
  left: 42%;
  width: 480px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--signal);
  transform: translate(-50%, -50%);
}

.phone--loyal {
  animation: none;
}

.stampcard {
  display: block;
  margin-top: 6px;
  padding: 16px;
  border-radius: 20px;
  background: var(--ink);
  color: #fff;
}

.stampcard__top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.stampcard__top > span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.stampcard__top b {
  font-size: 14px;
}

.stampcard__top small {
  font-size: 11px;
  color: var(--text-2);
}

.stampcard__logo {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--signal);
  font-size: 11px;
  font-weight: 750;
}

.stamps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin: 18px 0 14px;
}

.stamps i {
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1.5px dashed rgba(255, 255, 255, 0.25);
}

.stamps .on {
  border: 0;
  background: var(--signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 8.5 2.5 2.5 5.5-6'/%3E%3C/svg%3E") center / 55% no-repeat;
}

.stamps .gift {
  border-style: solid;
  border-color: var(--signal-hi);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235C76FF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 11h16v9H4zM3 7h18v4H3zM12 7v13M12 7c-1.5-3-5-3-5-1s3 1 5 1c2 0 5 1 5-1s-3.5-2-5 1'/%3E%3C/svg%3E") center / 55% no-repeat;
}

.stampcard__left {
  display: block;
  font-size: 12px;
  color: var(--text-2);
}

.scan {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
  padding: 14px;
  border-radius: 20px;
  background: #fff;
}

.scan__qr {
  flex-shrink: 0;
  width: 78px;
  height: 78px;
  color: var(--ink);
}

.scan__text {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.scan__text b {
  font-size: 13.5px;
}

.scan__text small {
  font-size: 11.5px;
  color: #6e6e73;
}

.scanned {
  position: absolute;
  top: 20%;
  right: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px 12px 12px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 24px 50px -20px rgba(0, 0, 0, 0.7);
}

.scanned svg {
  width: 34px;
  height: 34px;
  padding: 8px;
  border-radius: 50%;
  background: var(--signal);
  color: #fff;
}

.scanned > span {
  display: flex;
  flex-direction: column;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

.scanned small {
  font-size: 12px;
  font-weight: 500;
  color: #6e6e73;
}

.loyal__list {
  display: grid;
  gap: 12px;
  margin-bottom: 36px;
}

.loyal__list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 20px;
  border-radius: 20px;
  background: linear-gradient(180deg, #161618 0%, #111113 100%);
  box-shadow: inset 0 0 0 1px var(--border), inset 0 1px 0 rgba(255, 255, 255, 0.06);
  text-align: left;
  transition: box-shadow 0.35s var(--ease), transform 0.35s var(--ease-out);
}

@media (hover: hover) and (pointer: fine) {
  .loyal__list li:hover {
    box-shadow: inset 0 0 0 1px rgba(92, 118, 255, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    transform: translateX(4px);
  }
}

.loyal__ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(180deg, #5670FF 0%, var(--signal) 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 10px 24px -10px rgba(61, 90, 254, 0.8);
  color: #fff;
}

.loyal__ico svg {
  width: 22px;
  height: 22px;
}

.loyal__txt {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 2px;
}

.loyal__txt b {
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.loyal__txt > span {
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--text-2);
}

.lastvisit {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
  padding: 12px 14px;
  border-radius: 18px;
  background: #18181b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.lastvisit__ico {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(61, 90, 254, 0.18);
  color: var(--signal-hi);
}

.lastvisit__ico svg {
  width: 18px;
  height: 18px;
}

.lastvisit__txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.35;
}

.lastvisit__txt b {
  font-size: 13px;
}

.lastvisit__txt small {
  overflow: hidden;
  font-size: 11px;
  color: var(--text-2);
  white-space: nowrap;
  text-overflow: ellipsis;
}

/* tmavá appka ako vo videu (hero aj vernostná sekcia) */
.phone--dark .app__search {
  background: #18181b;
  color: var(--text-3);
}

.phone--dark .app__chips span {
  background: #18181b;
  color: #d1d1d6;
}

.phone--dark .app__chips .is-on {
  background: #fff;
  color: var(--ink);
}

.phone--dark .lst {
  background: #18181b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.phone--dark .lst__body small {
  color: var(--text-2);
}

.phone--dark .lst__thumb {
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.phone--dark .lst__stamp {
  background: rgba(61, 90, 254, 0.22);
  color: #c7d0ff;
}

.phone--dark .phone__screen {
  background: #0c0c0e;
  color: #fff;
}

.phone--dark .app__icons i {
  background: #fff;
}

.phone--dark .stampcard {
  background:
    radial-gradient(120% 90% at 100% 0%, rgba(61, 90, 254, 0.5) 0%, transparent 55%),
    #18181b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), 0 18px 40px -20px rgba(61, 90, 254, 0.6);
}

.phone--dark .stamps .on {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230A0A0A' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 8.5 2.5 2.5 5.5-6'/%3E%3C/svg%3E") center / 52% no-repeat;
}

.stampcard__bar {
  display: block;
  height: 4px;
  margin-top: 10px;
  overflow: hidden;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.1);
}

.stampcard__bar i {
  display: block;
  width: 70%;
  height: 100%;
  border-radius: inherit;
  background: var(--signal-hi);
}

.phone--dark .scan {
  background: #18181b;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.phone--dark .scan__qr {
  width: 84px;
  height: 84px;
  padding: 7px;
  border-radius: 12px;
  background: #fff;
}

.phone--dark .scan__text small {
  color: var(--text-2);
}

.phone--dark .app__tabs {
  background: #111113;
  border-top-color: rgba(255, 255, 255, 0.06);
}

.phone--dark .app__tabs span {
  background: #2c2c2e;
}

.phone--dark .app__tabs .is-on {
  background: var(--signal);
}

/* ═══ Funkcie (bento) — skutočné obrazovky z appky ═══ */
.features {
  padding: 110px 0 120px;
}

.bento {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 26px;
  min-height: 300px;
  padding: 30px;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.tile--wide {
  grid-column: span 2;
}

.tile--full {
  grid-column: 1 / -1;
}

.tile h3 {
  margin-bottom: 8px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.tile p {
  max-width: 30em;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-2);
}

/* screenshot vyteká do pravého dolného rohu karty */
.tile--shot {
  padding-bottom: 0;
}

.shot {
  position: relative;
  flex: 1;
  min-height: 330px;
  margin: 0 -30px 0 0;
  overflow: hidden;
}

.shot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-right: 0;
  border-bottom: 0;
  border-radius: 14px 0 0 0;
}

.shot::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 38%;
  background: linear-gradient(180deg, rgba(15, 15, 16, 0), #0f0f10);
  pointer-events: none;
}

/* telefón s pripomienkou: čierne pozadie záberu splynie s kartou */
.shot--phone {
  display: flex;
  justify-content: center;
  margin: 0;
}

.shot--phone img {
  position: relative;
  inset: auto;
  align-self: flex-start;
  width: min(250px, 82%);
  height: auto;
  border: 0;
  border-radius: 0;
  mix-blend-mode: lighten;
}

/* zvýraznenie: skutočné firmy v rebríčku */
.tile--blue {
  justify-content: space-between;
  background: var(--signal);
}

.tile--blue p {
  color: rgba(255, 255, 255, 0.9);
}

.boost {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.boost__row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 16px;
  background: #fff;
  color: var(--ink);
  opacity: 0.55;
}

.boost__row--top {
  opacity: 1;
  box-shadow: 0 20px 40px -18px rgba(5, 10, 70, 0.6);
}

.boost__thumb {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--c);
  color: #fff;
  font-size: 11.5px;
  font-weight: 750;
}

.boost__name {
  display: flex;
  flex-direction: column;
  min-width: 0;
  line-height: 1.3;
}

.boost__name b {
  overflow: hidden;
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.boost__name small {
  font-size: 12px;
  color: #6e6e73;
}

.boost__tag {
  margin-left: auto;
  padding: 5px 11px;
  border-radius: var(--radius-pill);
  background: var(--signal);
  color: #fff;
  font-size: 11.5px;
  font-weight: 700;
}

/* Roam sieť: mapa z videa cez celú šírku */
.tile--map {
  justify-content: flex-end;
  min-height: 400px;
  padding: 40px;
  background: #050507;
  box-shadow: inset 0 0 0 1px var(--border);
}

.tile__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 45%;
}

.tile--map::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 5, 7, 0.95) 0%, rgba(5, 5, 7, 0.55) 38%, rgba(5, 5, 7, 0) 68%);
  pointer-events: none;
}

.tile--map .tile__text {
  position: relative;
  z-index: 1;
}

.tile--map .tag {
  margin-bottom: 16px;
}

.tile--map h3 {
  font-size: clamp(30px, 3.4vw, 44px);
  letter-spacing: -0.045em;
}

.tile--map p {
  font-size: 16.5px;
}

/* ═══ Plány ═══ */
.plans {
  padding: 120px 0 130px;
}

.plans .head {
  margin-bottom: 36px;
}

.billing {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: fit-content;
  margin: 0 auto 48px;
  padding: 4px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: inset 0 0 0 1px var(--border-2);
}

.billing__thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: var(--radius-pill);
  background: var(--signal);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 6px 16px -6px rgba(61, 90, 254, 0.8);
  transition: transform 0.42s cubic-bezier(0.32, 0.72, 0, 1);
}

.billing[data-mode="y"] .billing__thumb {
  transform: translateX(100%);
}

.billing__opt {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-pill);
  background: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  cursor: pointer;
  transition: color 0.3s var(--ease);
}

.billing__opt[aria-pressed="true"] {
  color: #fff;
}

.billing__save {
  padding: 2px 7px;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.14);
  font-size: 11.5px;
  font-weight: 700;
}

.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: 20px;
}

.plan {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 34px 30px 32px;
  border-radius: 28px;
}

.plan--featured {
  background: var(--signal);
  color: #fff;
}

.plan__badge {
  position: absolute;
  top: 26px;
  right: 26px;
  padding: 5px 12px;
  border-radius: var(--radius-pill);
  background: var(--ink);
  color: #fff;
  font-size: 11.5px;
  font-weight: 650;
}

.plan__badge--wc {
  background: rgba(61, 90, 254, 0.16);
  box-shadow: inset 0 0 0 1px rgba(92, 118, 255, 0.45);
  color: #c7d0ff;
}

.plan__name {
  font-size: 21px;
  font-weight: 750;
  letter-spacing: -0.03em;
}

.plan__desc {
  margin-top: 6px;
  font-size: 14.5px;
  color: var(--text-2);
}

.plan--featured .plan__desc,
.plan--featured .plan__bill,
.plan--featured .plan__per {
  color: rgba(255, 255, 255, 0.88);
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 28px;
}

.plan__amount {
  font-size: 54px;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.1;
}

.plan__per {
  font-size: 15px;
  color: var(--text-2);
}

.plan__bill {
  min-height: 21px;
  margin-top: 4px;
  font-size: 13.5px;
  color: var(--text-3);
}

.plan__btn {
  width: 100%;
  margin: 24px 0 26px;
}

.plan__list {
  display: grid;
  gap: 4px;
  padding-top: 22px;
  border-top: 1px solid var(--border);
}

.plan--featured .plan__list {
  border-top-color: rgba(255, 255, 255, 0.22);
}

.plan__list li {
  position: relative;
  padding: 6px 0 6px 30px;
  font-size: 14.5px;
  line-height: 1.45;
}

.plan__list li b {
  font-weight: 700;
  color: #c7d0ff;
}

.plan--featured .plan__list li b {
  color: #fff;
}

.plan__list li::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 0;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: rgba(61, 90, 254, 0.2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%235C76FF' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 8.5 2.5 2.5 5.5-6'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.plan--featured .plan__list li::before {
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%233D5AFE' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 8.5 2.5 2.5 5.5-6'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* cena ako počítadlo: číslice sa odvalia */
.odo {
  display: inline-flex;
  height: 1.1em;
  overflow: hidden;
}

.odo__d {
  display: inline-block;
  height: 1.1em;
  overflow: hidden;
}

.odo__s {
  display: flex;
  flex-direction: column;
  transition: transform 0.75s var(--ease-out);
}

.odo__s span,
.odo__c {
  display: block;
  height: 1.1em;
  white-space: pre;
}

.odo--instant .odo__s {
  transition: none;
}

/* porovnanie */
.compare {
  max-width: 900px;
  margin: 44px auto 0;
}

.compare__toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0 auto;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  box-shadow: inset 0 0 0 1px var(--border-2);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-2);
  list-style: none;
  cursor: pointer;
  transition: color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.compare__toggle::-webkit-details-marker {
  display: none;
}

.compare__toggle svg {
  width: 16px;
  height: 16px;
  transition: transform 0.35s var(--ease-out);
}

.compare[open] .compare__toggle svg {
  transform: rotate(180deg);
}

@media (hover: hover) and (pointer: fine) {
  .compare__toggle:hover {
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(92, 118, 255, 0.55);
  }
}

.compare__wrap {
  margin-top: 28px;
  overflow-x: auto;
}

.compare__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14.5px;
}

.compare__table th,
.compare__table td {
  padding: 15px 12px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.compare__table thead th {
  font-size: 15px;
  font-weight: 700;
}

.compare__table th[scope="row"] {
  text-align: left;
  font-weight: 500;
  color: var(--text-2);
}

.compare__table td:nth-child(3),
.compare__table th:nth-child(3) {
  background: rgba(61, 90, 254, 0.08);
}

.compare__table td {
  color: #e5e5ea;
}

.y,
.n {
  display: inline-block;
  width: 22px;
  height: 22px;
  overflow: hidden;
  font-size: 0;
  vertical-align: middle;
  border-radius: 50%;
}

.y {
  background: var(--signal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m4 8.5 2.5 2.5 5.5-6'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.n {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%238E8E93' stroke-width='1.8' stroke-linecap='round'%3E%3Cpath d='M5 8h6'/%3E%3C/svg%3E") center / 16px no-repeat;
}

/* ═══ Roam × Webcoria ═══ */
.wc {
  padding: 110px 0 130px;
}

.lockup {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 52px;
}

.lockup__x {
  font-size: 30px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.75);
}

.lockup__wc {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: -0.035em;
}

.lockup__roam {
  width: auto;
  height: 40px;
}

.lockup__w {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--ink);
}

.lockup__w img {
  width: 36px;
  height: auto;
}

.wc__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: 64px;
}

.wc .head {
  margin-bottom: 32px;
}

.wc__points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 34px;
}

.wc__points li {
  padding: 18px 18px 20px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.wc__points b {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.wc__points span {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
}

.wc__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.wc__visual {
  position: relative;
  aspect-ratio: 1.12 / 1;
}

.win {
  position: absolute;
  overflow: hidden;
  border-radius: 14px;
  background: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18), 0 40px 80px -28px rgba(5, 10, 70, 0.7);
}

.win__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  background: #161618;
}

.win__bar i {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.22);
}

.win__url {
  margin-left: 10px;
  padding: 3px 12px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.07);
  font-size: 11px;
  color: var(--text-2);
}

.win img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.win--back {
  top: 0;
  right: 0;
  width: 60%;
  opacity: 0.75;
}

.win--mid {
  top: 16%;
  left: 0;
  width: 64%;
  z-index: 1;
}

.win--front {
  right: 4%;
  bottom: 4%;
  width: 76%;
  z-index: 2;
}

/* ═══ FAQ ═══ */
.faq {
  padding: 40px 0 130px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  box-shadow: inset 0 0 0 1px var(--border);
  transition: box-shadow 0.4s var(--ease), background 0.4s var(--ease);
}

.faq-item:hover,
.faq-item.is-open {
  box-shadow: inset 0 0 0 1px rgba(92, 118, 255, 0.45);
}

.faq-item.is-open {
  background: rgba(61, 90, 254, 0.05);
}

.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 21px 24px;
  font-size: 16.5px;
  font-weight: 600;
  letter-spacing: -0.015em;
  list-style: none;
  cursor: pointer;
}

.faq-item__q::-webkit-details-marker {
  display: none;
}

.faq-item__icon {
  position: relative;
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(61, 90, 254, 0.16);
  transition: transform 0.45s var(--ease-out), background 0.3s var(--ease);
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.8px;
  margin: -0.9px 0 0 -6px;
  border-radius: 2px;
  background: var(--signal-hi);
  transition: transform 0.45s var(--ease-out), background 0.3s var(--ease);
}

.faq-item__icon::after {
  transform: rotate(90deg);
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(180deg);
  background: var(--signal);
}

.faq-item.is-open .faq-item__icon::before,
.faq-item.is-open .faq-item__icon::after {
  background: #fff;
}

.faq-item.is-open .faq-item__icon::after {
  transform: rotate(0deg);
}

.js-faq .faq-item__wrap {
  display: grid;
  grid-template-rows: 0fr;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  transition: grid-template-rows 0.42s var(--ease-out), opacity 0.3s var(--ease), visibility 0s linear 0.42s;
}

.js-faq .faq-item.is-open .faq-item__wrap {
  grid-template-rows: 1fr;
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.faq-item__a {
  min-height: 0;
  max-width: 62ch;
  overflow: hidden;
  padding: 0 24px;
  font-size: 15.5px;
  line-height: 1.7;
  color: var(--text-2);
}

.faq-item__a::after {
  content: '';
  display: block;
  height: 22px;
}

/* ═══ Waitlist ═══ */
.join {
  padding: 130px 0;
}

.join__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  align-items: center;
  gap: 72px;
}

.join .h-title {
  font-size: clamp(40px, 5.6vw, 74px);
}

.join__panel {
  position: relative;
  padding: 34px;
  border-radius: var(--radius-xl);
  background: var(--ink);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 50px 100px -40px rgba(5, 10, 70, 0.8);
}

.wl {
  display: grid;
  gap: 18px;
}

.wl__label {
  display: block;
  margin-bottom: 8px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-2);
}

.wl__opt {
  font-weight: 400;
  color: var(--text-3);
}

.wl__plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  border: 0;
}

.wl__plans legend {
  grid-column: 1 / -1;
}

.pick {
  position: relative;
  cursor: pointer;
}

.pick input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.pick span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 14px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text-2);
  transition: background 0.25s var(--ease), box-shadow 0.25s var(--ease), color 0.25s var(--ease);
}

.pick input:checked + span {
  background: var(--signal);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3);
  color: #fff;
}

.pick input:focus-visible + span {
  outline: 2px solid var(--signal-hi);
  outline-offset: 3px;
}

@media (hover: hover) and (pointer: fine) {
  .pick:hover input:not(:checked) + span {
    color: #fff;
    box-shadow: inset 0 0 0 1px rgba(92, 118, 255, 0.5);
  }
}

.wl__input {
  width: 100%;
  height: 52px;
  padding: 0 16px;
  border: 0;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1), inset 0 1px 2px rgba(0, 0, 0, 0.35);
  font-size: 15.5px;
  color: #fff;
  outline: none;
  transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease);
}

.wl__input::placeholder {
  color: #6e6e73;
}

.wl__input:focus {
  background: rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 0 0 1px var(--signal-hi), 0 0 0 4px rgba(61, 90, 254, 0.25);
}

.wl__field.has-err .wl__input {
  box-shadow: inset 0 0 0 1px #FF6B6B, 0 0 0 4px rgba(255, 107, 107, 0.14);
}

.wl__err {
  display: none;
  margin-top: 7px;
  font-size: 13px;
  color: #FF8A8A;
}

.wl__field.has-err .wl__err {
  display: block;
}

.wl__send {
  width: 100%;
  margin-top: 4px;
}

.wl__note {
  font-size: 12.5px;
  text-align: center;
  color: var(--text-3);
}

.wl__note a {
  color: var(--text-2);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.wl__done {
  padding: 48px 12px;
  text-align: center;
  outline: none;
}

.wl__check svg {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  stroke: var(--signal-hi);
  stroke-width: 2.4;
}

.wl__check circle {
  stroke-dasharray: 151;
  stroke-dashoffset: 151;
  animation: draw 0.7s var(--ease-out) forwards;
}

.wl__check path {
  stroke-dasharray: 36;
  stroke-dashoffset: 36;
  animation: draw 0.5s var(--ease-out) 0.45s forwards;
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

.wl__done h3 {
  font-size: 30px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.wl__done p {
  max-width: 24em;
  margin: 10px auto 0;
  font-size: 15.5px;
  color: var(--text-2);
}

.join__offer {
  display: inline-block;
  margin-top: 24px;
  padding: 11px 18px;
  border-radius: 18px;
  line-height: 1.45;
  background: var(--ink);
  font-size: 15px;
  color: rgba(255, 255, 255, 0.88);
}

.join__offer b {
  margin-right: 0.3em;
  color: #fff;
}

/* ═══ Pätička ═══ */
.footer {
  padding: 72px 0 34px;
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 48px;
}

.footer__brand p {
  max-width: 320px;
  margin-top: 16px;
  font-size: 14.5px;
  color: var(--text-3);
}

.footer__brand p a {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--signal);
}

.footer__nav {
  display: flex;
  gap: 80px;
}

.footer__col h4 {
  margin-bottom: 14px;
  font-size: 13.5px;
  font-weight: 650;
}

.footer__col a {
  font-size: 14.5px;
  line-height: 2.1;
  color: var(--text-2);
  transition: color 0.2s var(--ease);
}

.footer__col a:hover,
.footer__legal a:hover {
  color: #fff;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-3);
}

.footer__legal {
  display: flex;
  gap: 22px;
}

.footer__legal a {
  transition: color 0.2s var(--ease);
}

/* ═══ Responsive ═══ */
@media (max-width: 1100px) {
  .nav__links a {
    padding: 7px 10px;
  }
}

@media (max-width: 1024px) {
  :root {
    --gutter: 32px;
  }

  .nav__links {
    display: none;
  }

  .nav__burger {
    display: flex;
  }

  .hero {
    padding-bottom: 40px;
  }

  .hero__inner {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hero__form {
    width: 100%;
  }

  .hero__visual {
    height: 620px;
  }

  .market__inner,
  .loyal__inner,
  .wc__grid,
  .join__grid {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .market__visual {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }

  .wc__visual {
    max-width: 640px;
    width: 100%;
    margin: 0 auto;
  }

  .loyal__copy {
    order: -1;
  }

  .loyal__visual {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
  }

  .bento {
    grid-template-columns: 1fr 1fr;
  }

  .tile--wide,
  .tile--full {
    grid-column: 1 / -1;
  }

  .plan-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin: 0 auto;
  }

}

@media (max-width: 768px) {
  .reveal {
    transform: translateY(18px);
    filter: none;
  }

}

@media (max-width: 680px) {
  :root {
    --gutter: 20px;
    --nav-top: 12px;
    --nav-height: 58px;
  }

  .nav {
    width: calc(100% - 16px);
  }

  .nav__inner {
    padding: 0 6px 0 12px;
  }

  .nav__cta {
    display: none;
  }

  .hero {
    min-height: 0;
    padding-bottom: 0;
  }

  .hero__title {
    margin-top: 36px;
    font-size: 50px;
    line-height: 0.96;
  }

  .hero__sub {
    font-size: 17px;
  }

  .head--center {
    text-align: left;
  }

  .head--center .h-title,
  .head--center .lead {
    margin-inline: 0;
  }

  .h-title {
    font-size: 38px;
    line-height: 1.02;
  }

  .lead {
    font-size: 16.5px;
  }

  .billing {
    margin-left: 0;
  }

  .compare__toggle {
    margin-inline: auto;
  }

  .collab {
    gap: 11px;
  }

  .collab__roam,
  .collab__wc img {
    height: 24px;
  }

  .collab__wc {
    font-size: 23px;
  }

  .collab__x {
    font-size: 30px;
  }

  .hero__form,
  .hero__form:focus-within,
  .hero__form.is-invalid {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 32px;
    padding: 0;
    border-radius: 0;
    background: none;
    box-shadow: none;
  }

  .hero__field {
    flex: none;
  }

  .hero__mail {
    color: #d1d1d6;
  }

  .hero__input {
    height: 58px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.24);
    font-size: 16px;
    transition: box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  }

  .hero__input::placeholder {
    color: #c7c7cc;
  }

  .hero__input:focus {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: inset 0 0 0 1.5px var(--signal-hi), 0 0 0 4px rgba(61, 90, 254, 0.25);
  }

  .hero__form.is-invalid .hero__input {
    box-shadow: inset 0 0 0 1.5px #FF6B6B;
  }

  .hero__form .btn {
    min-height: 58px;
    border-radius: 16px;
    font-size: 15.5px;
  }

  .hero__note {
    padding-left: 0;
  }

  /* video */
  .film {
    padding: 32px 0 96px;
  }

  .film__head {
    margin-bottom: 24px;
  }

  .film__frame {
    border-radius: 18px;
  }

  .film__icon {
    width: 66px;
    height: 66px;
  }

  .film__icon svg {
    width: 26px;
    height: 26px;
  }

  .film__label {
    font-size: 13.5px;
  }

  /* menej textu: na mobile len to podstatné */
  .market .ticks,
  .market__visual .mcard--b,
  .tile p,
  .wc__points {
    display: none;
  }

  .market .head,
  .wc .head {
    margin-bottom: 28px;
  }

  .market .btn--ink {
    margin-bottom: 8px;
  }

  .loyal__list li {
    gap: 14px;
    padding: 16px;
  }

  .loyal__ico {
    width: 42px;
    height: 42px;
    border-radius: 12px;
  }

  .lastvisit {
    display: none;
  }

  .tile {
    gap: 20px;
  }

  .tile h3 {
    margin-bottom: 0;
  }

  /* telefón zrezaný spodnou hranou sekcie */
  .hero__visual {
    place-items: start center;
    height: 470px;
    margin: 48px calc(var(--gutter) * -1) 0;
    overflow: hidden;
  }

  .hero__visual .phone {
    margin-top: 24px;
  }

  .phone {
    width: 252px;
    height: 520px;
    border-radius: 42px;
  }

  .phone__screen {
    border-radius: 34px;
  }

  .features,
  .plans {
    padding: 104px 0;
  }

  .market,
  .wc,
  .join {
    padding: 104px 0;
  }

  .head {
    margin-bottom: 40px;
  }

  /* karty pod sebou, bez natočenia */
  .market__visual {
    display: grid;
    gap: 12px;
    height: auto;
  }

  .market__visual .mcard {
    position: relative;
    inset: auto;
    width: 100%;
    transform: none;
  }

  .market__visual .mcard--c {
    display: none;
  }

  .market__visual .sent {
    position: static;
    justify-self: start;
    margin-top: 6px;
  }

  .loyal {
    padding: 104px 0 80px;
  }

  .loyal__visual {
    height: 600px;
  }

  .loyal__dot {
    left: 50%;
    width: 380px;
  }

  .scanned {
    top: 6%;
    right: 0;
    padding: 10px 14px 10px 10px;
  }

  .mcard {
    width: 260px;
    padding: 15px;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .tile {
    min-height: 0;
    padding: 26px 22px;
  }

  .tile--wide,
  .tile--full {
    grid-template-columns: 1fr;
  }

  .plan {
    padding: 30px 24px 26px;
  }

  .billing__opt {
    padding: 0 16px;
  }

  .lockup {
    gap: 12px;
    margin-bottom: 40px;
  }

  .lockup__roam {
    height: 30px;
  }

  .lockup__x {
    font-size: 24px;
  }

  .lockup__wc {
    font-size: 29px;
    gap: 9px;
  }

  .lockup__w {
    width: 40px;
    height: 40px;
    border-radius: 11px;
  }

  .lockup__w img {
    width: 28px;
  }

  .wc__points {
    grid-template-columns: 1fr;
  }

  .join__panel {
    padding: 24px 20px;
  }

  .compare__table th,
  .compare__table td {
    padding: 13px 6px;
    font-size: 13px;
  }

  .footer__top {
    flex-direction: column;
  }

  .footer__nav {
    gap: 56px;
  }

  .footer__bottom {
    flex-direction: column;
  }
}

@media (max-width: 380px) {
  .billing__opt {
    padding: 0 12px;
    font-size: 13px;
  }
}

/* ─── Pohyb: rešpektuj prefers-reduced-motion ─── */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
  }
}

/* ═══ Právne stránky ═══ */
.legal {
  min-height: 100vh;
  padding: calc(var(--nav-height) + var(--nav-top) + 48px) 0 80px;
}

.legal__back {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 28px;
  font-size: 13.5px;
  color: var(--text-3);
  transition: color 0.2s var(--ease);
}

.legal__back svg {
  width: 15px;
  height: 15px;
  transition: transform 0.2s var(--ease);
}

.legal__back:hover {
  color: #fff;
}

.legal__back:hover svg {
  transform: translateX(-3px);
}

.legal__head {
  max-width: 720px;
  margin-bottom: 44px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.legal__title {
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 750;
  line-height: 1.05;
  letter-spacing: -0.045em;
}

.legal__title i {
  display: inline-block;
  width: 0.19em;
  height: 0.19em;
  margin-left: 0.05em;
  overflow: hidden;
  border-radius: 50%;
  background: var(--signal);
  color: transparent;
  line-height: 0;
}

.legal__meta {
  margin-top: 14px;
  font-size: 13.5px;
  color: var(--text-3);
}

.legal__body {
  display: grid;
  gap: 34px;
  max-width: 720px;
}

.legal__body h2 {
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.legal__body p {
  font-size: 15.5px;
  line-height: 1.75;
  color: var(--text-2);
}

/* ═══ 404 ═══ */
.notfound {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  min-height: 100vh;
  min-height: 100svh;
  padding: 40px var(--gutter);
  overflow: hidden;
  isolation: isolate;
  text-align: center;
}

.notfound .h-title {
  max-width: 14em;
}

.notfound .lead {
  margin: 0 auto 8px;
}

.notfound__dot {
  position: absolute;
  bottom: -54vmax;
  left: 50%;
  z-index: -1;
  width: 70vmax;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 20%, #6A82FF, var(--signal) 45%, var(--signal-lo));
  opacity: 0.9;
  transform: translateX(-50%);
  filter: blur(2px);
}

/* ═══ Mobil: všetko na stred ═══ */
@media (max-width: 680px) {
  .hero__copy,
  .market__copy,
  .loyal__copy,
  .wc__copy,
  .join__copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .head,
  .head--center,
  .tile__text,
  .film__head {
    text-align: center;
  }

  .h-title,
  .lead,
  .hero__sub,
  .head--center .h-title,
  .head--center .lead {
    margin-inline: auto;
  }

  /* hero: pole na celú šírku, malé tlačidlo pod ním */
  .hero__form,
  .hero__form:focus-within,
  .hero__form.is-invalid {
    width: 100%;
    align-items: center;
  }

  .hero__field {
    width: 100%;
  }

  .hero__form .btn {
    min-height: 46px;
    padding: 0 24px;
    border-radius: var(--radius-pill);
    font-size: 14.5px;
  }

  .form-msg.is-ok {
    text-align: left;
  }

  .film__head {
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }

  .billing {
    margin-inline: auto;
  }

  .market__visual,
  .loyal__list {
    width: 100%;
  }

  .market__visual .sent {
    justify-self: center;
  }

  .lockup,
  .wc__actions {
    justify-content: center;
  }

  .footer__top {
    align-items: center;
    text-align: center;
  }

  .footer__brand p {
    margin-inline: auto;
  }

  .footer__nav {
    justify-content: center;
  }

  .footer__bottom {
    align-items: center;
    text-align: center;
  }

  .footer__legal {
    justify-content: center;
  }
}

/* polkruh v hero na mobile: horizont tesne nad telefónom */
@media (max-width: 680px) {
  .hero__bg {
    --apex: calc(100% - 440px);
    --arc-w: 1300px;
  }
}

/* funkcie na mobile: screenshoty po okraj karty, mapa s textom dole */
@media (max-width: 680px) {
  .shot {
    min-height: 260px;
    margin-right: -22px;
  }

  .tile--map {
    min-height: 300px;
    padding: 26px 22px;
  }

  .tile--map::after {
    background: linear-gradient(0deg, rgba(5, 5, 7, 0.95) 0%, rgba(5, 5, 7, 0.45) 55%, rgba(5, 5, 7, 0) 100%);
  }

  .join__offer {
    font-size: 14.5px;
  }

  .tile--map .tag {
    display: inline-flex;
  }
}

/* porovnanie plánov na mobile: kompaktná tabuľka, nič nepretečie */
@media (max-width: 680px) {
  .compare {
    margin-top: 32px;
  }

  .compare__wrap {
    margin-top: 20px;
  }

  .compare__table th[scope="row"] {
    width: 40%;
    padding-left: 0;
    font-size: 13px;
    line-height: 1.35;
  }

  .compare__table thead th {
    font-size: 12.5px;
  }

  .compare__table td {
    font-size: 12px;
  }

  .y,
  .n {
    width: 20px;
    height: 20px;
  }
}

/* ═══ Funkcie: tlačidlo pod mriežkou ═══ */
.features__cta {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

/* ═══ Mobil: menej textu, viac obrazu a jasná výzva ═══ */
@media (max-width: 680px) {
  /* vernostný program: nadpis → telefón → tri ikony → tlačidlo */
  .loyal__inner {
    gap: 26px;
  }

  .loyal__copy {
    display: contents;
  }

  .loyal .head {
    order: 1;
    margin-bottom: 0;
  }

  .loyal__visual {
    order: 2;
    width: auto;
    max-width: none;
    height: 430px;
    margin: 0 calc(var(--gutter) * -1);
    place-items: start center;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
  }

  .loyal__visual .phone {
    margin-top: 22px;
  }

  .loyal__dot {
    top: 62%;
  }

  .loyal__list {
    order: 3;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    margin: 0;
  }

  .loyal__list li {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 16px 8px 14px;
    text-align: center;
  }

  .loyal__txt {
    padding-top: 0;
  }

  .loyal__txt b {
    font-size: 13.5px;
    line-height: 1.25;
  }

  .loyal__txt > span {
    display: none;
  }

  .loyal__copy > .btn {
    order: 4;
    justify-self: center;
  }

}

/* ═══ Pripomienky: výrazná modrá dlaždica, telefón vyrezaný zo záberu ═══ */
.tile--phone {
  background:
    radial-gradient(75% 55% at 50% 80%, rgba(150, 170, 255, 0.55) 0%, rgba(150, 170, 255, 0) 70%),
    linear-gradient(180deg, #3D5AFE 0%, #2a43e6 55%, #1f33c4 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
}

.tile--phone p {
  color: rgba(255, 255, 255, 0.9);
}

.tile--phone .shot::after {
  display: none;
}

/* tieň telefónu nesmie orezať rámik, orezáva až zaoblená dlaždica */
.tile--phone .shot {
  overflow: visible;
}

.phonecut {
  position: relative;
  display: block;
  align-self: flex-start;
  width: min(272px, 80%);
  margin-top: 4px;
  filter: drop-shadow(0 40px 40px rgba(6, 12, 70, 0.55)) drop-shadow(0 8px 14px rgba(6, 12, 70, 0.35));
}

.shot--phone .phonecut img {
  position: static;
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  border-radius: 0;
  mix-blend-mode: normal;
  /* čierne pozadie videa zostane mimo, ostane len telefón */
  clip-path: inset(0.3% 0.9% 0.3% 0.9% round 18.5% / 9.1%);
}

/* notifikácia vyskočí z telefónu ako veľká karta */
.notif {
  position: absolute;
  top: 51%;
  left: 50%;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  gap: 11px;
  width: 122%;
  padding: 13px 15px 14px 13px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 30px 60px -18px rgba(6, 12, 70, 0.7), 0 2px 6px rgba(6, 12, 70, 0.2);
  color: var(--ink);
  line-height: 1.35;
  transform: translateX(-50%);
}

.notif__app {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  padding-top: 7px;
  border-radius: 10px;
  background: var(--ink);
  font-size: 17px;
  font-weight: 800;
  line-height: 1;
  color: #fff;
}

.notif__app i {
  width: 4px;
  height: 4px;
  margin-left: 1px;
  border-radius: 50%;
  background: var(--signal-hi);
}

.notif__body {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.notif__body small {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11.5px;
  font-weight: 500;
  color: #6e6e73;
}

.notif__body small em {
  font-style: normal;
}

.notif__body b {
  margin-top: 2px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.notif__body > span {
  margin-top: 1px;
  font-size: 13px;
  color: #3a3a3c;
}

/* pri zobrazení notifikácia jemne „pristane“ */
.tile--phone .notif {
  opacity: 0;
  transform: translate(-50%, 14px) scale(0.94);
  transition: opacity 0.7s var(--ease-out) 0.45s, transform 0.8s var(--ease-out) 0.45s;
}

.tile--phone.visible .notif,
.bento > .tile--phone .notif {
  opacity: 1;
  transform: translateX(-50%);
}

@media (max-width: 680px) {
  .phonecut {
    width: min(232px, 78%);
  }

  .notif {
    width: 118%;
    padding: 11px 12px 12px 11px;
  }

  .notif__body b {
    font-size: 13.5px;
  }

  .notif__body > span {
    font-size: 12px;
  }
}

/* ═══ Záložky funkcií a plánov: na PC skryté ═══ */
.feat-tabs,
.plan-tabs {
  display: none;
}

@keyframes featProgress {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

@keyframes planIn {
  from { opacity: 0; transform: translateY(14px) scale(0.97); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 680px) {
  /* ─── Hero: telefón celý, mierne kratší ─── */
  .hero {
    padding-bottom: 56px;
  }

  .hero__visual {
    place-items: center;
    height: auto;
    margin: 44px 0 0;
    overflow: visible;
  }

  .hero__visual .phone {
    width: 246px;
    height: 486px;
    margin-top: 0;
  }

  .hero .lst:nth-child(5) {
    display: none;
  }

  /* ─── Funkcie: záložky + jedna veľká karta ─── */
  .features .head {
    margin-bottom: 24px;
  }

  .feat-tabs {
    display: flex;
    gap: 6px;
    margin: 0 calc(var(--gutter) * -1) 14px;
    padding: 2px var(--gutter);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .feat-tabs::-webkit-scrollbar {
    display: none;
  }

  .feat-tabs__opt {
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    padding: 10px 15px;
    border: 0;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 0 1px var(--border-2);
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-2);
    cursor: pointer;
    transition: color 0.3s var(--ease), background 0.3s var(--ease), box-shadow 0.3s var(--ease);
  }

  .feat-tabs__opt[aria-selected="true"] {
    background: rgba(61, 90, 254, 0.2);
    box-shadow: inset 0 0 0 1px rgba(92, 118, 255, 0.6);
    color: #fff;
  }

  /* priebeh ako pri stories */
  .feat-tabs__opt i {
    position: absolute;
    right: 14px;
    bottom: 5px;
    left: 14px;
    height: 2px;
    border-radius: 2px;
    background: var(--signal-hi);
    transform: scaleX(0);
    transform-origin: left;
  }

  .feat-tabs__opt[aria-selected="true"] i {
    animation: featProgress 6s linear forwards;
  }

  .feat-tabs.is-paused .feat-tabs__opt i {
    animation-play-state: paused;
  }

  .feat-tabs.is-static .feat-tabs__opt i {
    animation: none;
    transform: scaleX(1);
  }

  .bento {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
  }

  .bento > .tile {
    grid-area: 1 / 1;
    min-height: 470px;
  }

  .bento > .tile:not(.is-active) {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.98);
    transition: opacity 0.35s var(--ease), transform 0.45s var(--ease-out), visibility 0s linear 0.45s;
  }

  .bento > .tile.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
    filter: none;
    transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out);
  }

  .bento > .tile--map {
    display: none;
  }

  .bento .tile p {
    display: block;
    margin-inline: auto;
    font-size: 14.5px;
  }

  .bento .tile h3 {
    margin-bottom: 6px;
  }

  /* ─── Cenník: jedna karta, plány prepínačom pod ňou ─── */
  .plan-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    max-width: none;
  }

  .plan-grid > .plan {
    grid-area: 1 / 1;
  }

  .plan-grid > .plan:not(.is-active) {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.97);
    transition: opacity 0.3s var(--ease), transform 0.4s var(--ease-out), visibility 0s linear 0.4s;
  }

  .plan-grid > .plan.is-active {
    opacity: 1;
    visibility: visible;
    transform: none;
    filter: none;
    animation: planIn 0.55s var(--ease-out);
  }

  /* Pro má na mobile vlastnú farbu, aby bola zmena plánu výrazná */
  .plan-grid > .plan[data-plan="pro"] {
    background:
      radial-gradient(90% 60% at 100% 0%, rgba(61, 90, 254, 0.55) 0%, rgba(61, 90, 254, 0) 65%),
      linear-gradient(180deg, #121530 0%, #0b0c18 100%);
  }

  .plan-tabs {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    margin-top: 16px;
    padding: 5px;
    border-radius: var(--radius-pill);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 0 1px var(--border-2);
  }

  .plan-tabs__thumb {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 5px;
    width: calc((100% - 10px) / 3);
    border-radius: var(--radius-pill);
    background: #3a3a3f;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18);
    transition: transform 0.45s cubic-bezier(0.32, 0.72, 0, 1), background 0.45s var(--ease);
  }

  .plan-tabs[data-active="advanced"] .plan-tabs__thumb {
    transform: translateX(100%);
    background: var(--signal);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.3), 0 8px 20px -8px rgba(61, 90, 254, 0.9);
  }

  .plan-tabs[data-active="pro"] .plan-tabs__thumb {
    transform: translateX(200%);
    background: linear-gradient(135deg, #1d2b8f 0%, #3D5AFE 100%);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 8px 20px -8px rgba(61, 90, 254, 0.7);
  }

  .plan-tabs__opt {
    position: relative;
    z-index: 1;
    min-height: 46px;
    border: 0;
    border-radius: var(--radius-pill);
    background: none;
    font-size: 15px;
    font-weight: 650;
    color: var(--text-2);
    cursor: pointer;
    transition: color 0.3s var(--ease);
  }

  .plan-tabs__opt[aria-selected="true"] {
    color: #fff;
  }
}
