﻿/* Casid.Web – styly. Barvy vycházejí z loga: #986291, #5FA2DD, #32404E. */

/* Písmo Ubuntu (Ubuntu Font Licence 1.0, viz fonts/LICENSE.txt) */
@font-face {
    font-family: "Ubuntu";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/ubuntu-latin-ext-400-normal.woff2") format("woff2"), url("fonts/ubuntu-latin-ext-400-normal.woff") format("woff");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Ubuntu";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/ubuntu-latin-400-normal.woff2") format("woff2"), url("fonts/ubuntu-latin-400-normal.woff") format("woff");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Ubuntu";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("fonts/ubuntu-latin-ext-500-normal.woff2") format("woff2"), url("fonts/ubuntu-latin-ext-500-normal.woff") format("woff");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Ubuntu";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("fonts/ubuntu-latin-500-normal.woff2") format("woff2"), url("fonts/ubuntu-latin-500-normal.woff") format("woff");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: "Ubuntu";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/ubuntu-latin-ext-700-normal.woff2") format("woff2"), url("fonts/ubuntu-latin-ext-700-normal.woff") format("woff");
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
    font-family: "Ubuntu";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/ubuntu-latin-700-normal.woff2") format("woff2"), url("fonts/ubuntu-latin-700-normal.woff") format("woff");
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
    --bg: #1b242d;
    --bg-raised: #202b35;
    --surface: #25313c;
    --surface-2: #2c3946;
    --slate: #32404e;
    --line: #36444f;
    --line-strong: #4a5b6b;

    --text: #eef2f6;
    --muted: #a3b3c2;
    --faint: #8496a6;

    --blue: #5fa2dd;
    --blue-soft: #8fc0ea;
    --purple: #986291;
    --purple-soft: #bb8ab4;
    --on-accent: #131b23;
    --grad: linear-gradient(100deg, #b784b0 0%, #5fa2dd 100%);

    --radius: 16px;
    --radius-sm: 10px;
    --maxw: 1120px;
    --gutter: 24px;
    --header-h: 68px;

    --font: "Ubuntu", "Segoe UI", system-ui, -apple-system, "Roboto", "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    color-scheme: dark;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    color: var(--text);
    font: 400 1rem/1.65 var(--font);
    -webkit-font-smoothing: antialiased;
}

main {
    flex: 1 0 auto;
}

img,
svg {
    max-width: 100%;
}

img {
    height: auto;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: -0.01em;
    text-wrap: balance;
}

p {
    margin: 0;
}

a {
    color: var(--blue-soft);
    text-underline-offset: 3px;
}

a:hover {
    color: var(--text);
}

:focus-visible {
    outline: 2px solid var(--blue);
    outline-offset: 3px;
    border-radius: 6px;
}

[hidden] {
    display: none !important;
}

.container {
    width: 100%;
    max-width: calc(var(--maxw) + 2 * var(--gutter));
    margin-inline: auto;
    padding-inline: var(--gutter);
}

.icon {
    width: 1.25em;
    height: 1.25em;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.card-action {
    margin-top: 20px;
}

.skip-link {
    position: absolute;
    left: 12px;
    top: -60px;
    z-index: 100;
    padding: 10px 16px;
    border-radius: 8px;
    background: var(--text);
    color: var(--on-accent);
    font-weight: 500;
}

.skip-link:focus {
    top: 12px;
}

/* ---------- Tlačítka ---------- */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55em;
    padding: 0.72em 1.35em;
    border: 1px solid transparent;
    border-radius: 999px;
    font: inherit;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background-color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
    background: var(--grad);
    color: var(--on-accent);
    box-shadow: 0 6px 24px -8px rgba(95, 162, 221, 0.55);
}

.btn-primary:hover {
    color: var(--on-accent);
    transform: translateY(-1px);
    box-shadow: 0 10px 30px -8px rgba(95, 162, 221, 0.7);
}

.btn-ghost {
    background: transparent;
    border-color: var(--line-strong);
    color: var(--text);
}

.btn-ghost:hover {
    background: var(--surface);
    border-color: var(--faint);
    color: var(--text);
}

.btn-sm {
    padding: 0.5em 1.1em;
    font-size: 0.95rem;
}

.btn-lg {
    padding: 0.9em 1.7em;
    font-size: 1.08rem;
}

/* ---------- Hlavička ---------- */

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(27, 36, 45, 0.82);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: var(--header-h);
}

.brand {
    display: inline-flex;
    align-items: center;
    flex: none;
}

.brand img {
    display: block;
    width: auto;
    height: 34px;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-left: auto;
}

/* Přepínač jazyka */

