/* === Veruno QR homepage styles === */
/* Palette (user-provided):
   #F2EEEA  cream bg      --cream
   #3F3C3B  warm near-black --ink
   #8E3314  sienna accent --sienna
   #1F5F66  deep teal     --teal
*/

:root {
  --cream: #F2EEEA;
  --cream-2: #ECE6DF;
  --cream-3: #E2DACF;
  --ink: #3F3C3B;
  --ink-soft: #6B6663;
  --ink-muted: #9A938E;
  --line: #D9D1C6;
  --line-strong: #B8AFA3;
  --sienna: #8E3314;
  --sienna-2: #A84222;
  --sienna-ink: #5A1F0B;
  --teal: #1F5F66;
  --teal-2: #2A7A82;
  --teal-ink: #0F3A40;
  --white: #FBF9F6;

  --bg: var(--cream);
  --fg: var(--ink);
  --fg-soft: var(--ink-soft);
  --fg-muted: var(--ink-muted);
  --card: var(--white);
  --border: var(--line);
  --border-strong: var(--line-strong);

  --display: 'Space Grotesk', 'Geist', -apple-system, system-ui, sans-serif;
  --sans: 'Space Grotesk', 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;
}

/* dark-theme block removed — light only */

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  transition: background-color .4s ease, color .4s ease;
}
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
a { color: inherit; text-decoration: none; }

.wrap { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
@media (max-width: 720px) { .wrap { padding: 0 20px; } }

/* ===== Typography ===== */
.display {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 0.95;
}
.italic { font-style: italic; font-family: var(--display); font-weight: 500; }
.mono { font-family: var(--mono); letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }

.kicker {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
}

.section-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 0.98;
  letter-spacing: -0.035em;
  color: var(--fg);
  margin: 0;
  text-wrap: balance;
}
.section-lead {
  font-size: 20px;
  line-height: 1.55;
  color: var(--fg-soft);
  max-width: 560px;
  text-wrap: pretty;
}
@media (max-width: 720px) { .section-lead { font-size: 17px; } }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  background: color-mix(in srgb, var(--bg) 78%, transparent);
  border-bottom: 1px solid transparent;
  transition: border-color .3s ease, background-color .3s ease;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.03em;
  color: var(--fg);
}
.brand-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--sienna);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--sienna) 18%, transparent);
}
.brand em { font-style: normal; color: var(--sienna); font-weight: 500; }
.nav-links {
  display: flex; gap: 28px;
  font-size: 14px; color: var(--fg-soft);
}
.nav-links a { transition: color .2s; }
.nav-links a:hover { color: var(--fg); }
.nav-right { display: flex; align-items: center; gap: 14px; }
.lang {
  display: inline-flex; font-family: var(--mono); font-size: 11px;
  background: var(--cream-2); border: 1px solid var(--border); border-radius: 999px;
  overflow: hidden;
}
.lang a,
.lang button {
  display: inline-flex; align-items: center;
  padding: 6px 12px;
  color: var(--fg-muted);
  text-decoration: none;
  transition: all .2s;
}
.lang a.active,
.lang button.active { background: var(--ink); color: var(--cream); }
.lang a:hover,
.lang button:hover { color: var(--fg); }

/* ===== Mobile hamburger =====
   Desktop: .nav-menu is transparent (display: contents) so its children sit
   as direct flex items of .nav-inner and keep the space-between layout.
   Mobile: .nav-menu becomes an absolute drawer below the 68px bar, so the
   top row keeps its fixed height and logo doesn't jump. */

.nav-menu { display: contents; }
.nav-toggle { display: none; }
.lang-mobile { display: none; }

@media (max-width: 860px) {
  .nav-inner { gap: 10px; }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 42px; height: 42px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: 10px;
    background: transparent;
  }
  .nav-toggle span {
    display: block;
    width: 20px; height: 2px;
    background: var(--fg);
    border-radius: 2px;
    transition: transform .25s ease, opacity .2s ease;
  }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .lang-desktop { display: none; }
  .lang-mobile  { display: inline-flex; margin-left: auto; }

  .nav-menu { display: none; }

  .nav-open .nav-menu {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    gap: 18px;
    padding: 20px;
    background: var(--bg);
    border-top: 1px solid var(--border);
    box-sizing: border-box;
    box-shadow: 0 12px 24px -12px rgba(0, 0, 0, .08);
  }
  .nav-open .nav-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
    font-size: 18px;
  }
  .nav-open .nav-right {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
  }
  .nav-open .nav-right .btn { flex: 1 1 auto; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 10px; padding: 14px 22px; border-radius: 999px;
  font-family: var(--sans); font-size: 14px; font-weight: 500;
  letter-spacing: -0.005em;
  transition: all .2s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--sienna); color: #FBF9F6;
  box-shadow: 0 1px 0 rgba(0,0,0,.06), 0 12px 32px -16px color-mix(in srgb, var(--sienna) 70%, transparent);
}
.btn-primary:hover { background: var(--sienna-2); transform: translateY(-1px); }
.btn-secondary {
  background: transparent; color: var(--fg);
  border: 1px solid var(--border-strong);
}
.btn-secondary:hover { border-color: var(--fg); }
.btn-ghost { padding: 10px 16px; font-size: 14px; color: var(--fg-soft); }
.btn-ghost:hover { color: var(--fg); }
.btn-dark {
  background: var(--ink); color: var(--cream);
}
[data-theme="dark"] .btn-dark { }
.btn-arrow::after {
  content: '→';
  transition: transform .25s ease;
  display: inline-block;
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 72px 0 96px;
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 960px) { .hero-grid { grid-template-columns: 1fr; gap: 40px; } }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--fg-soft);
  padding: 6px 12px;
  border: 1px solid var(--border); border-radius: 999px;
  background: color-mix(in srgb, var(--card) 60%, transparent);
}
.hero-eyebrow .pulse {
  width: 6px; height: 6px; border-radius: 50%; background: var(--sienna);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--sienna) 50%, transparent);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--sienna) 60%, transparent); }
  70% { box-shadow: 0 0 0 8px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}

.hero-title {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(42px, 6.6vw, 83px);
  line-height: 1.1; letter-spacing: -0.045em;
  margin: 24px 0 28px;
  text-wrap: balance;
}
.hero-title .italic { color: var(--sienna); font-style: italic; font-weight: 400; }
.hero-title .teal { color: var(--teal); font-style: italic; font-weight: 400; }
.hero-sub {
  font-size: 19px; line-height: 1.5;
  color: var(--fg-soft); max-width: 520px; text-wrap: pretty;
}
.hero-ctas { display: flex; gap: 14px; margin-top: 32px; flex-wrap: wrap; }

