/* qCMS landing — tokens borrowed from custom.css, layered with SaaS-flavored layout utilities */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,300;9..144,400;9..144,500;9..144,600&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  --cream:       #faf6ef;
  --cream-2:     #f4ede1;
  --cream-3:     #ebe2d2;
  --paper:       #ffffff;
  --ink:         #1f1b16;
  --ink-2:       #4a4239;
  --ink-3:       #8a7d6b;
  --hair:        #e8e2d4;
  --hair-2:      #d9d0bd;
  --blush:       #e8c5c0;
  --blush-deep:  #b05b3c;
  --sage:        #a8b89a;
  --sage-deep:   #6e8266;
  --gold:        #b8956a;

  --accent:       var(--blush-deep);
  --accent-soft:  var(--blush);
  --accent-tint:  rgba(201,138,133,0.10);

  --serif:  'Fraunces', 'Cormorant Garamond', Georgia, serif;
  --sans:   'Inter', system-ui, sans-serif;
  --mono:   'JetBrains Mono', ui-monospace, monospace;

  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
  --r-xl: 22px;
}

/* palette swap helpers — Tweaks toggle these */
[data-palette="sage"] {
  --accent:      var(--sage-deep);
  --accent-soft: var(--sage);
  --accent-tint: rgba(110,130,102,0.12);
}
[data-palette="cobalt"] {
  --accent:      oklch(52% 0.15 252);
  --accent-soft: oklch(78% 0.07 252);
  --accent-tint: oklch(52% 0.15 252 / 0.12);
}
[data-palette="ochre"] {
  --accent:      var(--gold);
  --accent-soft: oklch(83% 0.07 70);
  --accent-tint: rgba(184,149,106,0.14);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; }

/* type primitives */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow .dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--accent);
  display: inline-block;
}
.display {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.0;
  font-size: clamp(40px, 6.4vw, 88px);
  color: var(--ink);
  margin: 0;
}
.display em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}
.h2 {
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(32px, 4.4vw, 56px);
  margin: 0;
}
.h2 em { font-style: italic; color: var(--accent); font-weight: 400; }
.lede {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--ink-2);
  line-height: 1.55;
  max-width: 56ch;
  margin: 0;
}

.label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: transform 120ms ease, background 120ms ease, color 120ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--hair-2);
}
.btn.ghost:hover { background: var(--paper); }
.btn.accent {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* page shell */
.shell {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 28px;
}
@media (max-width: 640px) {
  .shell { padding: 0 18px; }
}

/* nav */
.nav {
  position: sticky; top: 0; z-index: 30;
  backdrop-filter: blur(14px) saturate(150%);
  background: rgba(250,246,239,0.78);
  border-bottom: 1px solid var(--hair);
}
.nav-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--serif); font-weight: 400;
  font-size: 22px; letter-spacing: -0.01em;
  text-decoration: none; color: var(--ink);
}
.brand .mark {
  width: 30px; height: 30px;
  border-radius: 8px;
  background: var(--ink);
  color: var(--cream);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 17px;
}
.brand .mark::before {
  content: 'q';
  transform: translateY(-1px);
}
.brand .name { font-style: italic; }

.nav-links {
  display: flex; gap: 28px; align-items: center;
  font-size: 13.5px; color: var(--ink-2);
}
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--accent); }
@media (max-width: 760px) { .nav-links { display: none; } }

.nav-hamburger {
  display: none; background: none; border: none; cursor: pointer;
  padding: 6px; flex-direction: column; gap: 5px;
}
.nav-hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: all 180ms ease; }
@media (max-width: 760px) { .nav-hamburger { display: flex; } }

.mobile-menu {
  display: none; flex-direction: column; gap: 0;
  background: var(--paper); border-bottom: 1px solid var(--hair);
  padding: 12px 18px 18px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 10px 0; font-size: 15px; color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--hair); }
.mobile-menu a:last-of-type { border-bottom: none; }

/* hero shared */
.hero {
  position: relative;
  padding: clamp(48px, 8vw, 96px) 0 clamp(40px, 6vw, 72px);
  overflow: hidden;
}
.hero-grid {
  background-image:
    radial-gradient(circle, var(--hair-2) 1px, transparent 1px);
  background-size: 26px 26px;
  position: absolute;
  inset: 0;
  opacity: 0.55;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000, transparent 75%);
  pointer-events: none;
}

.hero-cta-row {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 28px;
}
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 18px 28px;
  margin-top: 32px;
  font-size: 12.5px;
  color: var(--ink-3);
}
.hero-meta b { color: var(--ink); font-weight: 600; }

.hero-split {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  position: relative;
  z-index: 1;
}
@media (max-width: 900px) {
  .hero-split { grid-template-columns: 1fr; }
}

.hero-centered {
  position: relative; z-index: 1;
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
}
.hero-centered .lede { margin: 0 auto; }
.hero-centered .hero-cta-row { justify-content: center; }
.hero-centered .hero-meta { justify-content: center; }

.hero-asym {
  position: relative; z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: end;
}
.hero-asym .display { font-size: clamp(56px, 10vw, 132px); }
@media (max-width: 900px) {
  .hero-asym { grid-template-columns: 1fr; }
}

/* product card preview chip in hero (only for split + centered) */
.preview-card {
  position: relative;
  border-radius: var(--r-xl);
  background: var(--paper);
  border: 1px solid var(--hair);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 30px 60px -30px rgba(31,27,22,0.18),
    0 8px 20px -8px rgba(31,27,22,0.08);
  overflow: hidden;
}

/* sections */
.section {
  padding: clamp(72px, 9vw, 120px) 0;
  position: relative;
}
.section.alt {
  background: var(--cream-2);
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.section-head {
  display: flex; flex-direction: column; gap: 14px;
  max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px);
}
.section-head.center {
  align-items: center; text-align: center; margin-left: auto; margin-right: auto;
}

/* features */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hair);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  overflow: hidden;
}
@media (max-width: 880px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .features { grid-template-columns: 1fr; } }

.feature {
  background: var(--paper);
  padding: 28px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative;
  min-height: 200px;
  transition: background 150ms ease;
}
.feature:hover { background: var(--cream); }
.feature .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.06em;
}
.feature h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 22px;
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.feature p {
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0;
}
.feature .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent-tint);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 18px;
  margin-bottom: 4px;
}

/* testimonial */
.quote-card {
  border: 1px solid var(--hair);
  background: var(--paper);
  border-radius: var(--r-xl);
  padding: clamp(32px, 5vw, 56px);
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 28px;
  align-items: start;
}
@media (max-width: 700px) {
  .quote-card { grid-template-columns: 1fr; gap: 18px; }
}
.quote-mark {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 300;
  font-size: 96px;
  line-height: 0.7;
  color: var(--accent);
}
.quote-text {
  font-family: var(--serif);
  font-weight: 300;
  font-size: clamp(20px, 2.6vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.quote-meta {
  margin-top: 22px;
  display: flex; align-items: center; gap: 12px;
  font-size: 13px; color: var(--ink-3);
}
.quote-meta .av {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent-tint);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-weight: 500; font-size: 14px;
}

/* pricing */
.pricing-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  max-width: 760px;
  margin: 0 auto;
}
@media (max-width: 640px) { .pricing-grid { grid-template-columns: 1fr; } }

.plan {
  border: 1px solid var(--hair);
  background: var(--paper);
  border-radius: var(--r-lg);
  padding: 28px;
  display: flex; flex-direction: column; gap: 14px;
  position: relative;
}
.plan.featured {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.plan .plan-name {
  font-family: var(--serif); font-weight: 400; font-size: 22px;
  margin: 0;
}
.plan .price {
  display: flex; align-items: baseline; gap: 6px;
}
.plan .price .num {
  font-family: var(--serif); font-weight: 300; font-size: 44px;
  letter-spacing: -0.02em; line-height: 1;
}
.plan .price .per {
  font-size: 13px; color: var(--ink-3);
}
.plan ul {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
  font-size: 13.5px; color: var(--ink-2);
}
.plan ul li::before {
  content: '✓';
  color: var(--accent);
  margin-right: 8px;
  font-weight: 600;
}
.plan .badge {
  position: absolute; top: 14px; right: 14px;
  font-family: var(--mono);
  font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase;
  background: var(--accent); color: white;
  padding: 4px 8px; border-radius: 999px;
}

.pricing-foot {
  text-align: center;
  margin-top: 24px;
  font-size: 13px;
  color: var(--ink-3);
}
.pricing-foot a { color: var(--accent); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* faq */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-top: 1px solid var(--hair);
  padding: 20px 0;
  cursor: pointer;
}
.faq-item:last-child { border-bottom: 1px solid var(--hair); }
.faq-item summary {
  list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font-family: var(--serif); font-weight: 400; font-size: 20px;
  color: var(--ink);
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus {
  font-family: var(--mono); font-size: 18px; color: var(--ink-3);
  transition: transform 200ms ease, color 200ms ease;
}
.faq-item[open] summary .plus { transform: rotate(45deg); color: var(--accent); }
.faq-item p {
  margin: 12px 0 0;
  color: var(--ink-2);
  font-size: 14.5px;
  line-height: 1.6;
  max-width: 65ch;
}

/* showcase */
.showcase-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(20px, 3vw, 32px);
}
@media (max-width: 700px) { .showcase-grid { grid-template-columns: 1fr; } }

.showcase-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-decoration: none;
  color: inherit;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: 14px 14px 18px;
  transition: transform 220ms cubic-bezier(0.32, 0.72, 0.3, 1), box-shadow 220ms ease, border-color 180ms ease;
}
.showcase-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-soft);
  box-shadow: 0 24px 40px -22px rgba(31,27,22,0.22), 0 6px 14px -8px rgba(31,27,22,0.08);
}
.showcase-frame {
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--hair);
  background: var(--cream);
}
.showcase-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  background: var(--cream-2);
  border-bottom: 1px solid var(--hair);
}
.showcase-dots { display: inline-flex; gap: 4px; }
.showcase-dots i {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--hair-2);
  display: inline-block;
}
.showcase-url {
  flex: 1;
  font-family: var(--mono);
  font-size: 10.5px;
  color: var(--ink-3);
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 3px 10px;
  text-align: center;
}
.showcase-bar-spacer { width: 38px; }
.showcase-screen {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
}
.showcase-mock { width: 100%; height: 100%; display: block; }
.showcase-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 0 4px;
}
.showcase-meta-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.showcase-name {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.showcase-cat { font-size: 12.5px; color: var(--ink-3); }
.showcase-go {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--cream-2);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
  color: var(--ink-2);
  flex-shrink: 0;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.showcase-card:hover .showcase-go {
  background: var(--accent);
  color: white;
  transform: rotate(0deg) translate(2px, -2px);
}
.showcase-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid var(--hair);
  flex-wrap: wrap;
  gap: 12px;
}
.showcase-foot-link {
  font-family: var(--serif);
  font-size: 17px;
  font-style: italic;
  color: var(--accent);
  text-decoration: none;
}
.showcase-foot-link:hover { text-decoration: underline; }