.lang {
    position: relative;
    flex: none;
}

.lang summary {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 12px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 500;
    list-style: none;
    cursor: pointer;
    user-select: none;
}

.lang summary::-webkit-details-marker {
    display: none;
}

.lang summary:hover,
.lang[open] summary {
    background: var(--surface);
    color: var(--text);
}

.lang ul {
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    z-index: 60;
    min-width: 172px;
    margin: 0;
    padding: 6px;
    border: 1px solid var(--line-strong);
    border-radius: 12px;
    background: var(--surface-2);
    box-shadow: 0 16px 40px -12px rgba(0, 0, 0, 0.6);
    list-style: none;
}

.lang a {
    display: block;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--text);
    text-decoration: none;
}

.lang a:hover {
    background: var(--slate);
}

.lang a[aria-current] {
    color: var(--blue-soft);
    font-weight: 500;
}

.site-nav a:not(.btn) {
    padding: 8px 14px;
    border-radius: 999px;
    color: var(--muted);
    text-decoration: none;
    font-weight: 500;
}

.site-nav a:not(.btn):hover,
.site-nav a[aria-current="page"] {
    color: var(--text);
    background: var(--surface);
}

.site-nav .btn {
    margin-left: 10px;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    width: 18px;
    height: 2px;
    margin-inline: auto;
    border-radius: 2px;
    background: currentColor;
}