.hero-bullets {
  list-style: none; padding: 0; margin: 36px 0 0;
  display: flex; flex-direction: column; gap: 10px;
  padding-top: 28px; border-top: 1px solid var(--border);
}
.hero-bullets li {
  display: flex; align-items: center; gap: 10px;
  font-size: 15px; color: var(--fg-soft);
}
.hero-bullets .check {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(31,95,102,.1);
  color: var(--teal);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 600;
  flex-shrink: 0;
}
[data-remove-this="1"] { }
.mini-stat .l {
  font-family: var(--mono); font-size: 10px; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--fg-muted);
}

/* Hero visual: QR + floating cards */
.hero-visual {
  position: relative;
  aspect-ratio: 560 / 600;
  max-width: 560px;
  margin: 0 auto;
  width: 100%;
}

/* ===== Hero constellation frame =====
   Canvas-based QR "constellation" — same code always, signal pulses
   travel across the module graph. Visual metaphor for a smart QR. */

.hero-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 560 / 600;
  border-radius: 32px;
  background: radial-gradient(ellipse at center, #fbfaf6 0%, #f4f2ec 100%);
  box-shadow:
    0 1px 2px rgba(15, 23, 32, 0.04),
    0 32px 64px -24px rgba(15, 23, 32, 0.18);
  overflow: hidden;
}
/* canvas is a square (560×560) centered vertically inside the 560×600 plate,
   leaving ~20px top/bottom bands for labels (3.333% of plate height) */
.hero-canvas {
  position: absolute;
  top: 3.333%;
  bottom: 3.333%;
  left: 0;
  right: 0;
  width: 100%;
  height: auto;
  display: block;
}
.hero-frame .corner {
  position: absolute;
  width: 24px; height: 24px;
  pointer-events: none;
}
/* corners live inside the code zone — 34px from its edges, which is 54px
   from top/bottom of the plate and 34px from its sides */