/* contact */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
  align-items: stretch;
}
.contact-side {
  display: grid;
  grid-template-columns: repeat(3, 1fr) auto;
  gap: 14px;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: 20px 24px;
  align-items: center;
}
.contact-row {
  display: flex; gap: 12px; align-items: center;
}
.contact-row .ico {
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--accent-tint);
  color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-family: var(--serif); font-style: italic; font-size: 16px;
}
.contact-row .label-sm {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-3); margin-bottom: 1px;
}
.contact-row .val { font-size: 13.5px; color: var(--ink); }
.contact-availability {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--ink-2);
  padding-left: 14px;
  border-left: 1px solid var(--hair);
}
@media (max-width: 760px) {
  .contact-side { grid-template-columns: 1fr 1fr; }
  .contact-availability { grid-column: 1 / -1; border-left: 0; padding-left: 0; padding-top: 8px; border-top: 1px solid var(--hair); }
}
@media (max-width: 460px) {
  .contact-side { grid-template-columns: 1fr; }
}

.contact-form {
  display: flex; flex-direction: column; gap: 18px;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-lg);
  padding: 28px;
}

/* intent segmented control — full-width pill */
.intent-seg {
  position: relative;
  display: flex;
  width: 100%;
  background: var(--cream-2);
  border: 1px solid var(--hair);
  border-radius: 999px;
  padding: 4px;
  gap: 0;
}
.intent-seg__thumb {
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  background: var(--paper);
  border-radius: 999px;
  box-shadow: 0 1px 3px rgba(31,27,22,0.08), 0 0 0 1px var(--hair);
  transition: transform 220ms cubic-bezier(0.32, 0.72, 0.3, 1);
  z-index: 0;
}
.intent-seg__btn {
  position: relative;
  z-index: 1;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 18px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--sans);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-3);
  border-radius: 999px;
  transition: color 180ms ease;
  white-space: nowrap;
  min-width: 0;
}
.intent-seg__btn.active { color: var(--ink); }
.intent-seg__btn:hover:not(.active) { color: var(--ink-2); }
.intent-seg__label { line-height: 1; }

.intent-badge {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--accent);
  color: white;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 500;
  line-height: 1.4;
}
.intent-desc-line {
  font-size: 13px;
  color: var(--ink-3);
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 420px) {
  .intent-seg { width: 100%; }
  .intent-seg__btn { flex: 1; justify-content: center; padding: 9px 10px; font-size: 12.5px; }
}

/* row of two fields side-by-side, collapses on mobile */
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 520px) { .field-row { grid-template-columns: 1fr; } }

/* chip group (timing selector) */
.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip {
  appearance: none;
  border: 1px solid var(--hair-2);
  background: var(--cream);
  color: var(--ink-2);
  font-family: var(--sans);
  font-size: 12.5px;
  font-weight: 500;
  padding: 7px 12px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 120ms ease;
}
.chip:hover { border-color: var(--accent-soft); color: var(--ink); }
.chip.active {
  border-color: var(--accent);
  background: var(--accent);
  color: white;
}

.field { display: flex; flex-direction: column; gap: 6px; }
.field input, .field textarea,
.form-inp, .form-ta, .form-sel {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--hair-2);
  border-radius: var(--r-md);
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  transition: border-color 120ms, box-shadow 120ms;
  outline: none;
  resize: vertical;
  box-sizing: border-box;
}
.field input:focus, .field textarea:focus,
.form-inp:focus, .form-ta:focus, .form-sel:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-tint);
}
.field textarea, .form-ta { min-height: 120px; }
.form-lbl { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-3); display: block; margin-bottom: 4px; }
.form-row { display: flex; flex-direction: column; gap: 6px; }

/* contact-side moved up */

/* footer */
.footer {
  border-top: 1px solid var(--hair);
  padding: 36px 0;
  font-size: 12.5px; color: var(--ink-3);
}
.footer-row {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  flex-wrap: wrap;
}

/* Generic 'live' chip */
.live-chip {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 5px 11px 5px 9px;
  border-radius: 999px;
  background: var(--paper);
  border: 1px solid var(--hair);
  font-size: 11.5px;
  color: var(--ink-2);
}
.live-chip .live-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--sage-deep);
  animation: breathe 2s ease-in-out infinite;
}
@keyframes breathe { 0%,100% { opacity: 0.55; } 50% { opacity: 1; } }
/* editor-demo.css — animated qCMS editor (Elektro Pro template) with mobile preview */

.ed {
  position: relative;
  width: 100%;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--hair);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.6) inset,
    0 30px 60px -30px rgba(31,27,22,0.18),
    0 8px 20px -8px rgba(31,27,22,0.08);
  aspect-ratio: 16 / 10;
  font-family: var(--sans);
  color: var(--ink);
  --dur: 12000ms;
  isolation: isolate;
  display: flex; flex-direction: column;
  font-size: 12px;
  container-type: inline-size;
}

/* ─── Top bar ─── */
.ed-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 16px;
  background: var(--cream);
  border-bottom: 1px solid var(--hair);
  height: 36px; flex-shrink: 0;
  font-size: 11px;
}
.ed-top-left { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-2); }
.ed-top-brand { font-weight: 600; color: var(--ink); }
.ed-top-sep { color: var(--ink-3); }
.ed-top-section i { font-style: italic; font-family: var(--serif); font-size: 13px; font-weight: 400; color: var(--ink); }
.ed-top-right { font-family: var(--mono); font-size: 10px; color: var(--ink-3); }

/* ─── Body shell: rail | library | (tool + canvas) ─── */
.ed-shell {
  display: grid;
  grid-template-columns: 158px 200px 1fr;
  flex: 1; min-height: 0;
}
.ed-shell--inline { grid-template-columns: 158px 1fr; }
.ed-shell--split { grid-template-columns: 158px 180px 1fr; }
.ed-main { display: flex; flex-direction: column; min-width: 0; min-height: 0; }

/* ─── Left nav rail (qcms KLIENT + nav) ─── */
.ed-rail {
  background: var(--cream);
  border-right: 1px solid var(--hair);
  padding: 12px 10px;
  display: flex; flex-direction: column;
  font-size: 11px;
  min-height: 0;
  position: relative;
}
.ed-rail-brand {
  display: flex; align-items: center; gap: 8px;
  padding: 4px 4px 12px;
  border-bottom: 1px solid var(--hair);
}
.ed-rail-mark {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--serif); font-style: italic; font-weight: 500;
  font-size: 14px; color: var(--ink);
  background: var(--paper);
}
.ed-rail-meta { display: flex; flex-direction: column; line-height: 1.1; }
.ed-rail-name { font-family: var(--serif); font-style: italic; font-size: 13px; color: var(--ink); }
.ed-rail-tag { font-family: var(--mono); font-size: 8.5px; letter-spacing: 0.1em; color: var(--ink-3); }
.ed-rail-section {
  font-family: var(--mono); font-size: 8.5px;
  letter-spacing: 0.12em;
  color: var(--ink-3);
  padding: 12px 4px 6px;
}
.ed-rail-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 2px; }
.ed-rail-list li {
  padding: 6px 8px;
  font-size: 10.5px;
  color: var(--ink-2);
  border-radius: 6px;
  cursor: pointer;
}
.ed-rail-list li.is-active {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--hair);
}
.ed-rail-foot {
  margin-top: auto;
  padding: 8px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  text-align: center;
  font-size: 10.5px;
  color: var(--ink-2);
  background: var(--paper);
}

/* ─── Toolbar ─── */
.ed-tool {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 12px;
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
  height: 38px; flex-shrink: 0;
  gap: 12px;
}
.ed-tool-tabs { display: inline-flex; align-items: center; gap: 8px; }
.ed-pagetab {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 10px;
  border: 1px solid var(--hair);
  border-radius: var(--r-sm);
  background: var(--paper);
  color: var(--ink-2);
  font-size: 11px;
  cursor: pointer;
}
.ed-pagetab.is-active { background: var(--cream); color: var(--ink); border-color: var(--hair-2); border-bottom: 2px solid var(--accent); }
.ed-pagetab-count {
  font-family: var(--mono); font-size: 9.5px;
  background: var(--cream-2);
  padding: 1px 5px; border-radius: 3px;
  color: var(--ink-3);
}
.ed-pagetab-edit { font-size: 9px; color: var(--ink-3); }
.ed-pagetab.is-add { border-style: dashed; color: var(--ink-3); }

.ed-tool-right { display: inline-flex; align-items: center; gap: 8px; }
.ed-show {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px;
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-sm);
  font-size: 11px; color: var(--ink-2);
}
.ed-devs {
  display: inline-flex;
  background: var(--cream-2);
  border-radius: var(--r-sm);
  padding: 2px;
  gap: 1px;
}
.ed-devs i {
  width: 22px; height: 18px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 10px;
  color: var(--ink-3);
  border-radius: 3px;
  font-style: normal;
}
.ed-devs i.on { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(0,0,0,0.04); }

.ed-zoom { display: inline-flex; align-items: center; gap: 4px; font-size: 10.5px; color: var(--ink-3); }
.ed-zoom-pill { font-family: var(--mono); font-size: 9px; background: var(--cream-2); padding: 2px 6px; border-radius: 3px; color: var(--ink-2); }
.ed-zoom-btn { width: 18px; height: 18px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--hair); border-radius: 3px; font-size: 10px; color: var(--ink-2); background: var(--paper); }
.ed-zoom-pct { font-family: var(--mono); font-size: 10px; color: var(--ink); min-width: 24px; text-align: center; }
.ed-zoom-fit { font-size: 10.5px; color: var(--ink-3); padding: 0 4px; }

/* ─── Library ─── */
.ed-lib {
  background: var(--paper);
  border-right: 1px solid var(--hair);
  display: flex; flex-direction: column;
  min-height: 0;
  overflow: hidden;
}
.ed-lib-tabs {
  display: flex;
  border-bottom: 1px solid var(--hair);
  font-size: 11px;
}
.ed-lib-tab {
  flex: 1; text-align: center;
  padding: 9px 0;
  color: var(--ink-3);
  font-weight: 500;
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.ed-lib-tab.is-active {
  color: var(--ink);
  border-bottom-color: var(--accent);
}
.ed-lib-search {
  margin: 8px 10px 6px;
  padding: 6px 10px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 10.5px; color: var(--ink-3);
  background: var(--paper);
}
.ed-lib-chips {
  display: flex; flex-wrap: wrap; gap: 3px;
  padding: 4px 10px 8px;
  border-bottom: 1px solid var(--hair);
}
.ed-chip {
  font-size: 10px;
  padding: 2px 7px;
  border: 1px solid var(--hair);
  border-radius: 999px;
  color: var(--ink-3);
  background: var(--paper);
  white-space: nowrap;
}
.ed-chip.is-active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.ed-lib-items {
  padding: 10px;
  display: flex; flex-direction: column; gap: 14px;
  overflow-y: auto;
  min-height: 0;
}
.ed-libitem { display: flex; flex-direction: column; gap: 6px; position: relative; cursor: grab; }
.ed-libthumb { border-radius: var(--r-sm); border: 1px solid var(--hair); overflow: hidden; height: 56px; background: var(--cream); }
.ed-libthumb svg { width: 100%; height: 100%; display: block; }
.ed-libitem-meta { display: flex; justify-content: space-between; align-items: baseline; font-size: 10.5px; }
.ed-libitem-name { color: var(--ink); }
.ed-libitem-tag { font-family: var(--mono); font-size: 9px; letter-spacing: 0.06em; color: var(--ink-3); }
.ed-libitem.is-target .ed-libthumb { animation: ed-target-thumb var(--dur) linear infinite; }
@keyframes ed-target-thumb {
  0%, 6%, 22%, 100% { border-color: var(--hair); box-shadow: none; }
  10%, 18% { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-tint); }
}