.nav-toggle span {
    position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle span::before {
    top: -6px;
}

.nav-toggle span::after {
    top: 6px;
}

@media (max-width: 759px) {
    .js .nav-toggle {
        display: block;
    }

    .header-inner {
        flex-wrap: wrap;
        row-gap: 0;
    }

    .lang {
        margin-left: auto;
    }

    .site-nav {
        order: 10;
        flex-basis: 100%;
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
        margin-left: 0;
        padding-bottom: 16px;
    }

    .js .site-nav {
        display: none;
    }

    .js .site-nav.is-open {
        display: flex;
    }

    .site-nav a:not(.btn) {
        padding: 12px 14px;
        border-radius: 10px;
    }

    .site-nav .btn {
        margin: 8px 0 0;
    }
}

/* ---------- Sekce ---------- */

.section {
    padding-block: 88px;
    scroll-margin-top: var(--header-h);
}

.section-head {
    max-width: 680px;
    margin: 0 auto 44px;
    text-align: center;
}

.section-head h2 {
    font-size: clamp(1.7rem, 1.2rem + 1.8vw, 2.4rem);
}

.section-head p {
    margin-top: 14px;
    color: var(--muted);
    font-size: 1.08rem;
}

.eyebrow {
    display: inline-block;
    margin-bottom: 18px;
    padding: 5px 14px;
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    color: var(--muted);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
}

.grad-text {
    background: var(--grad);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ---------- Hero ---------- */

.hero {
    position: relative;
    overflow: hidden;
    padding-block: 84px 28px;
    text-align: center;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(620px 380px at 18% 0%, rgba(152, 98, 145, 0.26), transparent 70%),
        radial-gradient(700px 420px at 84% 6%, rgba(95, 162, 221, 0.2), transparent 70%);
    pointer-events: none;
}

.hero h1 {
    max-width: 15em;
    margin-inline: auto;
    font-size: clamp(2.2rem, 1.3rem + 3.8vw, 3.9rem);
    letter-spacing: -0.025em;
}

.hero .lead {
    max-width: 40em;
    margin: 22px auto 0;
    color: var(--muted);
    font-size: clamp(1.05rem, 1rem + 0.3vw, 1.2rem);
}

.actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 32px;
}

.hero-note {
    margin-top: 18px;
    color: var(--faint);
    font-size: 0.9rem;
}

/* ---------- Schéma ---------- */

.how {
    padding-block: 44px 88px;
    scroll-margin-top: var(--header-h);
}

.schema-panel {
    padding: clamp(18px, 3vw, 36px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background:
        radial-gradient(520px 260px at 50% 50%, rgba(95, 162, 221, 0.08), transparent 70%),
        var(--bg-raised);
}

.schema {
    display: block;
    width: 100%;
    height: auto;
    font-family: var(--font);
}

.schema-v {
    display: none;
    max-width: 380px;
    margin-inline: auto;
}

@media (max-width: 819px) {
    .schema-h {
        display: none;
    }

    .schema-v {
        display: block;
    }
}

.schema .col-label {
    fill: var(--faint);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.schema .node rect {
    fill: var(--surface);
    stroke: var(--line-strong);
    stroke-width: 1;
}

.schema .node .ico-bg {
    stroke: none;
}

.schema .s-icon {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.schema .in .ico-bg {
    fill: rgba(152, 98, 145, 0.22);
}

.schema .in .s-icon {
    color: var(--purple-soft);
}

.schema .out .ico-bg {
    fill: rgba(95, 162, 221, 0.18);
}

.schema .out .s-icon {
    color: var(--blue-soft);
}

.schema .node-title {
    fill: var(--text);
    font-size: 16px;
    font-weight: 500;
}

.schema .node-sub {
    fill: var(--muted);
    font-size: 12.5px;
}

.schema .wire {
    fill: none;
    stroke: var(--line-strong);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.schema .core-box {
    fill: var(--slate);
    stroke-width: 1.5;
}

.schema .core-title {
    fill: var(--text);
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.schema .chip rect {
    fill: rgba(27, 36, 45, 0.55);
    stroke: var(--line-strong);
    stroke-width: 1;
}

.schema .chip text {
    fill: var(--text);
    font-size: 13px;
}

.schema .seg-b {
    fill: var(--blue);
}

.schema .seg-p {
    fill: var(--purple);
}

.schema .seg {
    animation: seg-sweep 3.6s linear infinite;
    animation-delay: calc(var(--i) * 0.3s);
}

@keyframes seg-sweep {
    0%, 100% { opacity: 0.62; }
    6% { opacity: 1; }
    36% { opacity: 0.62; }
}

.schema .dot-in {
    fill: var(--purple-soft);
}

.schema .dot-out {
    fill: var(--blue-soft);
}

.schema .dot .halo {
    opacity: 0.28;
}

.schema-notes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin: 30px 0 0;
    padding: 28px 0 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.schema-notes h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-size: 1rem;
    font-weight: 500;
}

.schema-notes h3::before {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 3px;
    background: var(--purple);
}

.schema-notes li:nth-child(2) h3::before {
    background: var(--grad);
}

.schema-notes li:nth-child(3) h3::before {
    background: var(--blue);
}

.schema-notes p {
    color: var(--muted);
    font-size: 0.95rem;
}

@media (max-width: 819px) {
    .schema-notes {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ---------- Funkce ---------- */

.features {
    background: var(--bg-raised);
    border-block: 1px solid var(--line);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.feature {
    padding: 26px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature:hover {
    border-color: var(--line-strong);
    transform: translateY(-2px);
}

.feature-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(152, 98, 145, 0.32), rgba(95, 162, 221, 0.26));
    color: var(--text);
}

.feature-icon .icon {
    width: 22px;
    height: 22px;
}

.feature h3 {
    margin-bottom: 8px;
    font-size: 1.12rem;
    font-weight: 500;
    letter-spacing: 0;
}

.feature p {
    color: var(--muted);
    font-size: 0.96rem;
}

@media (max-width: 959px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 619px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Výzvy ---------- */

.cta-grid {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 18px;
}

.cta-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: clamp(26px, 4vw, 40px);
    border: 1px solid var(--line);
    border-radius: 24px;
    background: var(--surface);
}

.cta-card h2 {
    font-size: clamp(1.4rem, 1.1rem + 1vw, 1.8rem);
}

.cta-card p {
    color: var(--muted);
}

.cta-card .btn {
    margin-top: auto;
}

.cta-card p + .btn {
    margin-top: 10px;
}

.cta-primary {
    border-color: transparent;
    background:
        linear-gradient(var(--slate), var(--slate)) padding-box,
        var(--grad) border-box;
}

@media (max-width: 819px) {
    .cta-grid {
        grid-template-columns: 1fr;
    }
}

/* ---------- Podstránky ---------- */

.page {
    position: relative;
    padding-block: 64px 88px;
}

.page::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 360px;
    z-index: -1;
    background:
        radial-gradient(520px 300px at 12% 0%, rgba(152, 98, 145, 0.2), transparent 70%),
        radial-gradient(600px 320px at 90% 0%, rgba(95, 162, 221, 0.15), transparent 70%);
    pointer-events: none;
}

.page-head {
    max-width: 720px;
    margin-bottom: 40px;
}

.page-head h1 {
    font-size: clamp(2rem, 1.4rem + 2.4vw, 3rem);
    letter-spacing: -0.02em;
}

.page-head p {
    margin-top: 16px;
    color: var(--muted);
    font-size: 1.1rem;
}

.split {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

@media (max-width: 859px) {
    .split {
        grid-template-columns: 1fr;
    }
}

.card {
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--surface);
}

.card h2 {
    margin-bottom: 14px;
    font-size: 1.3rem;
}

.card > p {
    color: var(--muted);
}

.stack {
    display: grid;
    gap: 24px;
}

/* ---------- Stažení ---------- */

.download-card {
    border-color: transparent;
    background:
        linear-gradient(var(--slate), var(--slate)) padding-box,
        var(--grad) border-box;
}

.download-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px 14px;
    margin-bottom: 22px;
}

.badge {
    padding: 3px 12px;
    border-radius: 999px;
    background: rgba(95, 162, 221, 0.18);
    color: var(--blue-soft);
    font-size: 0.82rem;
    font-weight: 500;
}

.download-version {
    font-size: 1.7rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.download-date {
    color: var(--muted);
}

.fineprint {
    margin-top: 16px;
    color: var(--faint);
    font-size: 0.9rem;
}

.versions {
    position: relative;
    margin: 0;
    padding: 0;
    list-style: none;
}

.versions::before {
    content: "";
    position: absolute;
    left: 5px;
    top: 10px;
    bottom: 10px;
    width: 2px;
    border-radius: 2px;
    background: var(--line-strong);
}

.versions li {
    position: relative;
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 0 9px 30px;
}

.versions li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 12px;
    height: 12px;
    margin-top: -6px;
    border: 2px solid var(--purple-soft);
    border-radius: 50%;
    background: var(--surface);
}

.version-name {
    font-weight: 500;
}

.versions time {
    color: var(--muted);
    font-size: 0.95rem;
    font-variant-numeric: tabular-nums;
}

.versions-more {
    margin-top: 16px;
}

.empty {
    color: var(--muted);
}

/* ---------- Kontakt ---------- */

.form {
    display: grid;
    gap: 18px;
}

.field {
    display: grid;
    gap: 6px;
}

.field label {
    color: var(--muted);
    font-size: 0.92rem;
    font-weight: 500;
}

.field input,
.field textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    background: var(--bg);
    color: var(--text);
    font: inherit;
}

.field textarea {
    min-height: 160px;
    resize: vertical;
}

.field input:focus,
.field textarea:focus {
    outline: 2px solid var(--blue);
    outline-offset: 1px;
    border-color: var(--blue);
}

.form .btn {
    justify-self: start;
}

.notice {
    margin-bottom: 20px;
    padding: 12px 16px;
    border: 1px solid rgba(95, 162, 221, 0.5);
    border-radius: var(--radius-sm);
    background: rgba(95, 162, 221, 0.12);
    color: var(--text);
}

.contact-list {
    display: grid;
    gap: 16px;
    margin: 0;
}

.contact-list dt {
    color: var(--faint);
    font-size: 0.85rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.contact-list dd {
    margin: 2px 0 0;
    font-size: 1.05rem;
}

/* ---------- Poděkování / chyba ---------- */

.narrow {
    max-width: 640px;
    margin-inline: auto;
    text-align: center;
}

.narrow .mark {
    width: 72px;
    height: 72px;
    margin-bottom: 26px;
}

.narrow h1 {
    font-size: clamp(1.8rem, 1.3rem + 2vw, 2.6rem);
    letter-spacing: -0.02em;
}

.narrow p {
    margin-top: 16px;
    color: var(--muted);
    font-size: 1.05rem;
}

.narrow .actions {
    margin-top: 28px;
}

/* ---------- Patička ---------- */

.site-footer {
    border-top: 1px solid var(--line);
    background: var(--bg-raised);
    color: var(--muted);
    font-size: 0.95rem;
}

.footer-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
    padding-block: 36px;
}

.footer-inner img {
    display: block;
    width: auto;
    height: 52px;
}

.footer-inner img.logo-plain {
    height: 38px;
}

.footer-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 22px;
}

.footer-nav a {
    color: var(--muted);
    text-decoration: none;
}

.footer-nav a:hover {
    color: var(--text);
}

.copyright {
    flex-basis: 100%;
    padding-top: 20px;
    border-top: 1px solid var(--line);
    color: var(--faint);
    font-size: 0.88rem;
}

/* ---------- Menší displeje ---------- */

@media (max-width: 619px) {
    :root {
        --gutter: 18px;
    }

    .section {
        padding-block: 60px;
    }

    .hero {
        padding-block: 52px 16px;
    }

    .how {
        padding-block: 32px 60px;
    }

    .page {
        padding-block: 44px 64px;
    }

    .actions .btn {
        flex: 1 1 100%;
    }
}

/* ---------- Omezení pohybu ---------- */

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .schema .dot {
        display: none;
    }

    .schema .seg {
        animation: none;
        opacity: 1;
    }

    .btn,
    .feature {
        transition: none;
    }

    .btn-primary:hover,
    .feature:hover {
        transform: none;
    }
}