.hero-frame .corner.tl { top: 54px; left: 34px;  border-top: 2px solid #0F1720; border-left: 2px solid #0F1720; }
.hero-frame .corner.tr { top: 54px; right: 34px; border-top: 2px solid #0F1720; border-right: 2px solid #0F1720; }
.hero-frame .corner.bl { bottom: 54px; left: 34px;  border-bottom: 2px solid #0F1720; border-left: 2px solid #0F1720; }
.hero-frame .corner.br { bottom: 54px; right: 34px; border-bottom: 2px solid #0F1720; border-right: 2px solid #0F1720; }
.hero-frame .frame-label {
  position: absolute;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 500;
  color: #78716c;
  letter-spacing: 0.22em;
  white-space: nowrap;
  pointer-events: none;
  transform: translateY(-50%);
}
.hero-frame .frame-label-top { top: 27px; left: 34px; }
.hero-frame .frame-label-bottom { top: auto; bottom: 27px; right: 34px; letter-spacing: 0.32em; transform: translateY(50%); }

@media (max-width: 560px) {
  .hero-frame .corner { width: 18px; height: 18px; }
  .hero-frame .corner.tl,
  .hero-frame .corner.tr { top: 40px; }
  .hero-frame .corner.bl,
  .hero-frame .corner.br { bottom: 40px; }
  .hero-frame .corner.tl,
  .hero-frame .corner.bl { left: 22px; }
  .hero-frame .corner.tr,
  .hero-frame .corner.br { right: 22px; }
  .hero-frame .frame-label { font-size: 11px; letter-spacing: 0.18em; }
  .hero-frame .frame-label-top { top: 20px; left: 22px; }
  .hero-frame .frame-label-bottom { bottom: 20px; right: 22px; letter-spacing: 0.24em; }
}

/* ===== Contact page ===== */
.contact-grid { align-items: start; gap: 64px; }
.contact-title {
  font-size: clamp(40px, 5.4vw, 68px);
  margin: 24px 0 20px;
}
.contact-block {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.contact-block:first-of-type { border-top: none; padding-top: 0; }
.contact-block-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.contact-subblock { min-width: 0; }
@media (max-width: 560px) {
  .contact-block-row { grid-template-columns: 1fr; gap: 28px; }
}
.contact-section-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.015em;
  color: var(--fg);
  margin: 0 0 10px;
}
.contact-hours {
  margin: 0 0 16px;
  color: var(--fg-soft);
  font-size: 15px;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.contact-list li {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.contact-list-compact li { gap: 10px; }
.contact-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
  min-width: 96px;
}
.contact-value {
  font-size: 17px;
  color: var(--fg);
  text-decoration: none;
  font-weight: 500;
  transition: color .18s var(--ease, ease);
}
.contact-value.mono {
  font-family: var(--mono);
  letter-spacing: 0;
  font-size: 15px;
}
a.contact-value:hover { color: var(--sienna); }
.contact-address {
  font-style: normal;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg-soft);
}
.contact-address strong { color: var(--fg); font-weight: 600; }

/* QR uvnitř hero-frame na kontaktu */
.contact-visual { aspect-ratio: 560 / 600; }
.contact-qr {
  position: absolute;
  inset: 64px 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-qr svg, .contact-qr canvas {
  width: 100% !important;
  height: 100% !important;
  max-width: 100%;
  max-height: 100%;
  display: block;
}
@media (max-width: 560px) {
  .contact-qr { inset: 48px 28px; }
}

/* ===== Section base ===== */
section.sec {
  padding: 112px 0;
  border-top: 1px solid var(--border);
  position: relative;
}
@media (max-width: 720px) { section.sec { padding: 72px 0; } }
.sec-head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: end;
  margin-bottom: 64px;
}
@media (max-width: 860px) {
  .sec-head { grid-template-columns: 1fr; gap: 20px; margin-bottom: 40px; }
}
.sec-head .left .kicker { display: block; margin-bottom: 20px; }

/* ===== Problem section ===== */
.problem-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}
@media (max-width: 860px) { .problem-grid { grid-template-columns: 1fr; } }
.problem-card {
  padding: 40px 36px 48px;
  border-right: 1px solid var(--border);
  position: relative;
}
.problem-card:last-child { border-right: 0; }
@media (max-width: 860px) {
  .problem-card { border-right: 0; border-bottom: 1px solid var(--border); }
  .problem-card:last-child { border-bottom: 0; }
}
.problem-card .n {
  font-family: var(--display); font-weight: 500; font-style: italic;
  font-size: 44px; color: var(--sienna); line-height: 1; letter-spacing: -0.03em;
}
.problem-card h3 {
  font-family: var(--display); font-weight: 500;
  font-size: 26px; line-height: 1.1; letter-spacing: -0.025em;
  margin: 16px 0 12px;
}
.problem-card p { color: var(--fg-soft); font-size: 15px; margin: 0; }
.problem-card .x {
  position: absolute; top: 40px; right: 36px;
  font-family: var(--mono); font-size: 11px; color: var(--fg-muted);
}

/* ===== Solution section ===== */
.solution-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 720px) { .solution-grid { grid-template-columns: 1fr; } }
.benefit {
  padding: 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  transition: all .3s ease;
}
.benefit:hover { transform: translateY(-2px); border-color: var(--border-strong); }
.benefit .num {
  font-family: var(--mono); font-size: 11px;
  color: var(--fg-muted); letter-spacing: 0.12em;
}
.benefit h3 {
  font-family: var(--display); font-weight: 500;
  font-size: 26px; line-height: 1.1; letter-spacing: -0.025em;
  margin: 14px 0 10px;
}
.benefit p { color: var(--fg-soft); font-size: 15px; margin: 0; }
.benefit .icon-slot {
  margin-top: 22px;
  height: 120px;
  border-radius: 12px;
  background: var(--cream-2);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

/* ===== For whom ===== */
.cases-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
}
@media (max-width: 900px) { .cases-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .cases-grid { grid-template-columns: 1fr; } }
.case {
  background: var(--card);
  padding: 36px 28px;
  position: relative;
  transition: background .2s;
  min-height: 200px;
}
.case:hover { background: var(--cream-2); }
.case .i {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--cream-2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 14px; color: var(--teal);
  margin-bottom: 18px;
}
.case h3 {
  font-family: var(--display); font-weight: 500;
  font-size: 22px; line-height: 1.1; letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.case p { color: var(--fg-soft); font-size: 14px; margin: 0; }
.case .tag {
  position: absolute; top: 18px; right: 18px;
  font-family: var(--mono); font-size: 9px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--sienna);
  padding: 4px 8px;
  border: 1px solid color-mix(in srgb, var(--sienna) 30%, transparent);
  border-radius: 999px;
  background: color-mix(in srgb, var(--sienna) 6%, transparent);
}

/* ===== How it works ===== */
.steps {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}
.steps::before {
  content: '';
  position: absolute;
  top: 28px; left: 5%; right: 5%;
  height: 1px;
  background: repeating-linear-gradient(90deg, var(--border-strong) 0 6px, transparent 6px 12px);
  z-index: 0;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } .steps::before { display: none; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; z-index: 1; }
.step-num {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--display); font-weight: 500; font-size: 24px; color: var(--fg);
  margin-bottom: 20px; letter-spacing: -0.03em;
}
.step h3 {
  font-family: var(--display); font-weight: 500;
  font-size: 20px; letter-spacing: -0.02em;
  margin: 0 0 8px;
}
.step p { color: var(--fg-soft); font-size: 14px; margin: 0; }

/* ===== Landing pages section ===== */
.landings-wrap {
  background: var(--cream-2);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 860px) { .landings-wrap { grid-template-columns: 1fr; padding: 32px; } }
.landings-tabs {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-top: 28px;
}
.landings-tabs button {
  padding: 8px 14px;
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  border: 1px solid var(--border); border-radius: 999px;
  color: var(--fg-soft);
  background: var(--bg);
  transition: all .2s;
}
.landings-tabs button.active {
  background: var(--ink); color: var(--cream);
  border-color: var(--ink);
}
[data-theme="dark"] .landings-tabs button.active { }

.phone-frame {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
  aspect-ratio: 9 / 18;
  background: var(--ink);
  border-radius: 40px;
  padding: 10px;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,.35), 0 0 0 1px var(--border);
  position: relative;
}
.phone-screen {
  width: 100%; height: 100%;
  background: var(--white);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  display: flex; flex-direction: column;
}
.phone-notch {
  position: absolute; top: 14px; left: 50%; transform: translateX(-50%);
  width: 70px; height: 20px;
  background: var(--ink); border-radius: 999px; z-index: 3;
}
.phone-content {
  padding: 36px 18px 18px;
  flex: 1;
  overflow: hidden;
  color: #3F3C3B;
  background: #F2EEEA;
}
.phone-content .h {
  font-family: var(--display); font-weight: 500; font-size: 20px; line-height: 1.05; letter-spacing: -0.02em;
  margin: 0 0 4px;
}
.phone-content .sub {
  font-family: var(--mono); font-size: 9px; text-transform: uppercase;
  letter-spacing: 0.12em; color: #8E3314;
}
.phone-content .row {
  display: flex; justify-content: space-between; gap: 8px;
  padding: 8px 0; border-bottom: 1px solid #D9D1C6;
  font-size: 11px;
}
.phone-content .row b { font-weight: 500; color: #3F3C3B; font-family: var(--display); font-size: 13px; letter-spacing: -0.01em; }
.phone-content .row .p { font-family: var(--mono); color: #8E3314; }
.phone-content .img {
  height: 72px; border-radius: 10px; margin: 10px 0;
  background:
    linear-gradient(135deg, rgba(31,95,102,.4), rgba(142,51,20,.35)),
    repeating-linear-gradient(45deg, #ECE6DF 0 6px, #E2DACF 6px 12px);
}
.phone-content .stars { color: #8E3314; font-size: 13px; letter-spacing: 2px; }
.phone-content .chip {
  display: inline-block; font-family: var(--mono); font-size: 9px;
  padding: 3px 8px; border-radius: 999px;
  background: #1F5F66; color: #F2EEEA;
  text-transform: uppercase; letter-spacing: .1em;
  margin-right: 4px;
}
.phone-content .btn-mini {
  background: #8E3314; color: #FBF9F6; border-radius: 999px;
  padding: 9px 14px; font-size: 11px; text-align: center;
  margin-top: 10px; font-family: var(--sans); font-weight: 500;
}
.phone-content .link-row {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border: 1px solid #D9D1C6; border-radius: 10px;
  margin-bottom: 6px; background: #FBF9F6;
  font-size: 11px;
}
.phone-content .link-row .dot {
  width: 8px; height: 8px; border-radius: 50%; background: #1F5F66;
}

/* Landings: multiple pre-rendered screens, only .is-active shown */
.phone-screen { display: block; }
.phone-screen > .phone-content {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
}
.phone-screen > .phone-content.is-active { display: flex; }

.phone-content .pw-box {
  font-family: var(--mono); font-size: 13px;
  padding: 10px; margin: 14px 0;
  background: #FBF9F6; border: 1px dashed #D9D1C6; border-radius: 8px;
  color: #3F3C3B;
}
.phone-content .note-after { font-size: 12px; color: #6B6663; margin: 10px 0; line-height: 1.5; }
.phone-content .pick-row { display: flex; gap: 6px; flex-wrap: wrap; margin: 6px 0 12px; }
.phone-content .pick-row .chip { background: #ECE6DF; color: #3F3C3B; }
.phone-content .pick-row .chip.chip-active { background: #1F5F66; color: #F2EEEA; }
.phone-content .rev-stars-wrap { margin: 10px 0 12px; }
.phone-content .rev-stars-wrap .rev-note { font-size: 11px; color: #6B6663; margin-top: 4px; }
.phone-content .link-row .row-arr { margin-left: auto; color: #8E3314; }
.phone-content .off-price { display: flex; align-items: baseline; gap: 8px; margin: 8px 0 6px; }
.phone-content .off-price .pct { font-family: var(--display); font-size: 26px; color: #8E3314; font-weight: 600; }
.phone-content .off-price .pct-note { font-family: var(--mono); font-size: 11px; color: #6B6663; }

@media (max-width: 720px) {
  /* explicit size instead of aspect-ratio — iOS Safari doesn't reliably
     propagate aspect-ratio-derived height to percentage-height descendants
     inside a grid item, which is why .phone-content wasn't filling */
  .phone-frame { width: 260px; max-width: 260px; height: 520px; aspect-ratio: auto; }
}

/* ===== Physical products ===== */
.products-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
  min-height: 520px;
}
@media (max-width: 900px) { .products-grid { grid-template-columns: 1fr 1fr; grid-template-rows: none; min-height: auto; } }
@media (max-width: 520px) { .products-grid { grid-template-columns: 1fr; } }
.product {
  border-radius: 18px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 200px;
  transition: all .3s ease;
}
.product:hover { transform: translateY(-2px); }
.product.big { grid-row: span 2; }
@media (max-width: 900px) { .product.big { grid-row: auto; } }
.product .ph {
  flex: 1;
  border-radius: 12px;
  background: var(--cream-2);
  border: 1px solid var(--border);
  margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  min-height: 120px;
  position: relative;
  overflow: hidden;
}
.product .ph::before {
  content: '';
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0 8px, color-mix(in srgb, var(--fg) 5%, transparent) 8px 9px);
}
.product .ph-label {
  position: relative;
  font-family: var(--mono); font-size: 10px;
  color: var(--fg-muted);
  text-transform: uppercase; letter-spacing: 0.1em;
  padding: 4px 10px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 999px;
}
.product h3 {
  font-family: var(--display); font-weight: 500;
  font-size: 22px; letter-spacing: -0.02em;
  margin: 0 0 6px;
}
.product p { color: var(--fg-soft); font-size: 13px; margin: 0; }
.product.big h3 { font-size: 32px; letter-spacing: -0.03em; }

.ph-visual {
  position: relative;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  padding: 16px;
  overflow: hidden;
}
.ph-visual .ph-qr {
  width: min(60%, 100px);
  aspect-ratio: 1/1;
  background: #FBF9F6;
  border-radius: 10px;
  padding: 8%;
  box-shadow: 0 12px 32px -14px rgba(0,0,0,.25);
  border: 1px solid var(--border);
}
.ph-visual-0 .ph-qr { border-radius: 50%; transform: rotate(-6deg); }

/* Real product photo (fills entire .ph, hides the diagonal hatching) */
.ph-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  border-radius: 12px;
}
.product .ph:has(.ph-photo)::before { display: none; }

/* Mobile: rámeček fotky kopíruje proporci obrázku → cover vyplní bez ořezu */
@media (max-width: 900px) {
  .product .ph:has(.ph-photo) {
    flex: none;
    min-height: auto;
  }
  /* Samolepky — 532×418 */
  .product .ph:has(.ph-visual-0) { aspect-ratio: 532 / 418; }
  /* 3D QR štítky — 1400×788 (16:9) */
  .product .ph:has(.ph-visual-1) { aspect-ratio: 16 / 9; }
  /* Stolní stojánek — 1448×1086 (4:3) */
  .product .ph:has(.ph-visual-2) { aspect-ratio: 4 / 3; }
}

/* Product subtitle — short punch line under main description */
.product-sub {
  margin-top: 6px;
  color: var(--sienna);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
}

/* Clickable thumbnail (opens lightbox) */
.ph-btn {
  position: absolute;
  inset: 0;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
  z-index: 2;
}
.ph-btn:focus-visible {
  outline: 2px solid var(--sienna);
  outline-offset: -2px;
  border-radius: 12px;
}
.ph-btn .ph-photo {
  transition: transform .35s var(--ease);
}
.ph-btn:hover .ph-photo { transform: scale(1.03); }

/* Free-trial registration form (#popup-register) */
.reg-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 4px;
}
.reg-form-label {
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
}
.reg-form-input {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--fg);
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.reg-form-input::placeholder { color: var(--fg-muted); }
.reg-form-input:focus {
  border-color: var(--sienna);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sienna) 14%, transparent);
}
.reg-form-msg {
  font-size: 13px;
  line-height: 1.4;
  padding: 0;
  min-height: 0;
}
.reg-form-msg.is-error {
  color: #991B1B;
  background: color-mix(in srgb, #991B1B 6%, transparent);
  border: 1px solid color-mix(in srgb, #991B1B 18%, transparent);
  padding: 10px 12px;
  border-radius: 10px;
}
.reg-form-msg.is-success {
  color: var(--teal);
  background: color-mix(in srgb, var(--teal) 8%, transparent);
  border: 1px solid color-mix(in srgb, var(--teal) 22%, transparent);
  padding: 10px 12px;
  border-radius: 10px;
}
.reg-form-submit {
  width: 100%;
  padding: 16px 24px;
  font-size: 15px;
  margin-top: 4px;
}
.reg-form-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.reg-form-tos {
  margin: 0;
  font-size: 11px;
  color: var(--fg-muted);
  line-height: 1.5;
  text-align: center;
}
.reg-form-alt {
  flex-direction: column;
  align-items: stretch;
  gap: 6px;
  text-align: center;
  justify-content: center;
}
.reg-form-alt-link {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--fg-soft);
  font-weight: 500;
  transition: color .2s;
}
.reg-form-alt-link:hover { color: var(--sienna); }

/* Photo lightbox dialog — centered, transparent sheet, floating close.
   Overrides drawer defaults above. */
dialog.mdl.mdl-photo {
  max-width: 1100px;
  width: calc(100% - 32px);
  height: auto;
  max-height: 90vh;
  inset: 0;
  margin: auto;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  animation: mdlFadeIn .22s ease;
}
@keyframes mdlFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: none; }
}
dialog.mdl.mdl-photo img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 18px;
  box-shadow: 0 40px 80px -30px rgba(15, 23, 32, 0.55);
}
.mdl-close-floating {
  position: absolute;
  top: -14px;
  right: -14px;
  width: 40px; height: 40px;
  background: var(--cream);
  border: 1px solid var(--ink);
  color: var(--ink);
  box-shadow: 0 8px 24px -8px rgba(15, 23, 32, 0.4);
  z-index: 3;
}
.mdl-close-floating:hover {
  background: var(--ink);
  color: var(--cream);
}
@media (max-width: 640px) {
  dialog.mdl.mdl-photo {
    width: 100%;
    border-radius: 0;
    padding: 16px;
    inset: 0;
    max-height: 100vh;
  }
  dialog.mdl.mdl-photo img { border-radius: 12px; }
  .mdl-close-floating {
    top: 8px;
    right: 8px;
  }
}
.ph-visual-1 .ph-qr {
  background: radial-gradient(circle at 30% 20%, #FFF, #E2DACF 70%);
  border-radius: 14px;
  transform: rotate(8deg);
  box-shadow: 0 18px 30px -10px rgba(0,0,0,.3), inset -4px -4px 10px rgba(0,0,0,.05);
  border: none;
}
.ph-visual-2 .ph-qr {
  width: min(50%, 78px);
  border-radius: 6px 6px 2px 2px;
  padding: 10% 10% 6%;
  box-shadow: 0 14px 20px -12px rgba(0,0,0,.25);
}
.nfc-tag {
  width: 100px; height: 60px;
  background: linear-gradient(135deg, #1F5F66, #0F3A40);
  border-radius: 10px;
  color: #F2EEEA;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 14px; letter-spacing: .15em;
  box-shadow: 0 14px 28px -10px rgba(0,0,0,.35);
}
.brand-swatches { display: flex; gap: 8px; padding: 10px; }
.brand-swatches .sw {
  width: 40px; height: 54px;
  border-radius: 6px; padding: 4px;
  display: flex; align-items: center; justify-content: center;
  color: #F2EEEA; font-family: var(--display); font-size: 18px;
}
.brand-swatches .sw:nth-child(1) { transform: rotate(-3deg); }
.brand-swatches .sw:nth-child(2) { transform: translateY(-4px); }
.brand-swatches .sw:nth-child(3) { transform: rotate(3deg); }

/* ===== Stats section (dark) ===== */
.stats-section {
  background: var(--teal-ink);
  color: var(--cream);
  margin: 0;
  border-radius: 32px;
  padding: 96px 0;
  position: relative;
  overflow: hidden;
}
.stats-section .wrap { color: var(--cream); }
.stats-section .section-title,
.stats-section .section-lead,
.stats-section .kicker { color: var(--cream); }
.stats-section .section-lead { color: color-mix(in srgb, var(--cream) 75%, transparent); }
.stats-section .kicker { color: color-mix(in srgb, var(--cream) 60%, transparent); }
.stats-section::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(242,238,234,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242,238,234,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%);
  -webkit-mask-image: radial-gradient(circle at 70% 30%, #000, transparent 70%);
}
.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: color-mix(in srgb, var(--cream) 20%, transparent);
  border: 1px solid color-mix(in srgb, var(--cream) 20%, transparent);
  border-radius: 18px;
  overflow: hidden;
  position: relative;
}
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .stats-grid { grid-template-columns: 1fr; } }
.metric {
  background: var(--teal-ink);
  padding: 32px 28px;
}
.metric .l {
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: color-mix(in srgb, var(--cream) 60%, transparent);
}
.metric .v {
  font-family: var(--display); font-weight: 500; font-size: 56px; line-height: 1;
  margin-top: 16px; letter-spacing: -0.035em;
}
.metric .d {
  font-family: var(--mono); font-size: 12px;
  color: #E8A68A; margin-top: 8px;
  display: inline-flex; align-items: center; gap: 6px;
}
.metric .d::before {
  content: '↗'; font-size: 14px;
}
.chart-wrap {
  margin-top: 48px;
  padding: 32px;
  background: color-mix(in srgb, var(--cream) 4%, transparent);
  border: 1px solid color-mix(in srgb, var(--cream) 14%, transparent);
  border-radius: 18px;
  position: relative;
}
.chart-head {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 24px;
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: color-mix(in srgb, var(--cream) 60%, transparent);
}

/* ===== Pricing ===== */
.pricing-toggle {
  display: inline-flex;
  background: var(--cream-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-top: 20px;
}
.pricing-toggle button {
  padding: 8px 16px;
  color: var(--fg-muted);
  border-radius: 999px;
  transition: all .2s;
}
.pricing-toggle button.active { background: var(--ink); color: var(--cream); }
[data-theme="dark"] .pricing-toggle button.active { }
.pricing-toggle .save-badge {
  margin-left: 6px;
  color: var(--sienna);
  text-transform: none;
  letter-spacing: 0;
}
.plans {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 900px) { .plans { grid-template-columns: 1fr; } }
.plan {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  display: flex; flex-direction: column;
  position: relative;
}
.plan.featured {
  border-color: var(--sienna);
  background: color-mix(in srgb, var(--sienna) 3%, var(--card));
  box-shadow: 0 20px 40px -24px color-mix(in srgb, var(--sienna) 40%, transparent);
}
.plan-badge {
  position: absolute; top: -10px; left: 24px;
  font-family: var(--mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em;
  background: var(--sienna); color: #FBF9F6;
  padding: 5px 12px; border-radius: 999px;
}
.plan-name {
  font-family: var(--display); font-weight: 500; font-size: 28px;
  letter-spacing: -0.025em;
}
.plan-desc { color: var(--fg-soft); font-size: 14px; margin-top: 4px; }
.plan-price {
  display: flex; align-items: baseline; gap: 6px;
  margin: 28px 0 20px;
}
.plan-price .n {
  font-family: var(--display); font-weight: 500; font-size: 56px; line-height: 1;
  letter-spacing: -0.035em;
}
.plan-price .c { font-family: var(--mono); font-size: 13px; color: var(--fg-muted); }
.plan-price .per { font-family: var(--mono); font-size: 12px; color: var(--fg-muted); }
.plan-feat {
  list-style: none; margin: 0 0 28px; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14px; color: var(--fg-soft);
  flex: 1;
}
.plan-feat li {
  padding-left: 22px; position: relative;
}
.plan-feat li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 12px; height: 6px;
  border-left: 1.5px solid var(--sienna);
  border-bottom: 1.5px solid var(--sienna);
  transform: rotate(-45deg);
}

/* ===== Why Veruno ===== */
.why-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 56px;
}
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; gap: 32px; } }
.why-list { display: flex; flex-direction: column; }
.why-row {
  display: grid; grid-template-columns: 48px 1fr auto;
  gap: 16px; align-items: center;
  padding: 22px 0;
  border-top: 1px solid var(--border);
  font-size: 18px;
  transition: color .2s;
}
.why-row:hover { color: var(--sienna); }
.why-row:last-child { border-bottom: 1px solid var(--border); }
.why-row .n {
  font-family: var(--mono); font-size: 11px; color: var(--fg-muted);
}
.why-row .t { font-family: var(--display); font-weight: 500; font-size: 20px; letter-spacing: -0.02em; text-wrap: pretty; }
.why-row .arr { font-family: var(--display); font-style: italic; color: var(--sienna); font-size: 22px; }

/* ===== FAQ ===== */
.faq-list {
  border-top: 1px solid var(--border);
}
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  text-align: left;
  padding: 28px 0;
  display: flex; justify-content: space-between; align-items: center;
  gap: 20px;
  font-family: var(--display); font-weight: 500; font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--fg);
  transition: color .2s;
}
.faq-q:hover { color: var(--sienna); }
.faq-q .toggle {
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--mono); font-size: 18px; color: var(--fg);
  flex-shrink: 0;
  transition: all .3s;
}
.faq-item.open .toggle { background: var(--sienna); color: #FBF9F6; border-color: var(--sienna); transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s ease, padding .3s ease;
  color: var(--fg-soft);
  font-size: 16px; line-height: 1.6;
  padding: 0 60px 0 0;
}
.faq-item.open .faq-a { max-height: 400px; padding-bottom: 28px; }

