/* V3: pracovní vizuální hodnoty Fáze 2, nikoli finální design systém. */
:root {
  color-scheme: light;
  --paper: #fcfbfe;
  --ink: #24212e;
  --muted: #666171;
  --line: #dedbe7;
  --violet: #6640ce;
  --blue: #345be5;
  --pink: #a53597;
  --heading: "Avenir Next", Avenir, "Trebuchet MS", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-padding-top: var(--navigation-offset, 120px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { font-family: var(--heading); font-weight: 600; text-wrap: balance; }
h2 { font-size: clamp(42px, 4.6vw, 72px); line-height: 1.1; letter-spacing: -.055em; }
h3 { font-size: clamp(30px, 2.7vw, 42px); line-height: 1.15; letter-spacing: -.04em; }
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; height: auto; }
button { font: inherit; }
figure, .container > *, .feature > *, .workflow-layout > * { min-width: 0; }
::selection { background: #e3d8ff; color: #322152; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 5px; border-radius: 4px; }
.container { width: min(1320px, calc(100% - 112px)); margin-inline: auto; }
.eyebrow { color: var(--violet); font-size: 12px; line-height: 1.5; letter-spacing: .12em; font-weight: 600; text-transform: uppercase; }
.accent-text { color: var(--violet); background: linear-gradient(110deg, #3655d5 8%, #7239c3 60%, #a53597); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.text-link { display: inline-flex; align-items: center; gap: 16px; min-height: 44px; font-size: 13px; font-weight: 500; text-underline-offset: 5px; }
.text-link span { font-size: 20px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 34px; min-height: 54px; padding: 13px 25px; border: 1px solid transparent; border-radius: 12px; color: #fff; background: #6440cc; font-size: 14px; font-weight: 600; transition: background 180ms ease, box-shadow 180ms ease; }
.button span { font-size: 20px; font-weight: 400; }
.button-small { min-height: 44px; padding: 9px 17px; gap: 20px; font-size: 13px; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 20px; transform: translateY(-180%); padding: 12px 20px; border-radius: 8px; color: #fff; background: #4c299d; }
.skip-link:focus { transform: none; }

.site-header { position: sticky; z-index: 30; top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 30px; width: min(1360px, calc(100% - 64px)); min-height: 74px; margin: 16px auto 0; padding: 12px 20px 12px 25px; border: 1px solid #e4e0ec; border-radius: 18px; background: var(--paper); transition: box-shadow 250ms ease, border-color 250ms ease; }
.site-header.is-scrolled { box-shadow: 0 8px 30px #28203d0b; border-color: #d6d0e5; }
.brand { display: block; flex-shrink: 0; width: 205px; }
.brand img { aspect-ratio: 334 / 56.129032258; }
.main-nav { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0 32px; font-size: 13px; }
.main-nav a { position: relative; display: flex; align-items: center; min-height: 44px; white-space: nowrap; transition: color 180ms ease; }
.main-nav a::after { content: ""; position: absolute; right: 0; bottom: 2px; left: 0; height: 2px; background: var(--violet); opacity: 0; transition: opacity 200ms ease; }
.main-nav a[aria-current="location"] { color: var(--violet); }
.main-nav a[aria-current="location"]::after { opacity: 1; }

/* Pozvánka do bety s průsvitným panelem a rámečkem podle karuselu. */
.site-header [data-beta-dialog] { cursor: pointer; }
.beta-dialog { width: min(680px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0; overflow: hidden; border: 13px solid #e5def2; border-radius: 28px; background: rgb(252 251 254 / .75); background-clip: padding-box; color: var(--ink); box-shadow: 0 24px 80px #24143d33; -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.beta-dialog[open] { display: flex; flex-direction: column; }
.beta-dialog::backdrop { background: #18132066; }
.beta-dialog-content { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 36px; }
.beta-dialog h2 { padding-right: 40px; font-size: clamp(30px, 4vw, 42px); line-height: 1.15; }
.beta-dialog h3 { font-size: 23px; line-height: 1.25; letter-spacing: -.035em; }
.beta-dialog p { margin-top: 12px; font-size: 16px; line-height: 1.6; color: var(--muted); }
.beta-dialog-step { margin-top: 28px; }
.beta-dialog-step .button { max-width: 100%; margin-top: 18px; text-align: center; }
.beta-dialog .beta-secondary { border-color: #bfb0dc; color: #54359e; background: transparent; }
.beta-dialog .beta-dialog-note { margin-top: 28px; font-size: 14px; }
.beta-dialog-close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); font-size: 30px; line-height: 1; cursor: pointer; }
@media (hover: hover) {
  .beta-dialog .beta-secondary:hover { border-color: #8f74bd; background: #ebe4f780; }
}
@media (max-width: 800px) {
  .beta-dialog { width: calc(100% - 24px); max-height: calc(100dvh - 24px); border-width: 7px; border-radius: 18px; }
}
@media (max-width: 480px) {
  .beta-dialog-content { padding: 24px 18px; }
  .beta-dialog-step .button { width: 100%; padding-inline: 16px; }
}

.hero { padding-top: 76px; }
.hero-intro { text-align: center; }
.hero .eyebrow { display: flex; align-items: center; justify-content: center; gap: 9px; text-transform: none; letter-spacing: .045em; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--violet); }
.hero h1 { margin-top: 22px; font-size: clamp(64px, 7.1vw, 112px); line-height: 1.06; letter-spacing: -.065em; }
.hero h1 span { white-space: nowrap; }
.hero-support { margin-top: 20px; font-family: var(--heading); font-size: clamp(21px, 2.1vw, 31px); line-height: 1.4; letter-spacing: -.035em; }
.hero-description { margin-top: 18px; color: var(--muted); font-size: 16px; }
.actions { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 16px 28px; margin-top: 26px; }
.product-showcase { max-width: 1190px; margin-block: 0 110px; }
.product-mat { padding: 22px 30px 0; border: 1px solid #ded6ee; border-radius: 28px; background: linear-gradient(125deg, #eae5fd, #eeeafa 55%, #f7e8f5); }
.product-showcase img { filter: drop-shadow(0 20px 18px #30234917); }
figcaption { color: var(--muted); font-size: 12px; }
.product-showcase figcaption { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 18px; }
.product-showcase figcaption > span { font-size: 10px; letter-spacing: .12em; }
.product-showcase figcaption .text-link { font-size: 11px; }

.chapter { display: grid; grid-template-columns: 100px 1fr; gap: 25px; }
.chapter-number { padding-top: 12px; color: var(--violet); font-size: 13px; font-variant-numeric: tabular-nums; letter-spacing: .08em; }
.chapter p { margin-top: 30px; color: var(--muted); font-size: 19px; line-height: 1.65; }
.chapter strong { color: var(--ink); font-weight: 500; }
.chapter-opening { padding-block: 135px 125px; }
.chapter-opening h2 { font-size: clamp(48px, 5.7vw, 88px); }
.chapter-bottom { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.route { display: flex; align-items: center; justify-content: space-between; gap: 22px; width: 330px; margin-bottom: 8px; color: var(--violet); font-size: 15px; }
.route > span:nth-child(2) { font-size: 30px; }
.features { padding-block: 50px 95px; background: #f4f2f8; border-radius: 48px 48px 0 0; }
.section-label { display: flex; justify-content: space-between; gap: 25px; padding-bottom: 28px; border-bottom: 1px solid var(--line); }
.section-label > span { color: var(--muted); font-size: 10px; letter-spacing: .1em; }
.chapter-selection { padding-block: 72px 50px; }
.feature { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.5fr); gap: 60px; align-items: center; }
.feature-copy { max-width: 355px; }
.feature-copy h3 { margin-top: 18px; }
.feature-copy > p:not(.eyebrow) { margin-top: 22px; color: var(--muted); font-size: 16px; }
.feature-copy .text-link { margin-top: 20px; color: #58408a; }
.feature-image figcaption { padding: 8px 30px 0; }
.selection-image { padding: 20px 0 12px; border-radius: 20px; background: #e7e1f3; }
.feature-select { padding-block: 20px 70px; }
.chapter-order { padding-block: 75px 45px; border-top: 1px solid var(--line); }
.feature-structure { grid-template-columns: minmax(0, 1.5fr) minmax(0, .72fr); padding-bottom: 100px; }
.feature-structure .feature-copy { grid-column: 2; grid-row: 1; }
.feature-structure .feature-image { grid-column: 1; grid-row: 1; }
.feature-detail { padding-block: 64px; }
.feature-detail + .feature-detail { border-top: 1px solid var(--line); }
.feature-detail .feature-copy h3 { margin-top: 0; }
.feature-detail .feature-image { padding: 16px; }
.feature-settings-image { width: min(100%, 560px); justify-self: center; }
.structure-image { background: #e6eaf6; padding: 20px 0 12px; border-radius: 20px; }
.feature-confidence { padding-top: 62px; border-top: 1px solid var(--line); }
.confidence-heading { display: grid; grid-template-columns: 1fr .8fr; gap: 70px; align-items: end; }
.confidence-heading h3 { margin-top: 18px; font-size: clamp(36px, 3.5vw, 56px); }
.confidence-heading > p { max-width: 440px; color: var(--muted); font-size: 16px; }
.confidence-images { display: grid; grid-template-columns: 1fr .82fr; gap: 24px; align-items: start; margin-top: 40px; }
.confidence-result { margin-top: 100px; }
.confidence-images figcaption { padding: 0 24px; }
.caption-index { margin-right: 14px; color: var(--violet); font-variant-numeric: tabular-nums; }

/* Zvětšení screenshotů bez opuštění stránky. */
.screenshot-link { display: block; cursor: zoom-in; }
html.screenshot-open, html.beta-open { overflow: hidden; scrollbar-gutter: stable; }
.screenshot-lightbox { width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 72px 24px 24px; border: 0; background: transparent; color: var(--ink); overscroll-behavior: contain; }
.screenshot-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.screenshot-lightbox::backdrop { background: #181320e6; }
.screenshot-lightbox img { width: auto; height: auto; max-width: 100%; max-height: 100%; object-fit: contain; cursor: zoom-out; }
.screenshot-lightbox-close { position: fixed; top: 16px; right: 24px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); font-size: 30px; line-height: 1; cursor: pointer; }
@media (max-width: 600px) {
  .screenshot-lightbox { padding: 72px 8px 16px; }
  .screenshot-lightbox-close { right: 12px; }
}

.workflow { padding-block: 100px 80px; }
.workflow-intro { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 40px; }
.workflow-intro h2 { margin-top: 22px; }
.workflow-motto { flex-shrink: 0; margin-bottom: 8px; color: var(--muted); font-size: 15px; }
.workflow-steps { margin: 0; padding: 0; list-style: none; }
.workflow-step { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.5fr); gap: 60px; align-items: center; padding-block: 40px; }
.step-number { display: block; margin-bottom: 22px; color: var(--violet); font: 500 38px/1 var(--heading); letter-spacing: -.05em; }
.step-copy { max-width: 350px; }
.step-copy h3 { font-size: clamp(28px, 2.5vw, 38px); }
.step-copy p { margin-top: 20px; color: var(--muted); font-size: 16px; }
.step-copy .text-link { margin-top: 20px; color: #58408a; }
.workflow-stage { display: none; }

/* Jediná geometrie pro všech pět snímků. Žádné individuální transformace.
   Průhlednost je jediná animovaná vlastnost snímků; akcent se mění za scénou. */
@media (min-width: 1100px) and (min-height: 700px) and (prefers-reduced-motion: no-preference) {
  .workflow-enhanced .workflow-layout { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.65fr); gap: 65px; align-items: start; }
  .workflow-enhanced .workflow-step { position: relative; display: flex; min-height: 90vh; padding-block: 65px; }
  .workflow-enhanced .step-copy { padding-left: 25px; border-left: 2px solid var(--line); transition: border-color 450ms ease; }
  .workflow-enhanced .workflow-step.is-active .step-copy { border-left-color: var(--violet); }
  /* Původní snímky zůstávají dostupné asistivním technologiím. */
  .workflow-enhanced .step-shot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .workflow-enhanced .workflow-stage { display: block; position: sticky; top: 136px; width: min(100%, calc((100vh - 250px) * 3026 / 2200)); justify-self: end; padding: 0; }
  .scene-frame { position: relative; isolation: isolate; width: 100%; aspect-ratio: 3026 / 2200; }
  .scene-frame::before { content: ""; position: absolute; z-index: -1; inset: -12px -8px; border: 1px solid #ddd5ef; border-radius: 24px; background: #eee9fb; transition: background-color 650ms ease, border-color 650ms ease; }
  .workflow-stage[data-step="1"] .scene-frame::before, .workflow-stage[data-step="3"] .scene-frame::before { background-color: #f5e8f5; border-color: #e6d1e8; }
  .workflow-stage[data-step="4"] .scene-frame::before { background-color: #e6edfc; border-color: #cfdcf5; }
  .scene-slide, .scene-slide img { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; }
  .scene-slide { opacity: 0; pointer-events: none; transition: opacity 650ms cubic-bezier(.4, 0, .2, 1); }
  .scene-slide.is-active { opacity: 1; pointer-events: auto; }
  .scene-slide img { object-fit: contain; object-position: center; }
  .scene-caption { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 56px; padding: 18px 6px 0; color: var(--muted); font-size: 12px; }
  .scene-counter { color: var(--violet); font-variant-numeric: tabular-nums; letter-spacing: .08em; }
  .scene-label { flex: 0 0 180px; }
}

.creators { padding-block: 100px 120px; border-top: 1px solid var(--line); }
.creators h2 { margin-top: 26px; font-size: clamp(52px, 6.7vw, 104px); line-height: 1.04; }
.creators-bottom { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; margin-top: 44px; }
.creators-arrow { color: var(--violet); font: 300 120px/1 var(--heading); }
.creators-bottom p { max-width: 510px; color: var(--muted); font-size: 20px; line-height: 1.7; }
.beta { padding: 7px; border-radius: 28px; background: linear-gradient(110deg, #3655db, #8141d5 55%, #b947a3); }
.beta-inner { padding: 65px 65px 55px; border-radius: 22px; background: #262036; color: #fff; }
.beta .eyebrow { color: #c7b7f4; }
.beta h2 { margin-top: 22px; font-size: clamp(42px, 4.7vw, 72px); }
.beta-bottom { display: flex; justify-content: space-between; align-items: start; gap: 40px; margin-top: 42px; }
.beta-bottom p { max-width: 420px; color: #d2cbdc; font-size: 16px; }
.beta-action { display: flex; flex-direction: column; gap: 10px; align-items: center; }
.beta-action [data-beta-dialog] { cursor: pointer; }
.pending-button { display: flex; align-items: center; gap: 24px; min-height: 54px; padding: 14px 24px; border: 1px solid #cfc2f0; border-radius: 12px; background: #eee8fa; color: #45345f; opacity: 1; font-size: 14px; font-weight: 600; cursor: default; }
.beta-action > span { color: #c2b9d0; font-size: 11px; }
.faq { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; padding-block: 130px; }
.faq h2 { margin-top: 20px; font-size: clamp(42px, 4vw, 60px); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list details:first-child { border-top: 1px solid var(--line); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 25px; min-height: 85px; padding-block: 23px; font-size: 16px; line-height: 1.5; font-weight: 500; list-style: none; cursor: pointer; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { flex-shrink: 0; color: var(--violet); font-size: 25px; font-weight: 400; transition: transform 180ms ease; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 590px; padding: 0 30px 25px 0; color: var(--muted); font-size: 15px; }
.site-footer { padding-block: 44px 24px; background: #25212e; color: #fff; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.footer-top nav { display: flex; flex-wrap: wrap; gap: 25px; font-size: 12px; color: #d3ccdE; }
.footer-top nav a { display: inline-flex; align-items: center; min-height: 44px; }
.footer-top .text-link { color: #e4d9ff; }
.footer-top button.text-link { padding: 0; border: 0; background: none; cursor: pointer; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: 30px; padding-top: 18px; border-top: 1px solid #4c435c; color: #bbb3c9; font-size: 11px; }
.footer-bottom small { font-size: inherit; }
.footer-bottom a { display: inline-flex; align-items: center; min-height: 36px; gap: 12px; }

@media (hover: hover) {
  .button:hover { background: #5030ad; box-shadow: 0 6px 20px #6040b025; }
  .text-link:hover, .footer-bottom a:hover { text-decoration: underline; }
  .main-nav a:hover, summary:hover { color: var(--violet); }
  .site-footer nav a:hover { color: #fff; }
}
@media (max-width: 1099px) {
  .container { width: calc(100% - 64px); }
  .site-header { width: calc(100% - 40px); gap: 22px; padding-inline: 18px; }
  .brand { width: 178px; }
  .main-nav { gap: 0 19px; font-size: 12px; }
  .chapter { grid-template-columns: 60px 1fr; gap: 20px; }
  .chapter-opening { padding-block: 90px; }
  .route { width: 220px; }
  .feature, .feature-structure { gap: 30px; }
  .feature-copy .eyebrow { font-size: 10px; }
  .workflow-intro { align-items: start; flex-direction: column; gap: 24px; }
  .workflow-step { gap: 25px; }
  .confidence-heading { gap: 35px; }
  .creators { padding-block: 85px; }
  .beta-inner { padding: 50px 40px 40px; }
  .faq { gap: 40px; padding-block: 90px; }
  .footer-top { flex-wrap: wrap; gap: 15px 30px; }
}
@media (max-width: 800px) {
  html { scroll-padding-top: var(--navigation-offset, 136px); }
  .container { width: calc(100% - 40px); }
  .site-header { top: 8px; display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; width: calc(100% - 24px); margin-top: 8px; padding: 10px 14px 2px; border-radius: 15px; }
  .brand { width: 166px; }
  .main-nav { grid-row: 2; grid-column: 1 / -1; justify-content: space-between; gap: 0 10px; font-size: 11px; }
  .site-header > .button { grid-row: 1; grid-column: 2; padding: 8px 12px; gap: 10px; font-size: 12px; }
  .hero { padding-top: 54px; }
  .hero h1 { font-size: clamp(54px, 10vw, 76px); }
  .hero-support { font-size: 22px; }
  .hero-description { max-width: 300px; margin: 20px auto 0; font-size: 15px; }
  .product-showcase { margin-block: 0 70px; }
  .product-mat { padding: 9px 3px 0; border-radius: 16px; }
  .product-showcase figcaption { padding: 8px 3px; gap: 10px; }
  .product-showcase figcaption > span { font-size: 8px; letter-spacing: .08em; }
  .product-showcase figcaption .text-link { gap: 6px; font-size: 10px; }
  .chapter { grid-template-columns: 1fr; gap: 19px; }
  .chapter-number { padding: 0; font-size: 11px; }
  .chapter-opening { padding-block: 70px 76px; }
  .chapter-opening h2 { font-size: clamp(43px, 7vw, 62px); }
  .chapter p { font-size: 17px; margin-top: 24px; }
  .chapter-bottom { align-items: start; flex-direction: column; gap: 30px; }
  .route { width: min(100%, 340px); }
  .features { padding-block: 32px 65px; border-radius: 28px 28px 0 0; }
  .section-label { padding-bottom: 20px; }
  .section-label > span { display: none; }
  .features .section-label { flex-wrap: wrap; gap: 12px 24px; }
  .features .section-label > span { display: block; max-width: 100%; }
  .chapter-selection { padding-block: 40px; }
  h2 { font-size: clamp(38px, 7.1vw, 58px); }
  h3 { font-size: 32px; }
  .feature, .feature-structure { grid-template-columns: 1fr; gap: 30px; }
  .feature-copy { max-width: 520px; }
  .feature-copy > p:not(.eyebrow) { margin-top: 16px; }
  .feature-copy .text-link { margin-top: 12px; }
  .feature-image figcaption { padding-inline: 15px; font-size: 11px; }
  .feature-select { padding-block: 10px 50px; }
  .chapter-order { padding-block: 45px 40px; }
  .feature-structure { padding-bottom: 48px; }
  .feature-structure .feature-copy, .feature-structure .feature-image { grid-column: auto; grid-row: auto; }
  .feature-detail { padding-block: 40px; }
  .feature-detail .feature-image { padding: 10px; }
  .selection-image, .structure-image { padding-top: 10px; border-radius: 15px; }
  .feature-confidence { padding-top: 44px; }
  .confidence-heading { grid-template-columns: 1fr; gap: 20px; }
  .confidence-heading h3 { font-size: 37px; }
  .confidence-images { grid-template-columns: 1fr; gap: 30px; margin-top: 30px; }
  .confidence-result { margin-top: 0; }
  .confidence-images figcaption { padding-inline: 14px; }
  .workflow { padding-block: 66px 40px; }
  .workflow-intro { gap: 20px; margin-bottom: 30px; }
  .workflow-motto { font-size: 14px; }
  .workflow-step { grid-template-columns: 1fr; gap: 25px; padding-block: 34px; border-top: 1px solid var(--line); }
  .step-number { font-size: 30px; margin-bottom: 18px; }
  .step-copy { max-width: 520px; }
  .step-copy h3 { font-size: 30px; }
  .step-copy p { margin-top: 16px; }
  .step-copy .text-link { margin-top: 12px; }
  .creators { padding-block: 64px 70px; }
  .creators h2 { font-size: clamp(43px, 8.2vw, 64px); }
  .creators-bottom { grid-template-columns: 40px 1fr; gap: 24px; margin-top: 30px; align-items: start; }
  .creators-arrow { font-size: 50px; }
  .creators-bottom p { font-size: 17px; }
  .beta { padding: 5px; border-radius: 20px; }
  .beta-inner { padding: 35px 23px; border-radius: 15px; }
  .beta h2 { font-size: clamp(36px, 6.6vw, 52px); }
  .beta h2 br { display: none; }
  .beta-bottom { flex-direction: column; gap: 26px; margin-top: 25px; }
  .beta-action { align-items: start; max-width: 100%; }
  .beta-action .button-small { padding: 8px 12px; gap: 10px; font-size: 12px; }
  .pending-button { gap: 15px; padding-inline: 16px; font-size: 13px; }
  .faq { grid-template-columns: 1fr; gap: 35px; padding-block: 72px; }
  .faq h2 { font-size: 42px; }
  .faq-list summary { font-size: 15px; }
  .site-footer { padding-block: 35px 20px; }
  .footer-top { align-items: start; gap: 20px; }
  .footer-top .brand { width: 190px; }
  .footer-top nav { width: 100%; gap: 0 23px; }
  .footer-bottom { align-items: start; flex-direction: column; gap: 6px; margin-top: 20px; }
}
@media (max-width: 420px) {
  .hero h1 { font-size: 56px; }
  .hero-support { font-size: 23px; }
  .actions { gap: 8px 19px; }
  .actions .button { padding-inline: 18px; gap: 20px; }
  .actions .text-link { font-size: 12px; gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media (forced-colors: active) {
  .accent-text { background: none; color: CanvasText; -webkit-text-fill-color: currentColor; }
  .button, .pending-button { border-color: ButtonText; }
  .main-nav a[aria-current="location"] { text-decoration: underline; }
}
@media print {
  .site-header { position: static; }
  .workflow-stage { display: none !important; }
  .workflow-enhanced .workflow-layout, .workflow-enhanced .workflow-step { display: block; min-height: 0; }
  .workflow-enhanced .step-shot { position: static; width: auto; height: auto; clip-path: none; }
}

.confidence-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 60px; margin-top: 62px; }
.confidence-detail { padding-top: 28px; border-top: 1px solid var(--line); }
.confidence-detail h4 { margin: 18px 0 20px; font: 600 clamp(28px, 2.3vw, 36px)/1.15 var(--heading); letter-spacing: -.04em; text-wrap: balance; }
.confidence-detail > p:not(.eyebrow) { max-width: 480px; color: var(--muted); font-size: 16px; }
@media (max-width: 800px) {
  .confidence-details { grid-template-columns: 1fr; gap: 34px; margin-top: 44px; }
  .confidence-detail { padding-top: 24px; }
}

.feature-adaptive { margin-top: 64px; padding: 56px 24px 48px; border-radius: 28px; background: #262036; color: #fff; }
.feature-adaptive .eyebrow { color: #c7b7f4; }
.adaptive-heading { max-width: 820px; margin-inline: 32px; }
.adaptive-heading h3 { margin-top: 0; font-size: clamp(36px, 3.5vw, 56px); }
.adaptive-heading > p:not(.eyebrow) { max-width: 620px; margin-top: 22px; color: #d2cbdc; font-size: 16px; }
.adaptive-gallery { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 40px; }
.adaptive-gallery > figure:last-child { margin-top: 64px; }
.adaptive-gallery a { display: block; border-radius: 16px; }
.adaptive-gallery a:focus-visible { outline-color: #c7b7f4; }
.adaptive-gallery figcaption { padding: 10px 12px 0; color: #d2cbdc; }
.adaptive-language { display: grid; grid-template-columns: .85fr 1fr; gap: 24px 60px; align-items: end; margin: 56px 32px 0; padding-top: 34px; border-top: 1px solid #4c435c; }
.adaptive-language h4 { max-width: 440px; margin: 18px 0 0; font: 600 clamp(28px, 2.3vw, 36px)/1.15 var(--heading); letter-spacing: -.04em; text-wrap: balance; }
.adaptive-language > p { max-width: 480px; color: #d2cbdc; font-size: 16px; }
.adaptive-language .language-note { grid-column: 1 / -1; max-width: none; padding-top: 18px; border-top: 1px solid #4c435c; font-size: 13px; }
@media (max-width: 1099px) {
  .feature-adaptive { padding: 44px 18px 40px; }
  .adaptive-heading { margin-inline: 22px; }
  .adaptive-gallery { gap: 20px; }
  .adaptive-language { column-gap: 35px; margin-inline: 22px; }
}
@media (max-width: 800px) {
  .feature-adaptive { margin-top: 40px; padding: 34px 10px 32px; border-radius: 20px; }
  .adaptive-heading { margin-inline: 14px; }
  .adaptive-heading h3 { font-size: 37px; }
  .adaptive-gallery { grid-template-columns: 1fr; gap: 30px; margin-top: 30px; }
  .adaptive-gallery > figure:last-child { margin-top: 0; }
  .adaptive-gallery figcaption { padding-inline: 14px; }
  .adaptive-language { grid-template-columns: 1fr; gap: 22px; margin: 36px 14px 0; padding-top: 28px; }
}

/* V7: samostatný vizuál v přirozeném poměru stran, bez překrytí textem. */
.hero-video-showcase { max-width: 1190px; margin-top: 48px; padding: 12px; border: 1px solid #ded6ee; border-radius: 28px; background: #f1edf9; }
.hero-media { position: relative; overflow: hidden; aspect-ratio: 1280 / 676; border-radius: 17px; pointer-events: none; }
.hero-poster, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.hero-video { opacity: 0; }
.hero-video.is-playing { opacity: 1; }

/* V6: zachované zdroje, cíle a příběh názvu. */
.sources { padding-block: 0 110px; }
.sources-heading { display: grid; grid-template-columns: 1.1fr 1fr; align-items: end; gap: 80px; }
.sources h2 { max-width: 620px; margin-top: 22px; font-size: clamp(38px, 4vw, 60px); }
.sources-heading > p { max-width: 520px; color: var(--muted); }
.source-locations { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; list-style: none; margin: 56px 0 0; padding: 0; }
.source-locations li { display: flex; align-items: center; gap: 16px; padding-block: 22px; border-block: 1px solid var(--line); font: 500 clamp(18px, 1.6vw, 24px)/1.4 var(--heading); }
.source-direction { color: var(--violet); font-size: 32px; font-family: sans-serif; }
.seizen-story { display: grid; grid-template-columns: .65fr 1fr; gap: 90px; align-items: center; margin-block: 44px; padding-block: 80px; border-block: 1px solid var(--line); }
.seizen-reading { display: flex; flex-direction: column; align-items: center; gap: 24px; color: var(--violet); }
.seizen-story [lang="ja"] { font-family: "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif; }
.seizen-reading ruby { font-size: clamp(72px, 8vw, 112px); line-height: 1.5; font-weight: 400; }
.seizen-reading rt { font-size: 16px; letter-spacing: .2em; }
.seizen-reading > span { color: var(--muted); font-size: 14px; letter-spacing: .18em; }
.seizen-copy h2 { max-width: 700px; margin-top: 22px; font-size: clamp(38px, 4vw, 60px); }
.seizen-copy > p:last-child { max-width: 630px; margin-top: 28px; color: var(--muted); font-size: 18px; }
.routine-story { grid-template-columns: 50% minmax(0, 1fr); }
.routine-story .seizen-copy { container-type: inline-size; }
.routine-story h2 { font-size: min(48px, 9.5cqi); }
.routine-video-frame { padding: 12px; border: 1px solid #e5def2; border-radius: 28px; background: #e5def2; }
.routine-video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; border-radius: 17px; }
@media (max-width: 800px) {
  .hero-video-showcase { margin-top: 36px; padding: 6px; border-radius: 18px; }
  .hero-media { border-radius: 11px; }
  .hero-video { display: none; }
  .sources { padding-bottom: 70px; }
  .sources-heading { grid-template-columns: 1fr; gap: 24px; }
  .source-locations { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 20px; margin-top: 32px; }
  .source-locations li { flex-direction: column; align-items: flex-start; gap: 8px; font-size: 18px; }
  .seizen-story { grid-template-columns: 1fr; gap: 40px; padding-block: 52px; margin-block: 28px; }
  .seizen-reading { align-items: flex-start; gap: 12px; }
  .seizen-copy > p:last-child { font-size: 17px; }
  .routine-video-frame { padding: 6px; border-radius: 18px; }
  .routine-video { border-radius: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}

/* V8: vnější obal schváleného schématu. */
.copy-routes-section { width: min(736px, 100%); margin: 48px auto 44px; }
@media (max-width: 800px) {
  .copy-routes-section { margin-block: 28px; }
}

/* V9: pouze vnější svislé mezery mezi přesunutými bloky. */
.hero-video-showcase { margin-top: 24px; }
@media (max-width: 800px) {
  .hero-video-showcase { margin-top: 16px; }
}

/* V9: společné okraje podle původního video rámečku. */
.site-header, .hero-video-showcase, .seizen-story, .copy-routes-section { width: min(1190px, calc(100% - 112px)); margin-inline: auto; }
.site-header .brand { min-width: 0; max-width: 100%; }
@media (max-width: 1099px) {
  .site-header, .hero-video-showcase, .seizen-story, .copy-routes-section { width: calc(100% - 64px); }
}
@media (max-width: 800px) {
  .site-header, .hero-video-showcase, .seizen-story, .copy-routes-section { width: calc(100% - 40px); }
  .site-header { grid-template-columns: minmax(0, 166px) minmax(78px, 1fr); }
  .site-header > .button { justify-self: end; max-width: 100%; }
}

/* Výška vychází z původního poměru videa a minimálního prostoru pro nezmenšený text. */
.hero-media { display: grid; grid-template-columns: minmax(0, 1fr); aspect-ratio: auto; }
.hero-media::before { content: ""; grid-area: 1 / 1; width: 100%; aspect-ratio: 1280 / 676; align-self: start; }
.hero-slide { min-width: 0; opacity: 0; transform: translateX(100%); }
.hero-slide-text { --hero-optical-offset: clamp(3px, .45vw, 6px); grid-area: 1 / 1; display: flex; flex-direction: column; justify-content: center; padding-block: calc(24px - var(--hero-optical-offset)) calc(24px + var(--hero-optical-offset)); text-align: center; opacity: 1; transform: translateX(0); }
.hero-slide-text h1 { margin-top: 0; }
/* Optické mezery a vystředění celé skupiny zohledňují rozdílné velikosti písma. */
.hero-route-tagline { margin-top: calc(20px + clamp(12px, 1.4vw, 22px)); font-family: var(--heading); font-size: clamp(26px, 4.5vw, 38px); line-height: 1.12; letter-spacing: -.045em; font-weight: 600; }
.hero-slide-video { position: absolute; inset: 0; }
.copy-routes-section #sc-copy-routes-all-directions .sc-heading { max-width: none; text-align: center; }

/* Jemný lem má stejný odstup od vnitřní plochy jako rámeček videa. */
.copy-routes-section #sc-copy-routes-all-directions { padding: 12px; border: 1px solid #e5def2; border-radius: 28px; background: #e5def2; }
.copy-routes-section #sc-copy-routes-all-directions .sc-section { border: 0; border-radius: 17px; background: #f1edf9; box-shadow: none; }
.copy-routes-section #sc-copy-routes-all-directions .sc-content { width: min(664px, calc(100% - 6px)); }
@media (max-width: 800px) {
  .hero-slide-text { --hero-optical-offset: clamp(3px, .6vw, 4.6px); }
  .hero-route-tagline { margin-top: calc(20px + clamp(12px, 2vw, 15px)); }
  .copy-routes-section #sc-copy-routes-all-directions { padding: 6px; border-radius: 18px; }
  .copy-routes-section #sc-copy-routes-all-directions .sc-section { border-radius: 11px; }
  .copy-routes-section #sc-copy-routes-all-directions .sc-content { width: min(664px, calc(100% - 18px)); }
}
@media (max-width: 450px) {
  .copy-routes-section #sc-copy-routes-all-directions .sc-content { width: 100%; }
}
