/* nikolasbekera.cz · sdílené styly pro podstránky (blog, ukázky, zásady) */
:root {
  --ink: #0A0A0A;
  --paper: #FAFAF7;
  --card: #FFFFFF;
  --muted: #5C5C58;
  --soft: #F1F1EC;
  --line: #E5E5E0;
  --signal: #FF4D1E;
  --signal-ink: #C2330C;
  --ok: #1F7A3A;
  --ok-bg: #EAF5EC;
  --err: #B42318;
  --err-bg: #FDECEA;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --sans: 'Geist', system-ui, sans-serif;
  --mono: 'Geist Mono', ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { font-family: var(--sans); background: var(--paper); color: var(--ink); font-size: 16px; line-height: 24px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { font-weight: 600; letter-spacing: -0.03em; text-wrap: balance; }
p, li { text-wrap: pretty; }
::selection { background: var(--signal); color: #fff; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; border-radius: 4px; }

.skip { position: absolute; left: 16px; top: -64px; z-index: 300; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 8px; font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: none; transition: top 300ms var(--ease); }
.skip:focus { top: 16px; }

.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }
section { padding: 64px 0; }
@media (min-width: 900px) { section { padding: 96px 0; } }

.eyebrow { font-family: var(--mono); font-size: 12px; line-height: 16px; font-weight: 500; color: var(--signal-ink); text-transform: lowercase; letter-spacing: 0.02em; display: inline-flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 9999px; background: var(--signal); }
.h2 { font-size: 30px; line-height: 36px; max-width: 680px; }
@media (min-width: 768px) { .h2 { font-size: 36px; line-height: 40px; } }
.lead { font-size: 18px; line-height: 28px; color: var(--muted); max-width: 640px; margin-top: 16px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-size: 16px; line-height: 24px; font-weight: 600; padding: 8px 12px; border-radius: 9999px; border: 1px solid var(--ink); background: var(--ink); color: #fff; text-decoration: none; cursor: pointer; transition: transform 500ms var(--ease), background-color 500ms var(--ease), border-color 500ms var(--ease), color 500ms var(--ease); }
.btn .ph { font-size: 20px; transition: transform 500ms var(--ease); }
.btn:hover { background: var(--signal-ink); border-color: var(--signal-ink); transform: translateY(-2px); }
.btn:hover .ph-arrow-right { transform: translateX(4px); }
.btn:active { transform: scale(0.98); }
.btn-lg { padding: 12px 24px; }
.btn-sm { font-size: 14px; line-height: 20px; padding: 8px 12px; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { background: var(--card); color: var(--ink); border-color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--signal); border-color: var(--signal); color: #fff; }
.link { display: inline-flex; align-items: center; gap: 4px; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line); padding-bottom: 2px; transition: border-color 500ms var(--ease); }
.link:hover { border-color: var(--ink); }

/* Island nav */
.nav-shell { position: fixed; top: 0; left: 0; right: 0; z-index: 200; display: flex; justify-content: center; padding: 0 16px; pointer-events: none; }
.nav { pointer-events: auto; margin-top: 24px; width: max-content; max-width: 100%; display: flex; align-items: center; gap: 24px; padding: 8px 8px 8px 24px; border-radius: 9999px; background: rgba(255, 255, 255, 0.72); border: 1px solid rgba(10, 10, 10, 0.08); backdrop-filter: blur(24px) saturate(1.4); -webkit-backdrop-filter: blur(24px) saturate(1.4); box-shadow: 0 8px 32px rgba(10, 10, 10, 0.06); transition: box-shadow 700ms var(--ease), margin 700ms var(--ease); }
.nav.is-scrolled { margin-top: 16px; box-shadow: 0 12px 40px rgba(10, 10, 10, 0.1); }
.logo { font-weight: 600; font-size: 16px; line-height: 24px; letter-spacing: -0.02em; text-decoration: none; white-space: nowrap; }
.logo span { color: var(--signal); }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a { display: block; font-size: 14px; line-height: 20px; font-weight: 500; color: var(--muted); text-decoration: none; padding: 8px 12px; border-radius: 9999px; transition: color 500ms var(--ease), background-color 500ms var(--ease); }
.nav-links a:hover, .nav-links a.is-active { color: var(--ink); background: var(--soft); }
.burger { display: none; position: relative; width: 40px; height: 40px; border-radius: 9999px; border: 0; background: var(--ink); cursor: pointer; z-index: 2; }
.burger span { position: absolute; left: 12px; width: 16px; height: 2px; border-radius: 2px; background: #fff; transition: transform 700ms var(--ease), top 700ms var(--ease); }
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.menu-open .burger span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.menu-open .burger span:nth-child(2) { top: 19px; transform: rotate(-45deg); }
.overlay { position: fixed; inset: 0; z-index: 150; display: flex; flex-direction: column; justify-content: center; padding: 96px 24px 48px; background: rgba(250, 250, 247, 0.8); backdrop-filter: blur(64px); -webkit-backdrop-filter: blur(64px); opacity: 0; visibility: hidden; transition: opacity 700ms var(--ease), visibility 0s linear 700ms; }
.menu-open .overlay { opacity: 1; visibility: visible; transition: opacity 700ms var(--ease), visibility 0s; }
.overlay ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.overlay li { overflow: hidden; }
.overlay a.ov-link { display: block; font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.03em; text-decoration: none; padding: 8px 0; transform: translateY(48px); opacity: 0; transition: transform 800ms var(--ease), opacity 800ms var(--ease); }
.overlay a.ov-link.is-active { color: var(--signal-ink); }
.menu-open .overlay a.ov-link { transform: translateY(0); opacity: 1; }
.overlay li:nth-child(1) a { transition-delay: 100ms; }
.overlay li:nth-child(2) a { transition-delay: 150ms; }
.overlay li:nth-child(3) a { transition-delay: 200ms; }
.overlay li:nth-child(4) a { transition-delay: 250ms; }
.overlay li:nth-child(5) a { transition-delay: 300ms; }
.overlay li:nth-child(6) a { transition-delay: 350ms; }
.overlay .ov-cta { margin-top: 32px; align-self: flex-start; opacity: 0; transform: translateY(48px); transition: transform 800ms var(--ease) 400ms, opacity 800ms var(--ease) 400ms; }
.menu-open .overlay .ov-cta { opacity: 1; transform: none; }
@media (max-width: 899px) {
  .nav { width: 100%; justify-content: space-between; }
  .nav-links, .nav .nav-cta { display: none; }
  .burger { display: block; }
}

/* Page hero (subpages) */
.page-hero { padding: 144px 0 48px; }
@media (min-width: 900px) { .page-hero { padding: 176px 0 64px; } }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--muted); margin-bottom: 24px; list-style: none; }
.crumbs a { text-decoration: none; transition: color 500ms var(--ease); }
.crumbs a:hover { color: var(--ink); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #B9B9B2; }
.grad { background: linear-gradient(90deg, #000000, #666666); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero h1 { font-size: 36px; line-height: 40px; max-width: 680px; }
@media (min-width: 600px) { .page-hero h1 { font-size: 48px; line-height: 1; } }
@media (min-width: 1100px) { .page-hero h1.xl { font-size: 60px; line-height: 1; } }
.page-hero .sub { font-size: 18px; line-height: 28px; color: var(--muted); max-width: 680px; margin-top: 24px; }

/* Cards */
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; transition: transform 700ms var(--ease), border-color 700ms var(--ease), box-shadow 700ms var(--ease); }
a.card { text-decoration: none; display: block; }
a.card:hover { transform: translateY(-4px); border-color: #CFCFC8; box-shadow: 0 16px 40px rgba(10, 10, 10, 0.06); }

/* Blog list */
.blog-tools { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 32px; list-style: none; }
.blog-tools a { display: inline-block; font-size: 14px; line-height: 20px; font-weight: 500; padding: 8px 12px; border-radius: 9999px; border: 1px solid var(--line); background: var(--card); text-decoration: none; transition: border-color 500ms var(--ease), background-color 500ms var(--ease), color 500ms var(--ease); }
.blog-tools a:hover { border-color: var(--ink); }
.blog-tools a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.posts { display: grid; gap: 16px; }
@media (min-width: 700px) { .posts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .posts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.post { display: flex !important; flex-direction: column; gap: 16px; min-height: 100%; }
.post .tag { align-self: flex-start; font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--signal-ink); background: #FFF1EC; padding: 4px 8px; border-radius: 9999px; }
.post h2 { font-size: 20px; line-height: 28px; letter-spacing: -0.02em; }
.post p { color: var(--muted); flex: 1; }
.post .meta { display: flex; justify-content: space-between; align-items: center; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; color: var(--muted); }
.post .meta b { color: var(--ink); font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.post .meta .ph { transition: transform 500ms var(--ease); }
.post:hover .meta .ph { transform: translateX(4px); }
.pager { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 48px; list-style: none; }
.pager a, .pager span { min-width: 40px; height: 40px; display: inline-grid; place-items: center; padding: 0 12px; border-radius: 9999px; border: 1px solid var(--line); background: var(--card); font-size: 14px; line-height: 20px; font-weight: 600; text-decoration: none; transition: border-color 500ms var(--ease); }
.pager a:hover { border-color: var(--ink); }
.pager [aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }

/* Article */
.art-head { padding: 144px 0 32px; }
@media (min-width: 900px) { .art-head { padding: 176px 0 48px; } }
.art-head .tag { display: inline-block; font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--signal-ink); background: #FFF1EC; padding: 4px 8px; border-radius: 9999px; margin-bottom: 16px; }
.art-head h1 { font-size: 36px; line-height: 40px; max-width: 820px; }
@media (min-width: 768px) { .art-head h1 { font-size: 48px; line-height: 1; } }
.art-head .sub { font-size: 20px; line-height: 28px; color: var(--muted); max-width: 720px; margin-top: 24px; }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 32px; font-size: 14px; line-height: 20px; color: var(--muted); flex-wrap: wrap; }
.byline strong { color: var(--ink); font-weight: 600; }
.mono-av { flex: none; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--ink); color: #fff; font-weight: 600; font-size: 14px; line-height: 20px; letter-spacing: -0.02em; }
.art-grid { display: grid; gap: 48px; padding: 32px 0 96px; border-top: 1px solid var(--line); }
@media (min-width: 1000px) { .art-grid { grid-template-columns: minmax(0, 720px) 300px; justify-content: space-between; gap: 64px; padding-top: 48px; } }
.aside-card { background: var(--ink); color: #fff; border-radius: 24px; padding: 24px; }
@media (min-width: 1000px) { .aside { position: sticky; top: 112px; align-self: start; } }
.aside-card h3 { font-size: 20px; line-height: 28px; }
.aside-card p { color: #B5B5AE; margin-top: 8px; font-size: 14px; line-height: 20px; }
.aside-card ul { list-style: none; margin: 16px 0 24px; display: flex; flex-direction: column; gap: 8px; font-size: 14px; line-height: 20px; color: #DADAD4; }
.aside-card li { display: flex; gap: 8px; align-items: center; }
.aside-card li .ph { color: var(--signal); font-size: 16px; }
.aside-card .btn { width: 100%; }
.aside-more { margin-top: 16px; }
.aside-more a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 16px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); text-decoration: none; font-size: 14px; line-height: 20px; font-weight: 600; transition: border-color 500ms var(--ease); }
.aside-more a:hover { border-color: var(--ink); }

/* Prose */
.prose { font-size: 18px; line-height: 28px; color: #2B2B28; }
.prose > * + * { margin-top: 24px; }
.prose h2 { font-size: 30px; line-height: 36px; color: var(--ink); margin-top: 64px; }
.prose h3 { font-size: 20px; line-height: 28px; color: var(--ink); margin-top: 40px; letter-spacing: -0.02em; }
.prose h2 + *, .prose h3 + * { margin-top: 16px; }
.prose > :first-child { margin-top: 0; }
.prose a { color: var(--ink); font-weight: 500; text-decoration: underline; text-decoration-color: var(--signal); text-underline-offset: 4px; text-decoration-thickness: 2px; }
.prose strong { color: var(--ink); font-weight: 600; }
.prose em { font-style: normal; background: var(--soft); padding: 0 4px; border-radius: 4px; }
.prose ul:not([class]), .prose ol { padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.prose ul:not([class]) li::marker { color: var(--signal); }
.prose code { font-family: var(--mono); font-size: 14px; background: var(--soft); padding: 2px 4px; border-radius: 4px; }
.prose .muted { color: var(--muted); padding-left: 24px; border-left: 2px solid var(--line); border-radius: 0; }

/* Prose components */
.checklist, .step-list, .question-list { list-style: none; display: flex; flex-direction: column; gap: 8px; counter-reset: q; }
.checklist li, .step-list li, .question-list li { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px 24px 16px 64px; position: relative; display: flex; flex-direction: column; gap: 4px; }
.checklist li::before { content: ""; position: absolute; left: 24px; top: 20px; width: 24px; height: 24px; border-radius: 9999px; background: var(--ok-bg) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231F7A3A' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 14px no-repeat; }
.step-list li, .question-list li { counter-increment: q; }
.step-list li::before, .question-list li::before { content: counter(q); position: absolute; left: 24px; top: 18px; width: 24px; height: 24px; border-radius: 9999px; background: var(--ink); color: #fff; font-family: var(--mono); font-size: 12px; line-height: 24px; text-align: center; }
.question-list li::before { content: "?"; background: var(--signal); }
.checklist strong, .step-list strong, .question-list strong { font-size: 18px; line-height: 28px; }
.checklist span, .step-list span, .question-list span { color: var(--muted); font-size: 16px; line-height: 24px; }

.callout { background: #FFF5F1; border: 1px solid #FFD9CC; border-radius: 16px; padding: 24px; color: #3D2A22; }
.callout strong { display: block; font-size: 18px; line-height: 28px; color: var(--signal-ink); margin-bottom: 4px; }
.warning-box { background: var(--err-bg); border: 1px solid #F5C6C1; border-radius: 16px; padding: 24px; }
.warning-box strong { display: block; color: var(--err); font-size: 18px; line-height: 28px; }
.warning-box ul { margin: 8px 0 0 !important; padding-left: 24px !important; }
.warning-box li { font-size: 16px !important; line-height: 24px; margin-bottom: 4px !important; }

.stat-row { display: grid; gap: 8px; }
@media (min-width: 640px) { .stat-row { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stat-box { background: var(--ink); color: #fff; border-radius: 16px; padding: 24px; }
.stat-num { font-size: 36px; line-height: 40px; font-weight: 600; letter-spacing: -0.03em; color: #fff; }
.stat-label { font-size: 14px; line-height: 20px; color: #B5B5AE; margin-top: 8px; }

.compare-grid, .dos-donts { display: grid; gap: 8px; }
@media (min-width: 640px) { .compare-grid, .dos-donts { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.compare-col { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.compare-col.pro { border-color: var(--ink); box-shadow: 0 0 0 1px var(--ink); }
.compare-col h3 { margin-top: 0 !important; font-size: 18px; line-height: 28px; }
.compare-col ul { padding-left: 24px; margin-top: 12px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 24px; }
.compare-col-header { padding-bottom: 16px; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.compare-col-title { font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); }
.compare-col-sub { font-size: 14px; line-height: 20px; color: var(--muted); }
.compare-row { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 24px; }
.compare-row:last-child { border-bottom: 0; }
.compare-row-label { color: var(--muted); }
.compare-row-val { font-weight: 600; text-align: right; font-size: 14px; line-height: 20px; padding: 4px 8px; border-radius: 9999px; background: var(--soft); white-space: nowrap; }
.compare-row-val.val-good { background: var(--ok-bg); color: var(--ok); }
.compare-row-val.val-bad { background: var(--err-bg); color: var(--err); }
.dos-donts > div { border-radius: 16px; padding: 24px; border: 1px solid var(--line); background: var(--card); }
.dos-donts .val-good, .dos-donts .dos { background: var(--ok-bg); border-color: #C9E6CF; }
.dos-donts .val-bad, .dos-donts .donts { background: var(--err-bg); border-color: #F5C6C1; }
.val-label, .dos-header, .donts-header { font-family: var(--mono); font-size: 12px; line-height: 16px; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 12px; }
.val-good .val-label, .dos-header { color: var(--ok); }
.val-bad .val-label, .donts-header { color: var(--err); }
.dos-donts ul { padding-left: 24px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 24px; }
.dos-body, .donts-body { display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 24px; }

.reason-block { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.reason-num { font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--signal-ink); }
.reason-block h3 { margin-top: 8px !important; }
.reason-block p { margin-top: 8px; color: var(--muted); font-size: 16px; line-height: 24px; }
.fix { margin-top: 16px; background: var(--ok-bg); color: #1D4D2A; border-radius: 12px; padding: 12px 16px; font-size: 16px; line-height: 24px; }
.fix strong { color: var(--ok); }

.timeline { list-style: none; display: flex; flex-direction: column; gap: 0; position: relative; padding-left: 32px; }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 2px; background: var(--line); }
.timeline-step { position: relative; padding: 0 0 24px; }
.timeline-step::before { content: ""; position: absolute; left: -32px; top: 4px; width: 16px; height: 16px; border-radius: 9999px; background: var(--card); border: 4px solid var(--signal); }
.timeline-step-title { font-weight: 600; font-size: 18px; line-height: 28px; color: var(--ink); }
.timeline-step-dur { display: inline-block; font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--muted); background: var(--soft); padding: 4px 8px; border-radius: 9999px; margin: 4px 0 8px; }
.timeline-step-desc { color: var(--muted); font-size: 16px; line-height: 24px; }

.price-grid { display: grid; gap: 8px; }
@media (min-width: 640px) { .price-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.price-cell { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.price-cell .label { font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--muted); }
.price-cell .amount { font-size: 24px; line-height: 32px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); margin-top: 8px; }
.price-cell .note { font-size: 14px; line-height: 20px; color: var(--muted); margin-top: 8px; }
.price-table { background: var(--card); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.price-row { display: flex; justify-content: space-between; gap: 16px; padding: 16px 24px; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 24px; }
.price-row:last-child { border-bottom: 0; }
.price-row:first-child { background: var(--soft); font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--muted); padding: 12px 24px; }
.price-row-value { font-weight: 600; white-space: nowrap; color: var(--ink); }
.includes-list { list-style: none; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 8px 24px; }
.includes-list li { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 24px; }
.includes-list li:last-child { border-bottom: 0; }
.tick { flex: none; width: 24px; height: 24px; border-radius: 9999px; display: grid; place-items: center; background: var(--ok-bg); color: var(--ok); font-size: 12px; font-weight: 600; }

.related-articles { margin-top: 64px !important; padding-top: 32px; border-top: 1px solid var(--line); }
.related-label { font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--muted); margin-bottom: 16px; }
.related-links { display: flex; flex-direction: column; gap: 8px; }
.related-links a { display: flex; align-items: center; gap: 12px; padding: 16px 24px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; text-decoration: none; font-size: 16px; line-height: 24px; font-weight: 600; transition: border-color 500ms var(--ease), transform 500ms var(--ease); }
.related-links a:hover { border-color: var(--ink); transform: translateX(4px); }
.related-links a span { color: var(--signal); }
.article-cta { margin-top: 32px !important; background: var(--ink); color: #fff; border-radius: 24px; padding: 32px; }
.article-cta h3 { color: #fff; margin-top: 0 !important; font-size: 24px; line-height: 32px; }
.article-cta p { color: #B5B5AE; margin-top: 8px; font-size: 16px; line-height: 24px; }
.article-cta .btn { margin-top: 24px; background: #fff; color: var(--ink); border-color: #fff; text-decoration: none; }
.article-cta .btn:hover { background: var(--signal); border-color: var(--signal); color: #fff; }

/* Legal page */
.legal { max-width: 720px; padding-bottom: 96px; }
.info-box { background: var(--soft); border-radius: 16px; padding: 16px 24px; font-size: 16px; line-height: 24px; }

/* CTA band */
.cta-band { background: var(--ink); color: #fff; border-radius: 32px; padding: 48px 24px; display: grid; gap: 32px; align-items: center; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1fr auto; padding: 64px; } }
.cta-band h2 { font-size: 30px; line-height: 36px; max-width: 680px; }
@media (min-width: 768px) { .cta-band h2 { font-size: 36px; line-height: 40px; } }
.cta-band p { color: #B5B5AE; margin-top: 16px; max-width: 560px; font-size: 18px; line-height: 28px; }

/* Footer */
footer.site { padding: 48px 0 32px; border-top: 1px solid var(--line); }
.foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: center; font-size: 14px; line-height: 20px; color: var(--muted); }
.foot nav { display: flex; flex-wrap: wrap; gap: 16px 24px; }
.foot a { text-decoration: none; transition: color 500ms var(--ease); }
.foot a:hover { color: var(--ink); }

/* Cookie */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 250; max-width: 560px; margin: 0 auto; display: none; flex-wrap: wrap; align-items: center; gap: 16px; justify-content: space-between; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 16px; box-shadow: 0 16px 48px rgba(10, 10, 10, 0.12); font-size: 14px; line-height: 20px; color: var(--muted); }
.cookie p { flex: 1 1 260px; }
.cookie div { display: flex; gap: 8px; }

/* Reveal */
.js .rv { opacity: 0; transform: translateY(64px); filter: blur(12px); transition: opacity 900ms var(--ease), transform 900ms var(--ease), filter 900ms var(--ease); }
.js .rv.in { opacity: 1; transform: none; filter: blur(0); }
.js .rv.d1 { transition-delay: 100ms; } .js .rv.d2 { transition-delay: 200ms; } .js .rv.d3 { transition-delay: 300ms; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; transition-delay: 0ms !important; }
  .js .rv { opacity: 1; transform: none; filter: none; }
  html { scroll-behavior: auto; }
}

/* Facts row */
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); max-width: 640px; }
@media (min-width: 600px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.facts dt { font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--muted); }
.facts dd { font-size: 18px; line-height: 28px; font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; }

/* Template cards */
.tpls { display: grid; gap: 24px; }
@media (min-width: 900px) { .tpls { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.tpl { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 8px; transition: transform 700ms var(--ease), box-shadow 700ms var(--ease); }
.tpl:hover { transform: translateY(-4px); box-shadow: 0 24px 56px rgba(10, 10, 10, 0.08); }
.tpl-img { display: block; background: var(--soft); border-radius: 16px; padding: 8px; text-decoration: none; overflow: hidden; }
.tpl-img img { border-radius: 8px; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform 1200ms var(--ease); }
.tpl:hover .tpl-img img { transform: scale(1.03); }
.frame-bar { display: flex; align-items: center; gap: 4px; padding: 4px 8px 12px; }
.frame-bar i { width: 8px; height: 8px; border-radius: 9999px; background: #D6D6D0; }
.frame-bar span { margin-left: 8px; font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--muted); }
.tpl-body { padding: 24px 16px 16px; }
.tpl-body .tag { font-family: var(--mono); font-size: 12px; line-height: 16px; color: var(--signal-ink); background: #FFF1EC; padding: 4px 8px; border-radius: 9999px; }
.tpl-body h2 { font-size: 24px; line-height: 32px; margin-top: 16px; }
.tpl-body p { color: var(--muted); margin-top: 8px; }
.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.pills li { font-size: 12px; line-height: 16px; font-weight: 500; padding: 4px 8px; border-radius: 9999px; background: var(--soft); }
.tpl-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 24px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; line-height: 20px; color: var(--muted); }

/* Live template preview */
.live { position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 8px; background: var(--soft); }
.live img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.live iframe { position: absolute; top: 0; left: 0; width: 1440px; height: 900px; border: 0; transform-origin: 0 0; pointer-events: none; background: transparent; }