/* ===== Final CTA ===== */
.final-cta {
  background: var(--ink);
  color: var(--cream);
  border-radius: 32px;
  padding: 96px 48px;
  text-align: center;
  margin: 32px 0 0;
  position: relative;
  overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--sienna) 30%, transparent), transparent 40%),
    radial-gradient(circle at 80% 80%, color-mix(in srgb, var(--teal) 30%, transparent), transparent 50%);
}
.final-cta > * { position: relative; }
.final-cta h2 {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(44px, 6.5vw, 84px);
  line-height: 0.95; letter-spacing: -0.035em;
  margin: 0 0 20px;
  color: var(--cream);
  text-wrap: balance;
}
.final-cta p {
  color: color-mix(in srgb, var(--cream) 75%, transparent);
  font-size: 18px; max-width: 580px; margin: 0 auto 40px;
}
.final-cta .btn-primary {
  background: var(--cream); color: var(--ink);
  box-shadow: 0 12px 32px -16px rgba(242,238,234,.6);
}
.final-cta .btn-primary:hover { background: #FFFFFF; }
.final-cta .btn-secondary { border-color: color-mix(in srgb, var(--cream) 30%, transparent); color: var(--cream); }
.final-cta .btn-secondary:hover { border-color: var(--cream); }

/* ===== Footer ===== */
footer {
  padding: 80px 0 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--border);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.footer-brand .brand { font-size: 32px; }
.footer-brand .tag {
  color: var(--fg-soft); margin-top: 12px;
  max-width: 240px; font-size: 14px;
}
.footer-col h4 {
  font-family: var(--mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--fg-muted); margin: 0 0 16px;
}
.footer-col ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-direction: column; gap: 10px;
  font-size: 14px;
}
.footer-col a { color: var(--fg-soft); transition: color .2s; }
.footer-col a:hover { color: var(--fg); }
.footer-bot {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 32px;
  font-family: var(--mono); font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase; letter-spacing: 0.1em;
}
@media (max-width: 720px) { .footer-bot { flex-direction: column; gap: 12px; } }

