/* The editorial layer: big type, a lot of air. Sits on top of form-ui.css, which owns the
   tokens, the dark theme and the buttons.

   REDESIGNED 2026-10-09 ("design, barvy a zkrátit" → slate+green, "jiný web, ne jen jiná
   barva"). What changed, and why each one:
     · HEADINGS ARE A DISPLAY FACE (Space Grotesk) and the body stays Inter. One typeface
       doing both jobs is what made every section read at the same volume.
     · CARDS ARE A BORDER AND EMPTY SPACE, not a grey box with a shadow. A shadow is a
       cheap way to say "this is a thing"; a 1px line and real padding say it better and
       survive dark mode without being retuned.
     · THE EYEBROW IS A RULE, not just small uppercase text — a short accent line above it,
       so a section announces itself on the left margin instead of floating.
     · Radii dropped from 20px to 10px. 20px everywhere reads as a phone app.
   The old file: blue accent, soft shadows, 20px corners, Inter throughout. */

.site { max-width: 1080px; margin: 0 auto; padding: 0 24px; width: 100%; }
@media (max-width: 560px) { .site { padding: 0 18px; } }

/* ── Section rhythm ─────────────────────────────────────────────────────────── */
.sec { padding: 88px 0; }
.sec-tight { padding: 56px 0; }
.sec + .sec { border-top: 1px solid var(--border-light); }
@media (max-width: 700px) { .sec { padding: 60px 0; } .sec-tight { padding: 40px 0; } }

/* The eyebrow is a RULE plus a word. The accent line is what puts the section on the left
   margin; without it the uppercase text floats and every section starts the same way. */