/* ─── Canvas ─── */
.ed-canvas {
  position: relative;
  flex: 1;
  overflow: hidden;
  background: var(--cream-2);
}
.ed-canvas-bg {
  position: absolute; inset: 0;
  background: var(--cream-2);
  background-image: radial-gradient(circle, var(--hair) 1px, transparent 1px);
  background-size: 18px 18px;
  z-index: 0;
}
.ed-canvas-scroll {
  position: relative; z-index: 1;
  height: 100%;
  padding: 14px 18px;
  overflow: hidden;
  display: flex; flex-direction: column;
}
.ed-section-label {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: 0.08em;
  color: var(--ink-3);
  padding: 0 0 4px 4px;
  text-transform: uppercase;
}
.ed-section-label--inline {
  animation: ed-label-show var(--dur) linear infinite;
  opacity: 0;
  padding-top: 6px;
}
@keyframes ed-label-show {
  0%, 28% { opacity: 0; }
  32%, 100% { opacity: 1; }
}

.ed-page {
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: 4px;
  overflow: hidden;
  flex: 1;
  display: flex; flex-direction: column;
  min-height: 0;
}

/* page nav (Elektro Pro: dark) */
.ed-pagenav {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 22px;
  background: #0a0a0a;
  flex-shrink: 0;
}
.ed-pagenav-brand {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 13px;
  color: white;
}
.ed-pagenav-brand .hi { color: #f5a623; font-weight: 800; }
.ed-pagenav-links {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 9.5px; color: rgba(255,255,255,0.7);
}
.ed-pagenav-cta {
  background: #f5a623;
  color: #0a0a0a;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 700;
  font-size: 9px;
}

/* hero block (Elektro Pro: dark + amber) */
.ed-block {
  position: relative;
  flex: 1;
  min-height: 0;
}
.ed-hero {
  background: #0a0a0a;
  color: white;
  position: relative;
  overflow: hidden;
}
.ed-hero-glow {
  position: absolute;
  right: -10%; bottom: -20%;
  width: 70%; height: 120%;
  background: radial-gradient(circle, rgba(245,166,35,0.32) 0%, rgba(245,166,35,0) 60%);
  z-index: 0;
}
.ed-hero-inner {
  position: relative; z-index: 1;
  padding: 24px 28px 20px;
  display: flex; flex-direction: column; gap: 0;
}
.ed-hero--drops {
  transform-origin: top center;
  animation: ed-block-drop var(--dur) linear infinite;
}
@keyframes ed-block-drop {
  0%, 26% { opacity: 0; transform: scaleY(0.3); max-height: 0; }
  28% { opacity: 0; transform: scaleY(0.5); max-height: 0; }
  32% { opacity: 1; transform: scaleY(1); max-height: 1000px; }
  100% { opacity: 1; transform: scaleY(1); max-height: 1000px; }
}

.ed-block-overlay {
  position: absolute; inset: 0;
  pointer-events: none;
  border: 2px solid transparent;
  z-index: 5;
  animation: ed-overlay-flash var(--dur) linear infinite;
}
.ed-block-overlay.is-static {
  animation: none;
  border-color: var(--accent);
  box-shadow: inset 0 0 0 2px var(--accent);
}
@keyframes ed-overlay-flash {
  0%, 30% { border-color: transparent; }
  32%, 92% { border-color: var(--accent); }
  95%, 100% { border-color: transparent; }
}
.ed-block-toolbar {
  position: absolute; top: 0; right: 0;
  transform: translateY(-100%);
  display: inline-flex; gap: 4px; align-items: center;
  background: var(--paper);
  border: 1px solid var(--hair); border-bottom: 0;
  padding: 4px 8px;
  font-family: var(--mono); font-size: 9px; color: var(--ink-2);
  letter-spacing: 0.06em; text-transform: uppercase;
  border-radius: var(--r-sm) var(--r-sm) 0 0;
  opacity: 0;
  animation: ed-toolbar-show var(--dur) linear infinite;
}
.ed-block-overlay.is-static .ed-block-toolbar { animation: none; opacity: 1; }
@keyframes ed-toolbar-show {
  0%, 30% { opacity: 0; }
  33%, 92% { opacity: 1; }
  95%, 100% { opacity: 0; }
}
.ed-block-toolbar i { width: 10px; height: 10px; border-radius: 2px; background: var(--hair); display: inline-block; }

.ed-hero-pill {
  display: inline-flex; align-self: flex-start;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(245,166,35,0.12);
  border: 1px solid rgba(245,166,35,0.45);
  color: #f5a623;
  font-family: 'Inter', sans-serif;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.ed-hero-title {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: clamp(18px, 4.6cqw, 50px);
  line-height: 0.96;
  letter-spacing: -0.02em;
  margin: 0;
  color: white;
  text-transform: uppercase;
  position: relative;
}
.ed-hero-title--accent { color: #f5a623; }

.ed-hero-sub {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  color: rgba(255,255,255,0.74);
  line-height: 1.45;
  margin: 12px 0 0;
  max-width: 56ch;
  position: relative;
}

/* ── new typing system: caret tracks end of text exactly ── */
.ed-typer {
  position: relative;
  display: inline-block;
  vertical-align: bottom;
  white-space: nowrap;
}
.ed-typer-old, .ed-typer-new {
  white-space: nowrap;
  display: inline-block;
}
.ed-typer-old {
  position: absolute;
  top: 0; left: 0;
  clip-path: inset(0 0 0 0);
}
.ed-typer-new {
  clip-path: inset(0 100% 0 0);
}
.ed-typer-caret {
  position: absolute;
  top: 8%; bottom: 14%;
  left: 0;
  width: 1.5px;
  background: #f5a623;
  opacity: 0;
  transform: translateX(-1px);
}
.ed-typer--sub .ed-typer-caret { background: rgba(255,255,255,0.75); }

/* title2 timing: delete 30→40, type 40→56, hold rest */
.ed-typer--t2 .ed-typer-old   { animation: ed-old-t2  var(--dur) linear infinite; }
.ed-typer--t2 .ed-typer-new   { animation: ed-new-t2  var(--dur) linear infinite; }
.ed-typer--t2 .ed-typer-caret { animation: ed-cart-t2 var(--dur) linear infinite, ed-blink 700ms steps(2) infinite; }
@keyframes ed-old-t2 { 0%, 30% { clip-path: inset(0 0 0 0); } 40%, 100% { clip-path: inset(0 100% 0 0); } }
@keyframes ed-new-t2 { 0%, 40% { clip-path: inset(0 100% 0 0); } 56%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes ed-cart-t2 {
  0%, 28% { opacity: 0; left: 100%; }
  30%, 40% { opacity: 1; left: 0; }
  40.01% { left: 0; }
  56% { opacity: 1; left: 100%; }
  56.5%, 100% { opacity: 0; left: 100%; }
}

/* secondary line (mobile RUKOU./DŮM.) follows t2 with slight delay */
.ed-typer--t2b .ed-typer-old   { animation: ed-old-t2b  var(--dur) linear infinite; }
.ed-typer--t2b .ed-typer-new   { animation: ed-new-t2b  var(--dur) linear infinite; }
.ed-typer--t2b .ed-typer-caret { animation: ed-cart-t2b var(--dur) linear infinite, ed-blink 700ms steps(2) infinite; }
@keyframes ed-old-t2b { 0%, 38% { clip-path: inset(0 0 0 0); } 46%, 100% { clip-path: inset(0 100% 0 0); } }
@keyframes ed-new-t2b { 0%, 48% { clip-path: inset(0 100% 0 0); } 60%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes ed-cart-t2b {
  0%, 36% { opacity: 0; left: 100%; }
  38%, 48% { opacity: 1; left: 0; }
  60% { opacity: 1; left: 100%; }
  60.5%, 100% { opacity: 0; left: 100%; }
}

/* sub */
.ed-typer--sub .ed-typer-old   { animation: ed-old-sub  var(--dur) linear infinite; }
.ed-typer--sub .ed-typer-new   { animation: ed-new-sub  var(--dur) linear infinite; }
.ed-typer--sub .ed-typer-caret { animation: ed-cart-sub var(--dur) linear infinite, ed-blink 700ms steps(2) infinite; }
@keyframes ed-old-sub { 0%, 56% { clip-path: inset(0 0 0 0); } 64%, 100% { clip-path: inset(0 100% 0 0); } }
@keyframes ed-new-sub { 0%, 64% { clip-path: inset(0 100% 0 0); } 80%, 100% { clip-path: inset(0 0 0 0); } }
@keyframes ed-cart-sub {
  0%, 54% { opacity: 0; left: 100%; }
  56%, 64% { opacity: 1; left: 0; }
  80% { opacity: 1; left: 100%; }
  80.5%, 100% { opacity: 0; left: 100%; }
}

@keyframes ed-blink { 50% { background: transparent; } }

.ed-hero-cta {
  display: inline-flex; gap: 8px;
  margin-top: 16px;
}
.ed-cta-amber {
  background: #f5a623; color: #0a0a0a;
  font-size: 10px; font-weight: 700;
  padding: 8px 14px; border-radius: 4px;
}
.ed-cta-ghost {
  border: 1px solid rgba(255,255,255,0.5); color: white;
  font-size: 10px; font-weight: 600;
  padding: 8px 14px; border-radius: 4px;
}

.ed-hero-stats {
  display: flex; gap: 28px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.ed-hero-stats > div { display: flex; flex-direction: column; gap: 2px; }
.ed-hero-stats b {
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 17px;
  color: #f5a623;
  letter-spacing: -0.01em;
}
.ed-hero-stats span {
  font-size: 8.5px;
  color: rgba(255,255,255,0.55);
}

/* ─── Floating mobile preview ─── */
.ed-mobile {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 80;
  display: flex; flex-direction: column; align-items: center;
  gap: 6px;
  pointer-events: none;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
  animation: ed-mob-show var(--dur) linear infinite;
}
@keyframes ed-mob-show {
  0%, 32% { opacity: 0; transform: translateY(10px) scale(0.95); }
  36%, 96% { opacity: 1; transform: translateY(0) scale(1); }
  100% { opacity: 0; transform: translateY(10px) scale(0.95); }
}
.ed-mobile-frame {
  width: 132px;
  height: 232px;
  background: #0a0a0a;
  border-radius: 16px;
  padding: 5px;
  border: 1px solid #2a2a2a;
  box-shadow: 0 18px 40px -12px rgba(0,0,0,0.45), 0 4px 12px rgba(0,0,0,0.18);
  position: relative;
}
.ed-mobile-notch {
  position: absolute;
  top: 7px; left: 50%;
  transform: translateX(-50%);
  width: 36px; height: 7px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}
.ed-mobile-screen {
  width: 100%; height: 100%;
  background: var(--cream);
  border-radius: 12px;
  overflow: hidden;
  display: flex; flex-direction: column;
  font-size: 8px;
}
.ed-mob-top {
  display: flex; align-items: center; gap: 6px;
  padding: 14px 8px 6px;
  background: var(--cream);
  flex-shrink: 0;
}
.ed-mob-burger {
  width: 16px; height: 16px;
  border: 1px solid var(--hair);
  border-radius: 4px;
  background: var(--paper);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px;
}
.ed-mob-title i { font-family: var(--serif); font-style: italic; font-size: 10px; }
.ed-mob-tab {
  display: flex; gap: 4px;
  padding: 4px 8px 6px;
  background: var(--paper);
  border-bottom: 1px solid var(--hair);
  flex-shrink: 0;
}
.ed-mob-canvas {
  flex: 1;
  background: var(--cream-2);
  background-image: radial-gradient(circle, var(--hair) 1px, transparent 1px);
  background-size: 10px 10px;
  padding: 6px;
  overflow: hidden;
}
.ed-mob-hero {
  position: relative;
  background: #0a0a0a;
  color: white;
  border-radius: 4px;
  padding: 10px 8px;
  height: 100%;
  overflow: hidden;
}
.ed-mob-glow {
  position: absolute;
  right: -30%; bottom: -30%;
  width: 100%; height: 100%;
  background: radial-gradient(circle, rgba(245,166,35,0.4) 0%, transparent 65%);
}
.ed-mob-pill {
  display: inline-flex;
  position: relative;
  padding: 3px 6px;
  border-radius: 999px;
  background: rgba(245,166,35,0.15);
  border: 0.5px solid rgba(245,166,35,0.5);
  color: #f5a623;
  font-size: 5.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 6px;
}
.ed-mob-title-l {
  position: relative;
  font-family: 'Inter', sans-serif;
  font-weight: 900;
  font-size: 12px;
  line-height: 1.0;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin: 0;
}
.ed-mob-amber { color: #f5a623; }
.ed-mob-sub {
  position: relative;
  font-size: 6.5px;
  color: rgba(255,255,255,0.65);
  margin-top: 6px;
  line-height: 1.4;
}
.ed-mob-cta {
  position: relative;
  margin-top: 8px;
  background: #f5a623; color: #0a0a0a;
  display: inline-flex; padding: 4px 8px;
  border-radius: 3px;
  font-size: 6.5px; font-weight: 700;
}

.ed-mob-bottom {
  display: flex;
  background: var(--paper);
  border-top: 1px solid var(--hair);
  flex-shrink: 0;
}
.ed-mob-bbtn {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; gap: 1px;
  padding: 4px 0 5px;
  font-size: 6px;
  color: var(--ink-3);
}
.ed-mob-bbtn span:first-child { font-size: 9px; }
.ed-mob-bbtn.is-active { color: var(--accent); }

.ed-mobile-cap {
  font-family: var(--mono);
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
  background: var(--paper);
  border: 1px solid var(--hair);
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

/* ─── MobileOnly (large phone for hero block) ─── */
.ed-mobonly {
  width: 100%;
  display: flex; justify-content: center; align-items: center;
  --dur: 12000ms;
  padding: 12px 0;
}
.ed-mobonly-frame {
  width: min(280px, 80%);
  aspect-ratio: 9 / 19;
  background: #0a0a0a;
  border-radius: 36px;
  padding: 8px;
  border: 1px solid #2a2a2a;
  box-shadow:
    0 36px 80px -20px rgba(31,27,22,0.32),
    0 12px 28px -8px rgba(31,27,22,0.18),
    0 1px 0 rgba(255,255,255,0.08) inset;
  position: relative;
}
.ed-mobonly-notch {
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 92px; height: 22px;
  background: #000;
  border-radius: 999px;
  z-index: 2;
}
.ed-mobonly-screen {
  width: 100%; height: 100%;
  background: var(--cream);
  border-radius: 28px;
  overflow: hidden;
  display: flex; flex-direction: column;
  font-size: 10px;
}
.ed-mobonly .ed-mob-top { padding: 36px 14px 8px; }
.ed-mobonly .ed-mob-burger { width: 26px; height: 26px; font-size: 14px; }
.ed-mobonly .ed-mob-title i { font-size: 14px; }
.ed-mobonly .ed-mob-tab { padding: 6px 12px 8px; gap: 6px; }
.ed-mobonly .ed-mob-tab .ed-pagetab { font-size: 11px !important; padding: 5px 10px; }
.ed-mob-canvas--big { padding: 10px; }
.ed-mobonly .ed-mob-hero { padding: 16px 14px; border-radius: 6px; overflow: hidden; }
.ed-mobonly .ed-mob-pill { font-size: 8.5px; padding: 5px 10px; margin-bottom: 10px; max-width: 100%; }
.ed-mobonly .ed-mob-title-l {
  font-size: 18px; line-height: 0.98;
  max-width: 100%;
  overflow: hidden;
}
.ed-mobonly .ed-mob-title-l[data-t] { white-space: nowrap; }
.ed-mobonly .ed-mob-sub { font-size: 10px; margin-top: 10px; line-height: 1.45; white-space: normal; max-width: 100%; overflow: hidden; }
.ed-mobonly .ed-mob-sub[data-t] { white-space: nowrap; }
.ed-mobonly .ed-mob-cta { font-size: 10px; padding: 7px 12px; margin-top: 12px; border-radius: 4px; }
.ed-mobonly .ed-mob-bottom { padding: 2px 0 6px; }
.ed-mobonly .ed-mob-bbtn { font-size: 9px; padding: 8px 0 4px; gap: 3px; }
.ed-mobonly .ed-mob-bbtn span:first-child { font-size: 13px; }

/* type-swap on mobile-only */
.ed-mobonly [data-t] .ed-text-original,
.ed-mobonly [data-t] .ed-text-typed {
  display: inline-block;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: bottom;
}
.ed-mobonly [data-t="line3"] .ed-text-original { animation: ed-textout var(--dur) linear infinite; }
.ed-mobonly [data-t="line3"] .ed-text-typed   { width: 0; animation: ed-textin var(--dur) linear infinite; }
.ed-mobonly [data-t="line4"] .ed-text-original { animation: ed-textout var(--dur) linear infinite; }
.ed-mobonly [data-t="line4"] .ed-text-typed   { width: 0; animation: ed-textin var(--dur) linear infinite; }
.ed-mobonly [data-t="sub"]   .ed-text-original { animation: ed-textout-sub var(--dur) linear infinite; }
.ed-mobonly [data-t="sub"]   .ed-text-typed   { width: 0; animation: ed-textin-sub var(--dur) linear infinite; }
.ed-mobonly [data-t="line2"] .ed-text-typed { display: none; }
.ed-mobonly .ed-caret {
  display: inline-block; width: 1.5px;
  background: #f5a623; margin-left: 2px;
  vertical-align: middle; height: 0.85em; opacity: 0;
}
.ed-mobonly [data-t="line3"] .ed-caret { animation: ed-caret-blink 700ms steps(2) infinite, ed-caret-show-t3-tight var(--dur) linear infinite; }
.ed-mobonly [data-t="sub"]   .ed-caret { animation: ed-caret-blink 700ms steps(2) infinite, ed-caret-show-s3-tight var(--dur) linear infinite; background: rgba(255,255,255,0.7); }
@keyframes ed-caret-show-t3-tight { 0%, 39% { opacity: 0; } 40%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
@keyframes ed-caret-show-s3-tight { 0%, 61% { opacity: 0; } 62%, 77% { opacity: 1; } 78%, 100% { opacity: 0; } }

@media (max-width: 540px) {
  .ed-mobonly-frame { width: 220px; }
  .ed-mobonly .ed-mob-title-l { font-size: 18px; }
}

/* ─── tree (split) ─── */
.ed-tree {
  background: var(--paper);
  border-right: 1px solid var(--hair);
  display: flex; flex-direction: column;
}
.ed-tree-list {
  list-style: none; padding: 8px 6px; margin: 0;
  display: flex; flex-direction: column; gap: 1px;
  font-family: var(--mono); font-size: 10.5px;
}
.ed-tree-list li {
  padding: 4px 8px; border-radius: 3px;
  color: var(--ink-2); white-space: pre;
}
.ed-tree-list li.lv0 { color: var(--ink); font-weight: 600; }
.ed-tree-list li.ed-tree-target {
  animation: ed-tree-tap var(--dur) linear infinite;
}
@keyframes ed-tree-tap {
  0%, 12%, 88%, 100% { background: transparent; color: var(--ink-2); }
  16%, 86% { background: var(--accent-tint); color: var(--accent); }
}

/* ─── cursor ─── */
.ed-cursor {
  position: absolute;
  z-index: 100;
  width: 20px; height: 20px;
  top: 0; left: 0;
  transform-origin: 0 0;
  pointer-events: none;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.18));
  animation: ed-cursor-path var(--dur) linear infinite;
}
@keyframes ed-cursor-path {
  0%   { top: 52%; left: 22%; transform: scale(1); }
  4%   { top: 52%; left: 22%; transform: scale(0.9); }
  10%  { top: 52%; left: 22%; transform: scale(0.9); }
  16%  { top: 56%; left: 36%; transform: scale(0.95); }
  24%  { top: 62%; left: 60%; transform: scale(1); }
  30%  { top: 62%; left: 60%; transform: scale(0.9); }
  34%  { top: 62%; left: 60%; transform: scale(1); }
  44%  { top: 48%; left: 56%; transform: scale(1); }
  48%  { top: 48%; left: 56%; transform: scale(0.9); }
  56%  { top: 60%; left: 56%; transform: scale(1); }
  64%  { top: 60%; left: 56%; transform: scale(0.9); }
  72%  { top: 60%; left: 56%; transform: scale(1); }
  80%  { top: 6%; left: 92%; transform: scale(1); }
  86%  { top: 6%; left: 92%; transform: scale(0.85); }
  92%  { top: 6%; left: 92%; transform: scale(1); }
  100% { top: 52%; left: 22%; transform: scale(1); }
}

/* ─── phantom block (drag preview) ─── */
.ed-phantom {
  position: absolute;
  top: 0; left: 0;
  transform-origin: 0 0;
  width: 130px;
  border-radius: 4px;
  background: var(--paper);
  border: 1.5px dashed var(--accent);
  padding: 6px;
  display: flex; flex-direction: column;
  gap: 4px;
  pointer-events: none;
  opacity: 0;
  z-index: 90;
  box-shadow: 0 8px 18px rgba(31,27,22,0.18);
  animation: ed-phantom-path var(--dur) linear infinite;
}
.ed-phantom-thumb { height: 42px; border-radius: 3px; overflow: hidden; }
.ed-phantom-thumb svg { width: 100%; height: 100%; display: block; }
.ed-phantom-label { font-size: 10px; color: var(--ink); font-weight: 500; }
@keyframes ed-phantom-path {
  0%, 8%  { opacity: 0; top: 52%; left: 22%; transform: scale(0.9); }
  10%     { opacity: 1; top: 52%; left: 22%; transform: scale(0.92); }
  16%     { opacity: 1; top: 56%; left: 36%; transform: scale(0.96); }
  24%     { opacity: 1; top: 62%; left: 60%; transform: scale(1); }
  28%     { opacity: 0; top: 62%; left: 60%; transform: scale(1); }
  100%    { opacity: 0; top: 52%; left: 22%; }
}

/* ─── toast ─── */
.ed-toast {
  position: absolute;
  bottom: 16px; left: 50%;
  transform: translate(-50%, 8px);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-size: 11px;
  z-index: 95;
  opacity: 0;
  animation: ed-toast-show var(--dur) linear infinite;
}
.ed-toast-dot {
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--sage);
  color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700;
}
@keyframes ed-toast-show {
  0%, 86% { opacity: 0; transform: translate(-50%, 8px); }
  88%, 96% { opacity: 1; transform: translate(-50%, 0); }
  98%, 100% { opacity: 0; transform: translate(-50%, 8px); }
}

/* ─── responsive ─── */
@media (max-width: 980px) {
  .ed-shell { grid-template-columns: 130px 170px 1fr; }
  .ed-rail-list li { font-size: 10px; padding: 5px 6px; }
}
@media (max-width: 880px) {
  .ed { aspect-ratio: 4 / 3.4; font-size: 11px; }
  .ed-shell { grid-template-columns: 160px 1fr; }
  .ed-lib { display: none; }
  .ed-shell--inline { grid-template-columns: 130px 1fr; }
  .ed-shell--split { grid-template-columns: 130px 130px 1fr; }
  .ed-lib-chips { display: none; }
  .ed-tool-right .ed-show { display: none; }
  .ed-hero-stats { gap: 16px; }
  .ed-hero-stats b { font-size: 14px; }
  .ed-pagenav { padding: 8px 14px; }
  .ed-pagenav-links span:not(.ed-pagenav-cta) { display: none; }
  .ed-mobile-frame { width: 110px; height: 198px; }
  .ed-mobile-cap { font-size: 7.5px; padding: 3px 7px; }
}
@media (max-width: 540px) {
  .ed { aspect-ratio: 4 / 4.6; }
  .ed-shell { grid-template-columns: 1fr; }
  .ed-rail { display: none; }
  .ed-zoom-pill, .ed-zoom-fit { display: none; }
  .ed-mobile-frame { width: 92px; height: 168px; }
  .ed-mobile-cap { display: none; }
}

/* ───────────────────────────────────────────────────────────────────────────
   Trial Landing blocks — imported from "qcms Trial Landing" design.
   Fully namespaced (.tl-*) so they never collide with the styles above.
   Tokens hardcoded (warm-stone) except brand colour which stays var(--primary).
─────────────────────────────────────────────────────────────────────────── */
.tl-hero, .tl-social, .tl-section {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: #1c1917;
  line-height: 1.55;
}
.tl-shell { width: 100%; max-width: 480px; margin: 0 auto; padding: 0 22px; }
.tl-brand { display: inline-flex; align-items: center; gap: 10px; }
.tl-brand-mark {
  width: 38px; height: 38px; border-radius: 11px; background: var(--primary, #ea580c);
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 22px;
  line-height: 1; box-shadow: 0 6px 16px -6px rgba(234, 88, 12, 0.6);
}
.tl-brand-word { font-weight: 800; font-size: 22px; letter-spacing: -0.02em; color: #1c1917; }
.tl-hero { padding: 30px 0 46px; }
.tl-hero-top { display: flex; justify-content: center; padding-top: 8px; padding-bottom: 34px; }
.tl-pill {
  display: inline-flex; align-items: center; gap: 7px; padding: 8px 15px; border-radius: 999px;
  background: #fdeee4; color: var(--primary, #ea580c); font-weight: 600; font-size: 13.5px;
  border: 1px solid #f7d9c6;
}
.tl-hero h1 { margin: 18px 0 0; font-size: clamp(34px, 10vw, 44px); line-height: 1.08; letter-spacing: -0.03em; font-weight: 800; }
.tl-hero .tl-subtitle { margin: 16px 0 0; font-size: 17px; color: #78716c; max-width: 30ch; }
.tl-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; width: 100%;
  margin-top: 28px; padding: 17px 24px; border-radius: 14px; background: var(--primary, #ea580c);
  color: #fff; font-weight: 700; font-size: 17px; border: none; cursor: pointer;
  box-shadow: 0 12px 26px -10px rgba(234, 88, 12, 0.55); transition: transform .15s ease, box-shadow .15s ease;
}
.tl-cta:hover { transform: translateY(-1px); box-shadow: 0 16px 30px -10px rgba(234, 88, 12, 0.6); }
.tl-trust { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: #78716c; }
.tl-social { padding: 0 0 46px; }
.tl-social-card {
  background: #fff; border: 1px solid #efe9e1; border-radius: 20px; padding: 20px 22px;
  box-shadow: 0 4px 18px -8px rgba(28, 25, 23, 0.12); display: flex; align-items: center; gap: 16px;
}
.tl-avatars { display: flex; flex-shrink: 0; }
.tl-avatars .tl-av {
  width: 40px; height: 40px; border-radius: 999px; border: 2.5px solid #fff; margin-left: -12px;
  display: grid; place-items: center; font-weight: 700; font-size: 14px; color: #fff;
  box-shadow: 0 4px 18px -8px rgba(28, 25, 23, 0.12);
}
.tl-avatars .tl-av:first-child { margin-left: 0; }
.tl-av-1 { background: #f97316; }
.tl-av-2 { background: #0ea5e9; }
.tl-av-3 { background: #8b5cf6; }
.tl-social-text { font-size: 14.5px; color: #1c1917; font-weight: 500; }
.tl-social-text b { color: var(--primary, #ea580c); }
.tl-section { padding: 12px 0 46px; }
.tl-section-head { text-align: center; margin-bottom: 26px; }
.tl-section-head .tl-eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--primary, #ea580c); margin-bottom: 8px;
}
.tl-section-head h2 { margin: 0; font-size: 27px; letter-spacing: -0.02em; font-weight: 800; }
.tl-steps { display: flex; flex-direction: column; gap: 14px; }
.tl-step {
  display: flex; align-items: flex-start; gap: 15px; background: #fff; border: 1px solid #efe9e1;
  border-radius: 14px; padding: 18px; box-shadow: 0 4px 18px -8px rgba(28, 25, 23, 0.12);
}
.tl-step-num {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 10px; background: #fdeee4;
  color: var(--primary, #ea580c); font-weight: 800; display: grid; place-items: center; font-size: 16px;
}
.tl-step h3 { margin: 2px 0 4px; font-size: 17px; font-weight: 700; }
.tl-step p { margin: 0; font-size: 14.5px; color: #78716c; }
.tl-features { display: flex; flex-direction: column; gap: 11px; }
.tl-feature {
  display: flex; align-items: center; gap: 12px; font-size: 15.5px; font-weight: 500; color: #1c1917;
  background: #fff; border: 1px solid #efe9e1; border-radius: 14px; padding: 14px 16px;
}
.tl-feature .tl-check {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 999px; background: #dcfce7;
  color: #16a34a; display: grid; place-items: center; font-weight: 800; font-size: 14px;
}

/* Desktop: the .tl- blocks are a phone-first design. On wider screens relax the
   narrow app-like column into a proper full-width landing layout so it doesn't
   look like a thin strip. Phone keeps the compact look below 768px. */
@media (min-width: 768px) {
  .tl-shell { max-width: 1040px; padding: 0 40px; }
  .tl-hero { padding: 76px 0 64px; }
  .tl-hero-top { justify-content: flex-start; padding-bottom: 28px; }
  .tl-hero h1 { font-size: 56px; max-width: 18ch; }
  .tl-hero .tl-subtitle { font-size: 19px; max-width: 52ch; }
  .tl-cta { width: auto; align-self: flex-start; padding: 17px 34px; }
  .tl-social { padding: 0 0 64px; }
  .tl-social-card { max-width: 620px; }
  .tl-section { padding: 56px 0; }
  .tl-section-head h2 { font-size: 34px; }
  .tl-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .tl-features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
}



/* header brand logo (editable monogram) */
.brand-logo{height:34px;width:34px;border-radius:8px;display:block;flex:0 0 auto}
.brand{display:inline-flex;align-items:center;gap:.6rem}
.brand > div, .brand .wb-img-wrap{display:inline-flex;align-items:center;line-height:0}


.wb-brandmark{position:relative;display:inline-flex;align-items:center;}
.wb-brand-img{height:34px;width:auto;max-width:180px;display:block;object-fit:contain;}
.wb-brandmark .wb-list-edit{position:absolute;top:-10px;right:-10px;z-index:10;width:24px;height:24px;border-radius:50%;border:2px solid #fff;background:#3a5a8c;color:#fff;font-size:12px;line-height:1;padding:0;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 2px 6px rgba(0,0,0,.3);opacity:1;transform:none;}

/* ==== qf: blok „Funkce — mozaika" (vše pod .qf, animace jen CSS) ==== */
@property --qf-tc { syntax: '<color>'; inherits: true; initial-value: #2b3a8f; }
@property --qf-sc { syntax: '<integer>'; inherits: true; initial-value: 96; }
.qf {
  --qf-p: var(--primary, #2b3a8f);
  --qf-soft: color-mix(in srgb, var(--qf-p) 26%, #fff);
  --qf-tint: color-mix(in srgb, var(--qf-p) 9%, #fff);
  --qf-ink: #1a1c24; --qf-ink2: #4a4f60; --qf-ink3: #868b9e; --qf-hair: #e4e6ee;
  --qf-chalk: #f1f2f6; --qf-ok: #5e7a5a; --qf-okbg: #e7efe5; --qf-warn: #a86a12; --qf-warnbg: #f8eedc;
  --qf-serif: 'Fraunces', Georgia, serif; --qf-sans: 'Inter', system-ui, sans-serif; --qf-mono: 'JetBrains Mono', ui-monospace, monospace;
  background: #fff; color: var(--qf-ink); font-family: var(--qf-sans);
  padding: clamp(64px, 8vw, 112px) 0; position: relative;
  border-top: 1px solid var(--qf-hair); border-bottom: 1px solid var(--qf-hair);
}
.qf *, .qf *::before, .qf *::after { box-sizing: border-box; }
.qf h2, .qf h3, .qf p { margin: 0; }
.qf-shell { max-width: 1200px; margin: 0 auto; padding: 0 28px; }
.qf-head { display: flex; flex-direction: column; gap: 14px; max-width: 760px; margin-bottom: clamp(36px, 5vw, 60px); }
.qf-eyebrow { font-family: var(--qf-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--qf-ink3); display: inline-flex; align-items: center; gap: 8px; }
.qf-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--qf-p); display: inline-block; }
.qf-h2 { font-family: var(--qf-serif); font-weight: 300; letter-spacing: -.02em; line-height: 1.05; font-size: clamp(34px, 4.4vw, 56px); color: var(--qf-ink); text-wrap: balance; }
.qf-h2 em { font-style: italic; font-weight: 400; color: var(--qf-p); }
.qf-lede { font-size: clamp(15px, 1.4vw, 18px); color: var(--qf-ink2); line-height: 1.55; max-width: 56ch; }

.qf-bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.qf-tile { grid-column: span 4; background: var(--qf-chalk); border-radius: 22px; padding: 12px 12px 24px; display: flex; flex-direction: column; gap: 20px; }
.qf-t-editor, .qf-t-leads { grid-column: span 5; }
.qf-t-editor { grid-column: span 7; }
.qf-t-chat { grid-column: span 5; background: var(--qf-p); }
.qf-t-health { grid-column: span 3; }
.qf-tt { padding: 0 12px; display: flex; flex-direction: column; gap: 6px; }
.qf-tt h3 { font-family: var(--qf-serif); font-weight: 400; font-size: 22px; letter-spacing: -.015em; line-height: 1.15; color: var(--qf-ink); }
.qf-txt { font-size: 14.5px; line-height: 1.55; color: var(--qf-ink2); }
.qf-t-chat .qf-tt h3, .qf-t-chat .qf-txt { color: #fff; }
.qf-t-chat .qf-txt { opacity: .86; }
.qf-bento > .wb-list-add { grid-column: 1 / -1; }

.qf-more { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 22px; }
.qf-more-lbl { font-family: var(--qf-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--qf-ink3); margin-right: 6px; }
.qf-chip { font-size: 13px; padding: 7px 13px; border-radius: 99px; border: 1px solid var(--qf-hair); background: #fff; color: var(--qf-ink2); }
.qf-cta { display: flex; flex-wrap: wrap; gap: 14px 18px; align-items: center; margin-top: clamp(36px, 5vw, 56px); }
.qf-btn, .qf .qf-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; background: var(--qf-p); border: 1px solid var(--qf-p); color: #fff; font-family: var(--qf-sans); font-size: 15px; font-weight: 500; text-decoration: none; transition: transform 120ms ease, background 120ms ease; }
.qf-btn:hover { background: color-mix(in srgb, var(--qf-p) 85%, #000); transform: translateY(-1px); }
.qf-btn:focus-visible { outline: 2px solid var(--qf-p); outline-offset: 3px; }
.qf-note { font-size: 13.5px; color: var(--qf-ink3); }

/* mock frame — všechno uvnitř v em, škáluje se s šířkou */
.qf-mk { position: relative; width: 100%; max-width: 100%; aspect-ratio: 4 / 3; container-type: inline-size; background: #fff; border: 1px solid var(--qf-hair); border-radius: 12px; overflow: hidden; box-shadow: 0 1px 0 rgba(26,28,36,.03), 0 22px 44px -30px rgba(43,58,143,.5); }
.qf-t-editor .qf-mk { aspect-ratio: 16 / 10; }
.qf-t-chat .qf-mk { aspect-ratio: 8 / 7; border-color: transparent; box-shadow: 0 22px 44px -26px rgba(0,0,0,.55); }
.qf-t-leads .qf-mk { aspect-ratio: 5 / 3; }
.qf-t-health .qf-mk { aspect-ratio: 1 / 1; }
.qf-t-build .qf-in, .qf-t-theme .qf-in, .qf-t-stats .qf-in, .qf-t-domain .qf-in { font-size: 2.6cqw; }
.qf-t-health .qf-in { font-size: 3.1cqw; }
.qf-t-health .qf-hl { grid-template-columns: 1fr; justify-items: center; align-content: center; gap: .9em; }
.qf-t-health .qf-hl-list { width: 100%; }
.qf-in { position: absolute; inset: 0; display: flex; flex-direction: column; font-size: 2.15cqw; line-height: 1.3; color: var(--qf-ink); text-align: left; }
.qf-bar { display: flex; align-items: center; gap: .45em; padding: .6em .9em; border-bottom: 1px solid var(--qf-hair); background: #fafbfd; flex: none; }
.qf-bar i { width: .62em; height: .62em; border-radius: 50%; background: #e0e3eb; }
.qf-url { margin-left: .7em; padding: .22em .9em; border: 1px solid var(--qf-hair); border-radius: 99px; background: #fff; font-family: var(--qf-mono); font-size: .7em; color: var(--qf-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.qf-body { position: relative; flex: 1; min-height: 0; overflow: hidden; }
.qf-ln { height: .5em; border-radius: .25em; background: #e8eaf1; }

/* editor */
.qf-ed-nav { display: flex; align-items: center; gap: 1.3em; padding: .9em 1.5em; font-size: .8em; color: var(--qf-ink2); }
.qf-ed-nav b { margin-right: auto; font-family: var(--qf-serif); font-weight: 500; font-size: 1.3em; color: var(--qf-ink); }
.qf-ed-hero { position: absolute; inset: 3.2em 0 0 0; display: grid; grid-template-columns: 1.3fr 1fr; gap: 1.4em; align-items: center; padding: .2em 1.5em 1.3em; }
.qf-ed-kick { font-family: var(--qf-mono); font-size: .6em; letter-spacing: .14em; color: var(--qf-p); margin-bottom: .9em; }
.qf-ed-title { display: grid; justify-items: start; font-family: var(--qf-serif); font-weight: 300; font-size: 2.4em; line-height: 1.08; letter-spacing: -.02em; margin: 0 -.2em .5em; padding: .04em .2em; border-radius: .12em; outline: .05em dashed transparent; outline-offset: .04em; white-space: nowrap; }
.qf-ed-title > span { grid-area: 1 / 1; }
.qf-ed-title em { font-style: italic; color: var(--qf-p); }
.qf-ed-old { clip-path: inset(0 100% 0 0); }
.qf-ed-lns { display: grid; gap: .45em; margin-bottom: 1.1em; }
.qf-ed-btn { display: inline-block; background: var(--qf-p); color: #fff; font-size: .74em; font-weight: 600; padding: .7em 1.15em; border-radius: 99px; }
.qf-ed-photo { height: 92%; border-radius: .7em; background: radial-gradient(circle at 50% 33%, #f1d9ca 0 10.5%, transparent 11%), radial-gradient(ellipse 30% 20% at 50% 66%, var(--qf-p) 0 97%, transparent 100%), linear-gradient(165deg, #e3e6f5, #aeb6e0); }
.qf-cur { position: absolute; width: 1.6em; height: 1.6em; left: 34%; top: 50%; opacity: 0; filter: drop-shadow(0 .1em .15em rgba(0,0,0,.25)); }
.qf-ed-old { animation: qf-ed-old 7s infinite; }
.qf-ed-new { animation: qf-ed-new 7s infinite; }
.qf-ed-title { animation: qf-ed-out 7s infinite; }
.qf-cur { animation: qf-ed-cur 7s infinite; }
@keyframes qf-ed-old { 0% { clip-path: inset(0 0 0 0); opacity: 0; } 5% { clip-path: inset(0 0 0 0); opacity: 1; } 26% { clip-path: inset(0 0 0 0); opacity: 1; animation-timing-function: steps(14, end); } 38%, 100% { clip-path: inset(0 100% 0 0); opacity: 1; } }
@keyframes qf-ed-new { 0%, 42% { clip-path: inset(0 100% 0 0); opacity: 1; animation-timing-function: steps(16, end); } 62%, 90% { clip-path: inset(0 0 0 0); opacity: 1; } 97%, 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes qf-ed-out { 0%, 14% { outline-color: transparent; background: transparent; } 18%, 88% { outline-color: var(--qf-p); background: var(--qf-tint); } 96%, 100% { outline-color: transparent; background: transparent; } }
@keyframes qf-ed-cur { 0% { left: 80%; top: 86%; opacity: 0; transform: none; } 6% { opacity: 1; } 15% { left: 34%; top: 50%; transform: scale(1); } 17% { transform: scale(.78); } 20% { transform: scale(1); } 86% { left: 34%; top: 50%; opacity: 1; } 96%, 100% { left: 46%; top: 74%; opacity: 0; } }

/* asistent */
.qf-ch { display: grid; grid-template-columns: 41% 59%; }
.qf-ch-pane { border-right: 1px solid var(--qf-hair); display: flex; flex-direction: column; background: #fbfbfd; min-height: 0; }
.qf-ch-head { display: flex; align-items: center; gap: .55em; padding: .7em .9em; font-weight: 600; font-size: .8em; border-bottom: 1px solid var(--qf-hair); }
.qf-eye { width: 1.2em; height: 1.2em; border-radius: 50%; border: .2em solid var(--qf-p); position: relative; flex: none; }
.qf-eye::after { content: ""; position: absolute; width: .36em; height: .36em; border-radius: 50%; background: var(--qf-p); left: 50%; top: 50%; transform: translate(-50%, -50%); }
.qf-ch-msgs { flex: 1; display: flex; flex-direction: column; gap: .6em; padding: .9em .8em; min-height: 0; overflow: hidden; }
.qf-bub { font-size: .74em; line-height: 1.38; padding: .6em .8em; border-radius: .9em; max-width: 94%; }
.qf-bub-u { align-self: flex-end; background: var(--qf-p); color: #fff; border-bottom-right-radius: .25em; }
.qf-ch-ans { display: grid; align-self: flex-start; max-width: 94%; }
.qf-ch-ans > * { grid-area: 1 / 1; align-self: start; }
.qf-bub-a { background: #fff; border: 1px solid var(--qf-hair); border-bottom-left-radius: .25em; max-width: none; }
.qf-ty { display: flex; gap: .3em; align-items: center; justify-self: start; opacity: 0; }
.qf-ty i { width: .42em; height: .42em; border-radius: 50%; background: var(--qf-ink3); }
.qf-ch-in { margin: .7em; padding: .6em .8em; border: 1px solid var(--qf-hair); border-radius: .8em; background: #fff; font-size: .68em; color: var(--qf-ink3); }
.qf-ch-page { padding: .9em; display: flex; flex-direction: column; gap: .8em; background: #fff; overflow: hidden; }
.qf-pg-hero { height: 4.2em; border-radius: .5em; background: linear-gradient(135deg, var(--qf-tint), #dfe3f4); padding: .8em; display: flex; flex-direction: column; gap: .4em; justify-content: center; flex: none; }
.qf-pg-hero .qf-ln { background: color-mix(in srgb, var(--qf-p) 18%, transparent); }
.qf-pg-sec { position: relative; border-radius: .5em; padding: .75em .85em .6em; outline: .12em solid var(--qf-p); outline-offset: -.06em; background: #fff; flex: none; }
.qf-ai { position: absolute; top: 0; right: .6em; transform: translateY(-55%); background: var(--qf-p); color: #fff; font-size: .56em; font-weight: 600; padding: .25em .6em; border-radius: 99px; letter-spacing: .02em; }
.qf-pg-t { font-family: var(--qf-serif); font-size: .95em; margin-bottom: .4em; }
.qf-pr { display: flex; justify-content: space-between; gap: 1em; font-size: .64em; padding: .35em 0; border-top: 1px dashed var(--qf-hair); color: var(--qf-ink2); }
.qf-pr b { color: var(--qf-ink); font-weight: 600; white-space: nowrap; }
.qf-fq { display: flex; justify-content: space-between; font-size: .64em; padding: .4em .55em; background: var(--qf-chalk); border-radius: .35em; margin-top: .3em; color: var(--qf-ink2); }
.qf-bub-u { animation: qf-ch-u 8s infinite; }
.qf-ty { animation: qf-ch-ty 8s infinite; }
.qf-ty i { animation: qf-dot 1s infinite; }
.qf-ty i:nth-child(2) { animation-delay: .15s; }
.qf-ty i:nth-child(3) { animation-delay: .3s; }
.qf-dn { animation: qf-ch-dn 8s infinite; }
.qf-n1 { animation: qf-ch-n1 8s infinite; }
.qf-n2 { animation: qf-ch-n2 8s infinite; }
@keyframes qf-ch-u { 0%, 4% { opacity: 0; transform: translateY(.6em); } 9%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes qf-ch-ty { 0%, 13% { opacity: 0; } 16%, 36% { opacity: 1; } 39%, 100% { opacity: 0; } }
@keyframes qf-dot { 0%, 100% { opacity: .3; transform: none; } 50% { opacity: 1; transform: translateY(-.15em); } }
@keyframes qf-ch-dn { 0%, 38% { opacity: 0; transform: translateY(.6em); } 42%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes qf-ch-n1 { 0%, 44% { opacity: 0; transform: translateY(1em) scale(.97); } 50%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }
@keyframes qf-ch-n2 { 0%, 52% { opacity: 0; transform: translateY(1em) scale(.97); } 58%, 92% { opacity: 1; transform: none; } 98%, 100% { opacity: 0; } }

/* statistiky */
.qf-st { padding: 1em 1.3em 1.1em; display: flex; flex-direction: column; gap: .9em; }
.qf-st-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1em; }
.qf-st-k { font-family: var(--qf-mono); font-size: .58em; letter-spacing: .12em; text-transform: uppercase; color: var(--qf-ink3); }
.qf-st-n { font-family: var(--qf-serif); font-size: 2.3em; font-weight: 400; letter-spacing: -.02em; line-height: 1.1; font-variant-numeric: tabular-nums; }
.qf-st-n span { font-family: var(--qf-sans); font-size: .3em; font-weight: 600; color: var(--qf-ok); background: var(--qf-okbg); padding: .25em .6em; border-radius: 99px; vertical-align: middle; margin-left: .3em; letter-spacing: 0; }
.qf-st-tabs { display: flex; gap: .2em; background: var(--qf-chalk); border-radius: 99px; padding: .2em; font-size: .6em; flex: none; }
.qf-st-tabs span { padding: .3em .8em; border-radius: 99px; color: var(--qf-ink3); }
.qf-st-tabs .qf-on { background: #fff; color: var(--qf-ink); font-weight: 600; }
.qf-st-chart { flex: 1; min-height: 3em; display: flex; align-items: flex-end; gap: 2.2%; border-bottom: 1px solid var(--qf-hair); padding-bottom: .15em; }
.qf-st-chart i { flex: 1; height: var(--h); background: linear-gradient(var(--qf-p), color-mix(in srgb, var(--qf-p) 55%, #fff)); border-radius: .2em .2em 0 0; transform-origin: bottom; animation: qf-st-bar 7s infinite; animation-delay: calc(var(--d) * 50ms); }
.qf-st-rows { display: grid; gap: .4em; }
.qf-st-r { display: grid; grid-template-columns: 5.6em 1fr 2.8em; align-items: center; gap: .6em; font-size: .64em; color: var(--qf-ink2); }
.qf-st-r b { height: .6em; border-radius: 99px; background: var(--qf-chalk); position: relative; overflow: hidden; }
.qf-st-r b::after { content: ""; position: absolute; inset: 0; width: var(--w); background: var(--qf-soft); border-radius: inherit; transform-origin: left; animation: qf-st-w 7s infinite; }
.qf-st-r em { font-style: normal; text-align: right; font-variant-numeric: tabular-nums; color: var(--qf-ink); }
@keyframes qf-st-bar { 0% { transform: scaleY(0); } 14%, 90% { transform: scaleY(1); } 97%, 100% { transform: scaleY(0); } }
@keyframes qf-st-w { 0%, 12% { transform: scaleX(0); } 28%, 90% { transform: scaleX(1); } 97%, 100% { transform: scaleX(0); } }

/* poptávky */
.qf-ld { display: flex; flex-direction: column; }
.qf-ld-head { display: flex; align-items: center; justify-content: space-between; padding: .8em 1.1em; border-bottom: 1px solid var(--qf-hair); }
.qf-ld-head b { font-family: var(--qf-serif); font-weight: 500; font-size: 1.1em; }
.qf-ld-tabs { display: flex; gap: .4em; font-size: .6em; }
.qf-ld-tabs span { padding: .3em .75em; border-radius: 99px; background: var(--qf-chalk); color: var(--qf-ink3); }
.qf-ld-tabs .qf-on { background: var(--qf-p); color: #fff; }
.qf-ld-row { display: grid; grid-template-columns: auto 1fr auto; gap: .75em; align-items: center; padding: .72em 1.1em; border-bottom: 1px solid var(--qf-hair); background: #fff; }
.qf-av { font-size: .66em; width: 3.2em; height: 3.2em; border-radius: 50%; background: var(--qf-tint); color: var(--qf-p); display: grid; place-items: center; font-weight: 700; }
.qf-av svg { width: 1.5em; height: 1.5em; }
.qf-ld-row > div { min-width: 0; }
.qf-ld-row b { display: block; font-size: .74em; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qf-ld-row p { font-size: .66em; color: var(--qf-ink3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; }
.qf-pill { font-size: .58em; font-weight: 600; padding: .32em .75em; border-radius: 99px; white-space: nowrap; }
.qf-pill-p { background: var(--qf-tint); color: var(--qf-p); }
.qf-pill-g { background: var(--qf-okbg); color: var(--qf-ok); }
.qf-ld-st { display: grid; justify-items: end; }
.qf-ld-st > * { grid-area: 1 / 1; }
.qf-nw { opacity: 0; }
.qf-toast { position: absolute; right: 1em; bottom: 1em; background: var(--qf-ink); color: #fff; font-size: .66em; padding: .65em .95em; border-radius: .6em; display: flex; gap: .55em; align-items: center; opacity: 0; box-shadow: 0 .6em 1.4em -.6em rgba(0,0,0,.45); }
.qf-toast i { width: .55em; height: .55em; border-radius: 50%; background: #8fb4ff; }
.qf-tb i { background: #9cc196; }
.qf-r1 { animation: qf-ld-r1 8s infinite; }
.qf-nw { animation: qf-ld-nw 8s infinite; }
.qf-rp { animation: qf-ld-rp 8s infinite; }
.qf-ta { animation: qf-ld-ta 8s infinite; }
.qf-tb { animation: qf-ld-tb 8s infinite; }
@keyframes qf-ld-r1 { 0%, 3% { background: #fff; } 8%, 50% { background: var(--qf-tint); } 60%, 100% { background: #fff; } }
@keyframes qf-ld-nw { 0%, 4% { opacity: 0; } 8%, 52% { opacity: 1; } 56%, 100% { opacity: 0; } }
@keyframes qf-ld-rp { 0%, 54% { opacity: 0; } 58%, 100% { opacity: 1; } }
@keyframes qf-ld-ta { 0%, 4% { opacity: 0; transform: translateY(.8em); } 8%, 32% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; } }
@keyframes qf-ld-tb { 0%, 55% { opacity: 0; transform: translateY(.8em); } 59%, 84% { opacity: 1; transform: none; } 88%, 100% { opacity: 0; } }

/* adresa + google */
.qf-dm { padding: 1.3em 1.5em; display: flex; flex-direction: column; gap: 1em; background: linear-gradient(#f7f8fc, #fff); }
.qf-dm-bar { display: flex; align-items: center; gap: .6em; padding: .7em 1em; border: 1px solid var(--qf-hair); border-radius: 99px; background: #fff; box-shadow: 0 .4em 1em -.6em rgba(43,58,143,.35); }
.qf-dm-lock { width: 1em; height: 1em; color: var(--qf-ok); flex: none; }
.qf-dm-addr { font-family: var(--qf-mono); font-size: .8em; white-space: nowrap; min-width: 0; }
.qf-dm-addr b { font-weight: 500; color: var(--qf-p); }
.qf-dm-ok { margin-left: auto; font-size: .58em; font-weight: 600; color: var(--qf-ok); background: var(--qf-okbg); padding: .3em .75em; border-radius: 99px; white-space: nowrap; }
.qf-dm-lbl { font-family: var(--qf-mono); font-size: .56em; letter-spacing: .12em; text-transform: uppercase; color: var(--qf-ink3); }
.qf-dm-g { display: flex; flex-direction: column; gap: .3em; padding: .9em 1.05em; border-radius: .7em; border: 1px solid var(--qf-hair); background: #fff; }
.qf-g-url { font-size: .64em; color: var(--qf-ink2); }
.qf-g-title { font-size: 1em; color: #2944b0; font-weight: 500; line-height: 1.25; }
.qf-g-desc { font-size: .66em; color: var(--qf-ink2); line-height: 1.45; }
.qf-dm-chips { display: flex; gap: .4em; flex-wrap: wrap; }
.qf-dm-chips span { font-size: .58em; padding: .32em .75em; border-radius: 99px; background: var(--qf-chalk); color: var(--qf-ink2); }
.qf-dm-addr { animation: qf-dm-ty 8s infinite; }
.qf-dm-lock, .qf-dm-ok { animation: qf-dm-ok 8s infinite; }
.qf-dm-g { animation: qf-dm-g 8s infinite; }
.qf-dm-chips { animation: qf-dm-c 8s infinite; }
@keyframes qf-dm-ty { 0%, 4% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(24, end); } 34%, 94% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { clip-path: inset(0 0 0 0); opacity: 0; } }
@keyframes qf-dm-ok { 0%, 36% { opacity: 0; transform: scale(.8); } 40%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes qf-dm-g { 0%, 44% { opacity: 0; transform: translateY(.8em); } 52%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes qf-dm-c { 0%, 56% { opacity: 0; } 62%, 94% { opacity: 1; } 100% { opacity: 0; } }

/* vzhled a barvy */
.qf-th { display: flex; flex-direction: column; --qf-tc: var(--qf-p); animation: qf-th 10s infinite; }
.qf-th-site { flex: 1; margin: .9em .9em 0; border-radius: .6em .6em 0 0; border: 1px solid var(--qf-hair); border-bottom: 0; overflow: hidden; display: flex; flex-direction: column; min-height: 0; }
.qf-th-nav { display: flex; justify-content: space-between; align-items: center; padding: .55em .9em; font-family: var(--qf-serif); font-size: .82em; }
.qf-th-nav i { width: 2.2em; height: .6em; border-radius: 99px; background: var(--qf-tc); }
.qf-th-hero { background: color-mix(in srgb, var(--qf-tc) 13%, #fff); padding: 1em .9em; display: flex; flex-direction: column; gap: .5em; align-items: flex-start; }
.qf-th-k { font-family: var(--qf-mono); font-size: .54em; letter-spacing: .14em; color: var(--qf-tc); }
.qf-th-t { font-family: var(--qf-serif); font-weight: 300; font-size: 1.55em; line-height: 1.05; letter-spacing: -.01em; }
.qf-th-t em { font-style: italic; color: var(--qf-tc); }
.qf-th-b { background: var(--qf-tc); color: #fff; font-size: .6em; font-weight: 600; padding: .55em .95em; border-radius: 99px; }
.qf-th-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5em; padding: .75em .9em; }
.qf-th-cards div { height: 2.6em; border-radius: .4em; background: var(--qf-chalk); border-top: .25em solid var(--qf-tc); }
.qf-th-pal { display: flex; gap: .7em; justify-content: center; align-items: center; padding: .75em; border-top: 1px solid var(--qf-hair); background: #fafbfd; flex: none; }
.qf-th-pal small { font-size: .6em; color: var(--qf-ink3); margin-right: .4em; }
.qf-th-pal span { width: 1.5em; height: 1.5em; border-radius: 50%; background: linear-gradient(135deg, var(--c) 50%, var(--c2) 50%); animation: qf-sw 10s infinite; }
.qf-th-pal .qf-s1 { animation-delay: -7.5s; }
.qf-th-pal .qf-s2 { animation-delay: -5s; }
.qf-th-pal .qf-s3 { animation-delay: -2.5s; }
@keyframes qf-th { 0%, 20% { --qf-tc: #2b3a8f; } 25%, 45% { --qf-tc: #b5543a; } 50%, 70% { --qf-tc: #3d6b52; } 75%, 95% { --qf-tc: #6d3d8a; } 100% { --qf-tc: #2b3a8f; } }
@keyframes qf-sw { 0%, 22% { box-shadow: 0 0 0 .15em #fff, 0 0 0 .3em var(--qf-ink); } 25%, 100% { box-shadow: 0 0 0 0 transparent; } }

/* web z popisu */
.qf-bd { padding: 1.2em 1.4em; display: flex; flex-direction: column; gap: 1em; }
.qf-bd-lbl { font-family: var(--qf-serif); font-size: 1.1em; margin-bottom: .5em; }
.qf-bd-ta { border: 1px solid var(--qf-hair); border-radius: .6em; padding: .75em .85em; font-size: .72em; background: #fff; white-space: nowrap; overflow: hidden; box-shadow: inset 0 .1em .2em rgba(0,0,0,.03); }
.qf-bd-ty { display: inline-block; animation: qf-bd-ty 8s infinite; }
.qf-bd-steps { display: grid; gap: .5em; }
.qf-bd-s { display: flex; align-items: center; gap: .6em; font-size: .72em; color: var(--qf-ink2); animation: qf-bd-s1 8s infinite; }
.qf-bd-s:nth-child(2) { animation-name: qf-bd-s2; }
.qf-bd-s:nth-child(3) { animation-name: qf-bd-s3; }
.qf-bd-s:nth-child(4) { animation-name: qf-bd-s4; }
.qf-bd-s i, .qf-hl-it i { width: 1.25em; height: 1.25em; border-radius: 50%; background: var(--qf-ok); position: relative; flex: none; }
.qf-bd-s i::after, .qf-hl-it i::after { content: ""; position: absolute; left: .4em; top: .2em; width: .3em; height: .58em; border: solid #fff; border-width: 0 .14em .14em 0; transform: rotate(45deg); }
.qf-bd-s.qf-last { color: var(--qf-ink); font-weight: 600; }
.qf-bd-s.qf-last i { background: var(--qf-p); }
.qf-bd-bar { height: .42em; border-radius: 99px; background: var(--qf-chalk); overflow: hidden; margin-top: auto; }
.qf-bd-bar b { display: block; height: 100%; background: var(--qf-p); transform-origin: left; animation: qf-bd-b 8s infinite; }
@keyframes qf-bd-ty { 0%, 3% { clip-path: inset(0 100% 0 0); animation-timing-function: steps(30, end); } 28%, 93% { clip-path: inset(0 0 0 0); opacity: 1; } 100% { opacity: 0; clip-path: inset(0 0 0 0); } }
@keyframes qf-bd-s1 { 0%, 33% { opacity: 0; transform: translateX(-.5em); } 37%, 93% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes qf-bd-s2 { 0%, 43% { opacity: 0; transform: translateX(-.5em); } 47%, 93% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes qf-bd-s3 { 0%, 53% { opacity: 0; transform: translateX(-.5em); } 57%, 93% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes qf-bd-s4 { 0%, 65% { opacity: 0; transform: translateX(-.5em); } 69%, 93% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@keyframes qf-bd-b { 0%, 30% { transform: scaleX(0); } 68%, 93% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }

/* dokončit web */
.qf-hl { display: grid; grid-template-columns: auto 1fr; gap: 1.3em; align-items: center; padding: 1.2em 1.4em; --qf-sc: 96; animation: qf-hl 8s infinite; }
.qf-ring { width: 6.4em; height: 6.4em; border-radius: 50%; background: conic-gradient(var(--qf-p) calc(var(--qf-sc) * 1%), var(--qf-chalk) 0); display: grid; place-items: center; counter-reset: qfsc var(--qf-sc); }
.qf-ring::before { content: ""; grid-area: 1 / 1; width: 78%; height: 78%; border-radius: 50%; background: #fff; }
.qf-ring span { grid-area: 1 / 1; font-family: var(--qf-serif); font-size: 1.9em; position: relative; font-variant-numeric: tabular-nums; }
.qf-ring span::after { content: counter(qfsc); }
.qf-hl-cap { font-family: var(--qf-mono); font-size: .54em; letter-spacing: .12em; text-transform: uppercase; color: var(--qf-ink3); text-align: center; margin-top: .6em; }
.qf-hl-list { display: grid; gap: .45em; min-width: 0; }
.qf-hl-h { font-family: var(--qf-serif); font-size: 1em; margin-bottom: .15em; }
.qf-hl-it { display: flex; align-items: center; gap: .55em; font-size: .68em; color: var(--qf-ink2); padding: .5em .65em; border-radius: .5em; background: var(--qf-chalk); white-space: nowrap; overflow: hidden; }
.qf-hl-it i { width: 1.2em; height: 1.2em; }
.qf-hl-it i::after { left: .39em; top: .19em; }
.qf-hl-it.qf-w { background: var(--qf-warnbg); color: var(--qf-warn); }
.qf-hl-it.qf-w i { background: var(--qf-warn); }
.qf-hl-it.qf-w i::after { border: 0; width: .16em; height: .5em; left: .52em; top: .22em; background: #fff; transform: none; border-radius: .1em; }
.qf-fix { margin-left: auto; background: var(--qf-p); color: #fff; font-weight: 600; padding: .2em .6em; border-radius: 99px; font-size: .9em; }
.qf-hl-sw { display: grid; }
.qf-hl-sw > * { grid-area: 1 / 1; }
.qf-hl-sw .qf-w { opacity: 0; animation: qf-hl-w 8s infinite; }
.qf-hl-sw .qf-k { animation: qf-hl-k 8s infinite; }
@keyframes qf-hl { 0%, 30% { --qf-sc: 64; } 50%, 93% { --qf-sc: 96; } 100% { --qf-sc: 64; } }
@keyframes qf-hl-w { 0%, 2% { opacity: 0; } 6%, 32% { opacity: 1; } 38%, 100% { opacity: 0; } }
@keyframes qf-hl-k { 0%, 34% { opacity: 0; } 40%, 94% { opacity: 1; } 100% { opacity: 0; } }

@media (prefers-reduced-motion: reduce) { .qf *, .qf *::before, .qf *::after { animation: none !important; } }

@media (max-width: 960px) {
  .qf-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .qf-tile, .qf-t-editor, .qf-t-chat, .qf-t-leads, .qf-t-health { grid-column: auto; }
  .qf-t-editor { grid-column: 1 / -1; }
  .qf-tile .qf-mk, .qf-t-health .qf-mk, .qf-t-leads .qf-mk, .qf-t-chat .qf-mk { aspect-ratio: 4 / 3; }
  .qf-t-editor .qf-mk { aspect-ratio: 16 / 9; }
}
@media (max-width: 640px) {
  .qf-shell { padding: 0 20px; }
  .qf-bento { grid-template-columns: 1fr; gap: 12px; }
  .qf-tile .qf-mk, .qf-t-editor .qf-mk, .qf-t-leads .qf-mk, .qf-t-health .qf-mk { aspect-ratio: 16 / 10; }
  .qf-t-chat .qf-mk { aspect-ratio: 5 / 4; }
  .qf-tile .qf-in { font-size: 2.15cqw; }
  .qf-t-health .qf-hl { grid-template-columns: auto 1fr; justify-items: stretch; }
  .qf-tile { padding: 10px 10px 20px; gap: 16px; }
  .qf-tt h3 { font-size: 20px; }
}


/* ── Ceník (block „Ceník") — builds on the .qf section base, own qp- prefix ── */
.qp { border-top: 0; background: var(--qf-chalk); }
.qp-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 20px; align-items: stretch; }
.qp-card { border-radius: 22px; padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; gap: 14px; }
.qp-main { background: var(--qf-p); color: #fff; box-shadow: 0 30px 60px -36px color-mix(in srgb, var(--qf-p) 80%, #000); }
.qp-side { background: #fff; border: 1px solid var(--qf-hair); }
.qp-badge { align-self: flex-start; font-family: var(--qf-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; padding: 6px 11px; border-radius: 99px; background: color-mix(in srgb, #fff 16%, transparent); color: #fff; }
.qp .qp-name { font-family: var(--qf-serif); font-weight: 400; font-size: 24px; letter-spacing: -.015em; line-height: 1.15; }
.qp-main .qp-name { color: #fff; }
.qp-side .qp-name { color: var(--qf-ink); }
.qp-price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.qp-price b { font-family: var(--qf-serif); font-weight: 300; font-size: clamp(44px, 5.4vw, 68px); letter-spacing: -.03em; line-height: 1; }
.qp-price span { font-size: 16px; opacity: .8; }
.qp-price-sm b { font-size: clamp(28px, 3vw, 38px); color: var(--qf-p); }
.qp .qp-sub { font-size: 14px; color: color-mix(in srgb, #fff 78%, transparent); }
.qp-list { list-style: none; margin: 8px 0 0; padding: 18px 0 0; border-top: 1px solid color-mix(in srgb, #fff 22%, transparent); display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.qp-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.4; }
.qp-list li i { flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%; background: color-mix(in srgb, #fff 18%, transparent); position: relative; }
.qp-list li i::after { content: ""; position: absolute; left: 6px; top: 3px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.qp .qp-addon { font-size: 14px; color: color-mix(in srgb, #fff 78%, transparent); }
.qp .qp-text { font-size: 15px; line-height: 1.55; color: var(--qf-ink2); }
.qp-cta { margin-top: auto; padding-top: 10px; display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.qp .qp-btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 22px; border-radius: 999px; background: #fff; border: 1px solid #fff; color: var(--qf-p); font-family: var(--qf-sans); font-size: 15px; font-weight: 600; text-decoration: none; transition: transform 120ms ease, background 120ms ease; }
.qp .qp-btn:hover { transform: translateY(-1px); background: color-mix(in srgb, #fff 90%, var(--qf-p)); }
.qp .qp-btn-ghost { background: transparent; color: var(--qf-p); }
.qp .qp-btn-ghost:hover { background: var(--qf-tint); }
.qp .qp-note { font-size: 13.5px; color: color-mix(in srgb, #fff 75%, transparent); }
.qp-faq { margin-top: clamp(40px, 5vw, 64px); display: grid; grid-template-columns: 4fr 8fr; gap: 24px 40px; align-items: start; }
.qp .qp-faq-h { font-family: var(--qf-serif); font-weight: 300; font-size: clamp(26px, 2.6vw, 34px); letter-spacing: -.02em; line-height: 1.1; color: var(--qf-ink); }
.qp-faq-list { display: flex; flex-direction: column; border-top: 1px solid var(--qf-hair); }
.qp-q { border-bottom: 1px solid var(--qf-hair); padding: 16px 0; }
.qp-q summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; font-size: 16px; font-weight: 500; color: var(--qf-ink); }
.qp-q summary::-webkit-details-marker { display: none; }
.qp-q summary::after { content: "+"; font-family: var(--qf-mono); color: var(--qf-p); transition: transform 160ms ease; }
.qp-q[open] summary::after { transform: rotate(45deg); }
.qp .qp-q p { margin-top: 10px; font-size: 15px; line-height: 1.6; color: var(--qf-ink2); max-width: 64ch; }
.qp-list-ink { grid-template-columns: 1fr; border-top-color: var(--qf-hair); color: var(--qf-ink); }
.qp-list-ink li i { background: var(--qf-tint); }
.qp-list-ink li i::after { border-color: var(--qf-p); }
@media (max-width: 960px) {
  .qp-grid, .qp-faq { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .qp-list { grid-template-columns: 1fr; }
}