/* ===== Tweaks panel ===== */
.tweaks-panel {
  position: fixed; bottom: 24px; right: 24px;
  background: var(--card);
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.3);
  z-index: 100;
  display: none;
  font-family: var(--mono); font-size: 11px;
}
.tweaks-panel.visible { display: block; }
.tweaks-panel h5 {
  margin: 0 0 12px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: var(--fg-muted);
}
.tweak-row { display: flex; align-items: center; gap: 10px; }
.tweak-toggle {
  display: inline-flex; background: var(--cream-2);
  border: 1px solid var(--border); border-radius: 999px;
  overflow: hidden;
}
.tweak-toggle button {
  padding: 6px 12px; font-family: var(--mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--fg-muted);
}
.tweak-toggle button.active { background: var(--ink); color: var(--cream); }
[data-theme="dark"] .tweak-toggle button.active { }

/* ===== Reveal on scroll ===== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .7s cubic-bezier(.2,.6,.2,1), transform .7s cubic-bezier(.2,.6,.2,1);
}
.reveal.in { opacity: 1; transform: none; }

/* mobile tweaks */
@media (max-width: 600px) {
  .hero { padding: 40px 0 64px; }
  .hero-mini-stats { gap: 20px; }
  .mini-stat .v { font-size: 28px; }
  .benefit { padding: 24px; }
  .case { padding: 28px 20px; }
  .problem-card { padding: 28px 24px; }
  .final-cta { padding: 64px 24px; }
  .landings-wrap { padding: 24px; }
}


