:root {
    --site-width: 1530px;
    --bg: #f5f4f2;
    --surface: #ffffff;
    --white: #ffffff;
    --text: #272824;
    --dark: #272824;
    --muted: rgba(39, 40, 36, 0.64);
    --border: #e4e2de;
    --blue: #cefe24;
    --blue-light: #b8e820;
    --blue-glow: rgba(206, 254, 36, 0.25);
    --border-dark: rgba(255,255,255,0.08);
    --radius: 16px;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: 'Manrope', system-ui, sans-serif;
    background: var(--bg); color: var(--text); line-height: 1.6; min-height: 100vh;
    display: flex; flex-direction: column;
}
.wrap { width: min(var(--site-width), 100% - 2rem); margin-inline: auto; }
a { color: inherit; }

.site-header {
    background: var(--surface); border-bottom: 1px solid var(--border);
    padding: 0.85rem 0; position: sticky; top: 0; z-index: 40;
}
.site-header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; color: var(--text); }
.brand-mark {
    width: 36px; height: 36px; border-radius: 10px;
    background: linear-gradient(135deg, var(--blue), var(--blue-light));
    display: grid; place-items: center;
    box-shadow: 0 0 16px var(--blue-glow);
}
.brand-mark svg { width: 18px; height: 18px; stroke: #272824; fill: none; stroke-width: 2; }
.brand-text { font-weight: 800; font-size: 1.05rem; letter-spacing: -0.03em; }
.brand-text em { font-style: normal; color: var(--text); }
.header-link {
    font-size: 0.85rem; font-weight: 600; color: var(--muted);
    text-decoration: none; padding: 0.45rem 0.85rem; border-radius: 999px;
    border: 1px solid var(--border); transition: all 0.2s;
}
.header-link:hover { color: var(--text); border-color: var(--blue); background: rgba(206,254,36,0.12); }

.page-main { flex: 1; padding: 1.5rem 0 3rem; }
.breadcrumb {
    display: flex; align-items: center; gap: 0.4rem; flex-wrap: wrap;
    font-size: 0.8rem; color: var(--muted); margin-bottom: 1rem;
}
.breadcrumb a { color: var(--text); text-decoration: none; font-weight: 600; }
.breadcrumb a:hover { text-decoration: underline; }

.page-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem);
    max-width: 720px;
}
.page-badge {
    display: inline-block; font-size: 0.68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.06em;
    padding: 0.25rem 0.55rem; border-radius: 999px;
    background: rgba(206,254,36,0.25); color: #272824; margin-bottom: 0.75rem;
}
.page-card h1 { font-size: clamp(1.35rem, 3vw, 1.75rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.5rem; }
.page-lead { font-size: 0.95rem; color: var(--muted); margin-bottom: 1.25rem; max-width: 52ch; }
.page-soon {
    background: var(--bg); border: 1px dashed var(--border);
    border-radius: 12px; padding: 1rem 1.15rem; margin-bottom: 1.25rem;
    font-size: 0.88rem; color: var(--text);
}
.page-soon-list { margin: 0.65rem 0 0 1.1rem; }
.page-soon-list li { margin-bottom: 0.25rem; }
.page-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.btn {
    display: inline-flex; align-items: center; padding: 0.65rem 1.1rem;
    border-radius: 10px; font: inherit; font-weight: 700; font-size: 0.85rem;
    text-decoration: none; cursor: pointer; border: none; transition: all 0.2s;
}
.btn-primary { background: var(--blue); color: #272824; }
.btn-primary:hover { background: var(--blue-light); color: #272824; }
.btn-ghost { background: var(--surface); border: 1px solid var(--border); color: var(--text); }
.btn-ghost:hover { border-color: var(--blue); color: var(--text); background: rgba(206,254,36,0.12); }

/* Legacy footer rules (harmless if JS mounts Prokat-style footer) */
.site-footer {
    background: var(--dark); color: rgba(255,255,255,0.55);
    padding: 3rem 0 1.75rem; border-top: 1px solid var(--border-dark); margin-top: auto;
}
.footer-grid {
    display: grid; grid-template-columns: 1.35fr repeat(5, 1fr);
    gap: 1.5rem 1.25rem; margin-bottom: 2rem;
}
@media (max-width: 1100px) { .footer-grid { grid-template-columns: 1fr 1fr 1fr; } .fb { grid-column: 1 / -1; } }
@media (max-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer .brand { color: #fff; margin-bottom: 0.65rem; }
.fb p { font-size: 0.85rem; line-height: 1.65; max-width: 30ch; }
.fc h4 {
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
    letter-spacing: 0.1em; color: rgba(255,255,255,0.35); margin-bottom: 0.75rem;
}
.fc a {
    display: block; color: rgba(255,255,255,0.55); text-decoration: none;
    font-size: 0.8rem; margin-bottom: 0.38rem; transition: color 0.2s;
}
.fc a:hover { color: #fff; }
.footer-bot {
    padding-top: 1.25rem; border-top: 1px solid var(--border-dark);
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem;
    font-size: 0.78rem;
}
.footer-bot a { color: rgba(255,255,255,0.4); text-decoration: none; margin-left: 0.75rem; }
.footer-bot a:hover { color: #fff; }
