:root {
    --text: #1a1a1a;
    --text-soft: #4a4a4a;
    --text-muted: #767676;
    --line: #e6e6e6;
    --bg: #ffffff;
    --bg-soft: #f5f6f7;
    --accent: #c8102e;
    --content: 760px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    font-size: 18px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

.wrap {
    width: 100%;
    max-width: var(--content);
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.site-header {
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(6px);
    z-index: 20;
}
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}
.brand {
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: -0.02em;
}
.brand__dot { color: var(--accent); }
.site-nav { display: flex; gap: 26px; }
.site-nav a {
    color: var(--text-soft);
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.15s ease;
}
.site-nav a:hover { color: var(--accent); }

/* Article */
.article { padding: 48px 0 8px; }

.article__meta {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    font-size: 0.85rem;
}
.article__cat {
    color: var(--accent);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.article__date { color: var(--text-muted); }

.article__title {
    font-size: clamp(1.9rem, 4.5vw, 2.7rem);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 22px;
}

.article__lead {
    font-size: 1.3rem;
    line-height: 1.6;
    color: var(--text-soft);
    font-weight: 500;
    margin-bottom: 32px;
}

.article__byline {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 18px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    margin-bottom: 36px;
}
.byline__avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--bg-soft);
    color: var(--text-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    border: 1px solid var(--line);
}
.byline__info { display: flex; flex-direction: column; line-height: 1.4; }
.byline__author { font-weight: 600; font-size: 0.95rem; }
.byline__role { color: var(--text-muted); font-size: 0.85rem; }

/* Figure */
.article__figure { margin-bottom: 40px; }
.article__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 4px;
}

/* Hook (otázka na cíl) */
.hook {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 22px 24px;
    margin-bottom: 36px;
    background: var(--bg-soft);
}
.hook__question {
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 14px;
}
.hook__options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.hook__option {
    font: inherit;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-soft);
    background: var(--bg);
    border: 1px solid #d4d6d8;
    border-radius: 999px;
    padding: 9px 18px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}
.hook__option:hover { border-color: var(--text-soft); }
.hook__option.is-active {
    background: var(--text);
    border-color: var(--text);
    color: var(--bg);
}

/* Mini result */
.result-note {
    margin: 30px 0 8px;
    padding: 18px 22px;
    background: var(--bg-soft);
    border-left: 3px solid var(--accent);
    border-radius: 0 4px 4px 0;
    font-size: 1.05rem;
    color: var(--text-soft);
}

/* Body */
.article__body h2 {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 40px 0 14px;
}
.article__body p {
    margin-bottom: 22px;
    color: var(--text);
}

.article__quote {
    border-left: 3px solid var(--accent);
    padding: 6px 0 6px 22px;
    margin: 32px 0;
    font-size: 1.3rem;
    line-height: 1.5;
    font-weight: 500;
    color: var(--text-soft);
    font-style: normal;
}

/* Steps list */
.steps-list {
    list-style: none;
    margin: 8px 0 26px;
    border-top: 1px solid var(--line);
}
.steps-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
}
.steps-list__num {
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--bg-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-soft);
}

/* Contact */
.contact { background: var(--bg-soft); padding: 56px 0; margin-top: 48px; }
.contact__box {
    background: var(--bg);
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: 40px;
}
.contact__title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.contact__text {
    color: var(--text-soft);
    margin-bottom: 28px;
}
.contact__form { max-width: 440px; }
.field { margin-bottom: 18px; }
.field label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-soft);
    margin-bottom: 7px;
}
.field input {
    width: 100%;
    padding: 13px 14px;
    font: inherit;
    font-size: 1rem;
    color: var(--text);
    background: var(--bg);
    border: 1px solid #d4d6d8;
    border-radius: 5px;
    transition: border-color 0.15s ease;
}
.field input:focus {
    outline: none;
    border-color: var(--text-soft);
}
.field input.invalid { border-color: var(--accent); }
.field__error {
    display: block;
    color: var(--accent);
    font-size: 0.8rem;
    margin-top: 5px;
    min-height: 1em;
}

.contact__submit {
    appearance: none;
    font: inherit;
    font-weight: 600;
    font-size: 1rem;
    color: var(--bg);
    background: var(--text);
    border: 1px solid var(--text);
    border-radius: 5px;
    padding: 13px 28px;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease;
}
.contact__submit:hover { background: #000; border-color: #000; }

.contact__support {
    margin-top: 14px;
    font-size: 0.9rem;
    color: var(--text-soft);
    font-weight: 500;
}
.contact__consent {
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.contact__success {
    margin-top: 18px;
    padding: 14px 16px;
    background: var(--bg-soft);
    border: 1px solid var(--line);
    border-radius: 5px;
    font-size: 0.95rem;
    color: var(--text-soft);
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 32px 0 48px;
}
.disclaimer {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 16px;
}
.site-footer__copy {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Responsive */
@media (max-width: 600px) {
    body { font-size: 17px; }
    .site-nav { display: none; }
    .article { padding-top: 32px; }
    .article__lead { font-size: 1.15rem; }
    .contact__box { padding: 28px 22px; }
}