/* Hero tertiary CTA (ghost) */
.hero-cta-tertiary { color: var(--fg-muted); }
.hero-cta-tertiary:hover { color: var(--sienna); }

/* Coming-soon badge on physical products */
.product .ph { position: relative; }
.coming-badge {
  position: absolute; top: 12px; right: 12px;
  font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase;
  background: var(--ink); color: var(--cream);
  padding: 4px 8px; border-radius: 999px;
  z-index: 2;
}
[data-theme="dark"] .coming-badge { }

.physical-bonus {
  margin-top: 40px;
  display: flex; align-items: center; gap: 14px;
  padding: 20px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-family: var(--display);
  font-size: 18px;
  color: var(--fg);
  max-width: 560px;
}
.physical-bonus .mono { font-size: 16px; color: var(--sienna); }

/* Future / roadmap */
.future-list {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--border);
  max-width: 880px;
}
.future-row {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.future-row .n {
  font-size: 13px; color: var(--fg-muted);
  letter-spacing: .05em;
}
.future-body h3 {
  font-family: var(--display); font-weight: 500;
  font-size: 22px; margin: 0 0 4px;
  letter-spacing: -0.01em;
}
.future-body p {
  font-size: 14px; color: var(--fg-soft);
  margin: 0;
}
.future-status {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--fg-muted);
  padding: 5px 10px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--cream);
}
.future-status.live {
  color: var(--teal); border-color: var(--teal);
  background: transparent;
}
[data-theme="dark"] .future-status.live { }
@media (max-width: 640px) {
  .future-row { grid-template-columns: 40px 1fr; gap: 12px; }
  .future-status { grid-column: 2; justify-self: start; margin-top: 4px; }
}