.eyebrow-lg { font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.eyebrow-lg::before { content: ""; width: 28px; height: 2px; background: var(--accent); flex: none; }

.h-xl, .h-lg, .h-md { font-family: var(--font-display); }
.h-xl { font-size: clamp(2.4rem, 7vw, 4.4rem); line-height: 1.02; letter-spacing: -.035em; font-weight: 700; }
.h-lg { font-size: clamp(1.7rem, 4vw, 2.5rem); line-height: 1.12; letter-spacing: -.025em; font-weight: 700; }
.h-md { font-size: 1.2rem; font-weight: 700; letter-spacing: -.015em; }
.lead-lg { font-size: clamp(1.02rem, 1.9vw, 1.18rem); line-height: 1.65; color: var(--text-secondary); max-width: 58ch; }
.muted { color: var(--text-secondary); }
.narrow { max-width: 720px; }

/* ── Hero ───────────────────────────────────────────────────────────────────── */
.hero-x { padding: 86px 0 64px; }
.hero-x .h-xl { margin-bottom: 22px; }
.hero-x .lead-lg { margin-bottom: 32px; }
@media (max-width: 700px) { .hero-x { padding: 56px 0 44px; } }
.cta-row-x { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.btn-lg { padding: 13px 24px; font-size: .96rem; border-radius: var(--radius-sm); }
/* .link-arrow moved to bs-links.css — one definition of a link, for every page. */
.cta-row-x .link-arrow { font-size: .95rem; }

/* ── Cards ──────────────────────────────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 22px; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 20px; }
@media (min-width: 760px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-3 { grid-template-columns: repeat(3, 1fr); } }

/* NO SHADOW. A border and padding, and the card is white on an off-white page so it still
   separates. Hover moves the border to the accent instead of lifting the box — a card that
   rises off the page on hover is an invitation to click something that is often not a link. */
.card-x { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 28px; transition: border-color .18s; }
.card-x.link:hover { border-color: var(--accent); }
.card-x h3 { font-family: var(--font-display); font-size: 1.22rem; font-weight: 700; letter-spacing: -.015em; margin-bottom: 10px; }
.card-x p { font-size: .95rem; line-height: 1.6; color: var(--text-secondary); }
.card-x .tag { display: inline-block; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-light); border-radius: 999px; padding: 4px 11px; margin-bottom: 14px; }
.card-x .tag.y { color: var(--accent-2-hover); background: var(--accent-2-light); }
html[data-theme="dark"] .card-x .tag.y { color: var(--accent-2); }

/* Numbered steps */
.step-x { display: flex; gap: 16px; align-items: flex-start; }
.step-x .num { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: .95rem; background: var(--accent-light); color: var(--accent); }
.step-x h4 { font-size: 1.02rem; font-weight: 700; margin-bottom: 5px; }
.step-x p { font-size: .93rem; line-height: 1.6; color: var(--text-secondary); }

/* Feature list with a tick */
.ticks { display: flex; flex-direction: column; gap: 12px; }
.ticks li { list-style: none; display: flex; gap: 11px; font-size: .97rem; line-height: 1.55; color: var(--text-secondary); }
.ticks li::before { content: "✓"; color: var(--accent); font-weight: 800; flex: 0 0 auto; }
.ticks li strong { color: var(--text-primary); font-weight: 600; }

/* ── Values strip ───────────────────────────────────────────────────────────── */
.values { display: flex; gap: 10px; flex-wrap: wrap; }
.value-pill { font-size: .85rem; font-weight: 600; padding: 8px 15px; border-radius: 999px;
  border: 1px solid var(--border); color: var(--text-secondary); }

/* ── Callout band ───────────────────────────────────────────────────────────── */
.band { background: var(--bg-secondary); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 44px 38px; }
@media (max-width: 560px) { .band { padding: 30px 22px; } .card-x { padding: 24px 20px; } }
/* Was a hardcoded blue gradient — the old accent, typed in rather than tokenised, which is
   exactly the thing that survives a palette change and shouldn't. */
.band-accent { background: linear-gradient(135deg, #059669 0%, #047857 55%, #0f766e 100%); color: #fff; }
.band-accent h2, .band-accent h3 { color: #fff; }
.band-accent p { color: rgba(255,255,255,.92); }

/* ── Footer ─────────────────────────────────────────────────────────────────── */
.foot-x { border-top: 1px solid var(--border-light); padding: 42px 0 56px; margin-top: 0; }
.foot-cols { display: grid; grid-template-columns: 1fr; gap: 26px; }
@media (min-width: 700px) { .foot-cols { grid-template-columns: 2fr 1fr 1fr; } }
.foot-x h5 { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--text-tertiary); margin-bottom: 12px; }
.foot-x a { display: block; color: var(--text-secondary); text-decoration: none; font-size: .92rem; padding: 4px 0; }
.foot-x a:hover { color: var(--accent); }
.foot-note { font-size: .84rem; color: var(--text-tertiary); margin-top: 30px; }

/* ── Live demo chat ─────────────────────────────────────────────────────────── */
.demo-shell { max-width: 720px; margin: 0 auto; }
.demo-card { background: var(--card-bg); border: 1px solid var(--border-light); border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0,0,0,.06); overflow: hidden; }
html[data-theme="dark"] .demo-card { box-shadow: 0 4px 20px rgba(0,0,0,.4); }
.demo-log { padding: 22px; display: flex; flex-direction: column; gap: 12px; max-height: 46vh; min-height: 220px; overflow-y: auto; }
.dm { font-size: .92rem; line-height: 1.5; padding: 11px 15px; border-radius: 15px; max-width: 84%; }
.dm.a { background: var(--bg-secondary); color: var(--text-primary); align-self: flex-start; border-bottom-left-radius: 5px; }
.dm.u { background: var(--accent); color: #fff; align-self: flex-end; border-bottom-right-radius: 5px; }
.dm-typing { display: inline-flex; gap: 4px; align-items: center; height: 1.1em; }
.dm-typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--text-tertiary); opacity: .5; animation: dmb 1.2s infinite; }
.dm-typing i:nth-child(2) { animation-delay: .2s; } .dm-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes dmb { 0%,60%,100% { opacity: .25; transform: translateY(0); } 30% { opacity: .9; transform: translateY(-3px); } }
.demo-input { display: flex; gap: 10px; padding: 14px; border-top: 1px solid var(--border-light); background: var(--bg-secondary); }
.demo-input textarea { flex: 1; resize: none; min-height: 44px; max-height: 120px; font-family: inherit; font-size: .93rem;
  padding: 11px 14px; border: 1px solid var(--border); border-radius: var(--radius-sm); background: var(--card-bg); color: var(--text-primary); outline: none; }
.demo-input textarea:focus { border-color: var(--accent); }
.demo-bar { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; padding: 12px 14px; border-top: 1px solid var(--border-light); }
.summary-card { border: 1px solid var(--accent); background: var(--accent-light); border-radius: var(--radius); padding: 26px 24px; margin-top: 22px; }
.summary-card h3 { font-size: 1.1rem; margin-bottom: 12px; }
.summary-card ul { margin: 0 0 14px 18px; display: flex; flex-direction: column; gap: 7px; }
.summary-card li { font-size: .94rem; line-height: 1.55; color: var(--text-secondary); }
.summary-labels { display: flex; gap: 7px; flex-wrap: wrap; }
.summary-labels span { font-size: .72rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; background: var(--card-bg); color: var(--accent); }
.ai-disclose { display: flex; gap: 9px; align-items: center; font-size: .84rem; color: var(--text-secondary);
  background: var(--bg-secondary); border: 1px solid var(--border-light); border-radius: var(--radius-sm); padding: 11px 15px; margin-bottom: 20px; }

/* ── Embedded product video ─────────────────────────────────────────────────
   Portrait, so it stays the same asset that goes on X. Muted+autoplay+loop is
   what the format expects; controls stay available for anyone who wants them. */
.vid-wrap { max-width: 460px; margin: 0 auto; }
.vid-wrap video { width: 100%; display: block; border-radius: var(--radius);
  border: 1px solid var(--border-light); box-shadow: 0 8px 34px rgba(0,0,0,.10); background: var(--card-bg); }
html[data-theme="dark"] .vid-wrap video { box-shadow: 0 8px 34px rgba(0,0,0,.5); }
.vid-cap { text-align: center; font-size: .84rem; color: var(--text-tertiary); margin-top: 12px; }
@media (min-width: 900px) { .vid-side { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; } }