/* ===== Change list (Problem section footer) ===== */
.change-list {
  margin-top: 56px;
  padding: 32px;
  background: var(--cream-2);
  border: 1px solid var(--border);
  border-radius: 20px;
}
.change-list h4 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
  color: var(--fg);
}
.change-list .chips {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.chip-lg {
  display: inline-flex; align-items: center;
  padding: 8px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 14px;
  color: var(--fg);
  font-weight: 500;
}

/* ===== Upsell ===== */
.upsell-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .upsell-grid { grid-template-columns: 1fr; gap: 40px; }
}
.upsell-list {
  background: var(--cream-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 40px;
}
.upsell-intro {
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.upsell-list ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 0;
}
.upsell-list li {
  display: flex; gap: 18px;
  padding: 18px 0;
  border-bottom: 1px dashed var(--border);
  align-items: baseline;
}
.upsell-list li:last-child { border-bottom: none; }
.upsell-list .n {
  font-size: 12px;
  color: var(--sienna);
  font-weight: 500;
  letter-spacing: 0.05em;
  flex-shrink: 0;
  min-width: 24px;
}
.upsell-list .t {
  font-size: 17px;
  color: var(--fg);
  line-height: 1.45;
}
.upsell-outro {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--fg-soft);
  font-style: italic;
  line-height: 1.5;
}

/* ===== Link section ===== */
.link-hero {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
}
@media (max-width: 900px) {
  .link-hero { grid-template-columns: 1fr; }
}
.link-example {
  padding: 48px 40px;
  background: var(--ink);
  color: var(--cream);
  display: flex; flex-direction: column; justify-content: center;
  gap: 20px;
  min-height: 220px;
}
.link-example-label {
  font-size: 11px;
  color: var(--cream-3);
  opacity: 0.6;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.link-example-url {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(28px, 4vw, 47px);
  letter-spacing: -0.025em;
  color: var(--cream);
  line-height: 1.1;
  word-break: break-all;
}
@media (max-width: 560px) {
  .link-example { padding: 32px 20px; }
  .link-example-url { font-size: clamp(15px, 5vw, 20px); white-space: nowrap; }
  .link-example-url .slug { font-size: clamp(19px, 6.2vw, 26px); }
}
.link-example-url .host { color: var(--cream); opacity: 0.55; }
.link-example-url .slug { color: var(--cream); }
.link-cursor {
  display: inline-block;
  width: 3px; height: 0.8em;
  background: var(--sienna);
  margin-left: 4px;
  vertical-align: -0.08em;
  animation: blink 1.1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.link-usage {
  padding: 40px;
  display: flex; flex-direction: column;
  gap: 18px;
}
.link-usage-title {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
}
.link-usage-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
}
.link-outro {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--fg-soft);
  line-height: 1.5;
  margin-bottom: 0;
}

/* ===== Stats inline ===== */
.stats-inline {
  margin-top: 48px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .stats-inline { grid-template-columns: 1fr; gap: 40px; }
}
.stats-left { display: flex; flex-direction: column; gap: 20px; }
.stats-intro {
  font-size: 11px;
  color: var(--fg-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.stats-bullets {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 14px;
}
.stats-bullets li {
  display: flex; gap: 14px;
  align-items: baseline;
  font-size: 17px;
  line-height: 1.5;
  color: var(--fg);
}
.stats-bullets .n {
  color: var(--teal);
  font-size: 12px;
  font-weight: 500;
  min-width: 22px;
  flex-shrink: 0;
}
.stats-outro {
  margin-top: 8px;
  font-size: 14px;
  color: var(--fg-soft);
  font-style: italic;
  line-height: 1.5;
}

.stats-figure {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px 18px 22px;
}
.stats-figure-stage { position: relative; }
.stats-figure-zoom {
  display: block;
  position: relative;
  width: 100%;
  padding: 0;
  margin: 0;
  background: transparent;
  border: 0;
  border-radius: 12px;
  cursor: zoom-in;
  overflow: hidden;
}
.stats-highlight {
  position: absolute;
  top: -16px;
  left: -16px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 18px 12px;
  background: var(--sienna);
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 18px 36px -16px rgba(142, 51, 20, 0.55), 0 4px 10px -4px rgba(15, 23, 32, 0.18);
  transform: rotate(-3deg);
  pointer-events: none;
  max-width: 60%;
}
.stats-highlight-num {
  font-family: var(--display);
  font-weight: 600;
  font-size: 44px;
  line-height: 0.95;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.stats-highlight-label {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.92;
  line-height: 1.25;
  margin-top: 4px;
}
@media (max-width: 720px) {
  .stats-highlight {
    top: -10px;
    left: -8px;
    padding: 10px 14px 9px;
    border-radius: 10px;
    transform: rotate(-2deg);
  }
  .stats-highlight-num { font-size: 32px; }
  .stats-highlight-label { font-size: 9.5px; }
}

/* Stats lightbox — okno má rozměr fotky (ne viewportu).
   width/height: fit-content + max-width/max-height pro malé viewporty. */
dialog.mdl.mdl-photo#popup-stats-photo {
  background: #F2EEEA;
  padding: 10px 5px 5px;
  box-shadow: none;
  width: fit-content;
  height: fit-content;
  max-width: calc(100vw - 32px);
  max-height: calc(100vh - 32px);
}
dialog.mdl.mdl-photo#popup-stats-photo img {
  box-shadow: none;
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(100vh - 47px);
}
.stats-figure-zoom:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
}
.stats-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.stats-zoom-hint {
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 12px;
  background: rgba(15, 23, 32, 0.78);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 999px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}
.stats-figure-zoom:hover .stats-zoom-hint,
.stats-figure-zoom:focus-visible .stats-zoom-hint {
  opacity: 1;
  transform: none;
}
@media (max-width: 720px) {
  .stats-zoom-hint { opacity: 1; transform: none; right: 8px; bottom: 8px; padding: 5px 10px; font-size: 9px; }
}
.stats-figure figcaption {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 16px;
  padding: 0 4px;
}
.stats-figure .caption-label {
  flex-shrink: 0;
  font-size: 10px;
  font-weight: 600;
  color: var(--sienna);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding-top: 3px;
  white-space: nowrap;
}
.stats-figure .caption-text {
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-soft);
}
@media (max-width: 720px) {
  .stats-figure { padding: 12px 12px 16px; }
  .stats-figure figcaption { flex-direction: column; gap: 6px; margin-top: 14px; }
  .stats-figure .caption-text { font-size: 12.5px; }
}

/* ===== Pricing — credit modules ===== */

/* Info badge next to the "300 kreditů" lead text */
.credit-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 10px;
  padding: 5px 12px 5px 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--fg-soft);
  cursor: pointer;
  transition: all .2s ease;
  vertical-align: middle;
  line-height: 1;
}
.credit-hint:hover {
  border-color: var(--fg);
  color: var(--fg);
}
.credit-hint-icon {
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--cream);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-style: italic;
  font-size: 11px;
  font-weight: 500;
  flex-shrink: 0;
}
.credit-hint-label { white-space: nowrap; }

/* Modules grid */
.modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
@media (max-width: 900px) { .modules { grid-template-columns: 1fr; } }

/* Module card */
.module {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  transition: border-color .2s ease, transform .25s ease, box-shadow .25s ease;
}
.module:hover {
  border-color: var(--border-strong);
  transform: translateY(-2px);
  box-shadow: 0 24px 48px -28px rgba(15, 23, 32, 0.18);
}

.module-head {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.module-name {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--fg);
}

/* Big price — the visual anchor of each card */
.module-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.module-price-n {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(56px, 7vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--sienna);
}
.module-price-unit {
  font-size: 13px;
  color: var(--fg-muted);
  letter-spacing: 0.02em;
  text-transform: lowercase;
}

.module-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.module-desc {
  font-size: 15px;
  color: var(--fg);
  margin: 0;
  line-height: 1.5;
}
.module-sub {
  font-size: 14px;
  color: var(--fg-soft);
  margin: 0;
  line-height: 1.55;
}

.module-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}
.module-ctas .btn { flex: 1 1 auto; }
.module-ctas .btn-secondary {
  background: transparent;
  color: var(--fg-soft);
  border: 1px solid var(--border);
}
.module-ctas .btn-secondary:hover {
  color: var(--fg);
  border-color: var(--border-strong);
}

/* Note under the module grid */
.modules-footer {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}
.modules-footer-strong {
  font-family: var(--display);
  font-weight: 500;
  font-size: 20px;
  letter-spacing: -0.02em;
  color: var(--fg);
  margin: 0;
}
.modules-footer-soft {
  font-size: 15px;
  color: var(--fg-soft);
  margin: 0;
}
@media (max-width: 720px) {
  .modules-footer-strong { font-size: 18px; }
  .modules-footer-soft  { font-size: 14px; }
}

/* ===== Dialog (module / credit popups) =====
   Uses native <dialog> — showModal() / close(). Backdrop via ::backdrop.
   Right-side drawer pattern (desktop + mobile). Full height, scrollable. */
dialog.mdl {
  border: none;
  padding: 0;
  background: transparent;
  color: var(--fg);
  width: min(480px, 100%);
  height: 100vh;
  height: 100dvh;
  max-width: 100%;
  max-height: 100vh;
  max-height: 100dvh;
  inset: 0 0 0 auto;
  margin: 0;
  border-radius: 20px 0 0 20px;
  box-shadow: -40px 0 80px -30px rgba(15, 23, 32, 0.35);
  overflow: visible;
}
dialog.mdl::backdrop {
  background: color-mix(in srgb, var(--ink) 55%, transparent);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
dialog.mdl[open] { animation: mdlSlideInRight .28s cubic-bezier(.2,.6,.2,1); }
@keyframes mdlSlideInRight {
  from { transform: translateX(100%); opacity: .4; }
  to   { transform: translateX(0); opacity: 1; }
}

.mdl-sheet {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px 0 0 20px;
  padding: 32px 28px 28px;
  height: 100%;
  max-height: 100%;
  overflow-y: auto;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.mdl-close {
  position: absolute;
  top: 12px; right: 12px;
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--fg);
  font-size: 24px;
  line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all .2s ease;
}
.mdl-close:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.mdl-handle {
  display: none;
  width: 40px; height: 4px;
  background: var(--border-strong);
  border-radius: 2px;
  margin: 4px auto 18px;
}
.mdl-head { margin-bottom: 18px; }
.mdl-kicker {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sienna);
  margin-bottom: 8px;
}
.mdl-title {
  font-family: var(--display);
  font-weight: 500;
  font-size: 28px;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin: 0;
}
.mdl-intro {
  margin: 8px 0 0;
  color: var(--fg-soft);
  font-size: 15px;
  line-height: 1.5;
}
.mdl-intro-sub {
  margin-top: 6px;
  color: var(--sienna);
  font-weight: 500;
}
.mdl-body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding-top: 4px;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}
.mdl-group-label {
  font-family: var(--display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.015em;
  text-transform: none;
  color: var(--fg);
  margin-bottom: 6px;
}
.mdl-group-label.mono {
  /* override .mono utility — display font wins for section titles */
  font-family: var(--display);
  letter-spacing: -0.015em;
  font-variant-numeric: normal;
}
.mdl-group-desc {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-soft);
}
.mdl-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.mdl-list li {
  font-size: 14px;
  padding: 6px 12px;
  background: var(--cream-2);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--fg);
  line-height: 1.2;
}
.mdl-list-narrative {
  flex-direction: column;
  flex-wrap: nowrap;
  gap: 10px;
}
.mdl-list-narrative li {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 0 0 22px;
  position: relative;
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-soft);
}
.mdl-list-narrative li::before {
  content: '';
  position: absolute; left: 0; top: 8px;
  width: 12px; height: 6px;
  border-left: 1.5px solid var(--sienna);
  border-bottom: 1.5px solid var(--sienna);
  transform: rotate(-45deg);
}

/* Definition list (item + dash + description) — used in Rezervace popup */
.mdl-list-defs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mdl-list-defs li {
  font-size: 15px;
  line-height: 1.55;
  color: var(--fg-soft);
  padding-left: 14px;
  border-left: 2px solid var(--sienna);
}
.mdl-list-defs strong {
  color: var(--fg);
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Note paragraph after groups (e.g. Stripe disclaimer) */
.mdl-note {
  margin: 0;
  padding: 14px 16px;
  background: var(--cream-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  font-size: 13px;
  line-height: 1.55;
  color: var(--fg-soft);
}
.mdl-foot {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.mdl-foot-label {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--fg-muted);
}
.mdl-foot-text {
  font-size: 14px;
  color: var(--fg);
}
.mdl-foot-cta {
  justify-content: flex-end;
  border-top: 1px solid var(--border);
  margin-top: 20px;
  padding-top: 16px;
}

/* Mobile: full-width right drawer */
@media (max-width: 640px) {
  dialog.mdl {
    max-width: 100%;
    width: 100%;
    border-radius: 0;
  }
  .mdl-sheet {
    border-radius: 0;
    padding: 24px 20px 28px;
  }
  .mdl-handle { display: none; }
  .mdl-close {
    top: 14px;
    right: 14px;
    width: 32px; height: 32px;
    font-size: 20px;
  }
  .mdl-title { font-size: 24px; }
}

/* Body lock while any dialog is open */
body:has(dialog.mdl[open]) { overflow: hidden; }
