/*
Theme Name: Kenii Demo
Theme URI: https://kenii.app
Author: Kenii
Author URI: https://kenii.app
Description: Token-driven demo chassis for the Kenii platform. Brand colors and fonts are applied per site.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: kenii-demo
*/

:root {
    --kd-primary: #7C3AED;
    --kd-primary-dark: #5B21B6;
    --kd-text: #272a2b;
    --kd-border: #e3e0de;
    --kd-accent: #1A1A1A;
    --kd-font: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
    margin: 0;
    font-family: var(--kd-font);
    color: var(--kd-text);
    font-size: 18px;
    line-height: 1.65;
    background: #ffffff;
}

.site-header {
    position: relative;
    z-index: 100;
    background: #ffffff;
    border-bottom: 1px solid var(--kd-border);
}

.site-header a {
    pointer-events: auto;
}

.site-header__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.site-header__brand {
    font-size: 22px;
    font-weight: 700;
    color: var(--kd-primary-dark);
    text-decoration: none;
}

.site-nav {
    display: flex;
    gap: 28px;
    flex-wrap: wrap;
    align-items: center;
}

.site-nav a {
    color: var(--kd-text);
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    min-height: 24px;
    display: inline-flex;
    align-items: center;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--kd-primary);
}

.site-main {
    min-height: 50vh;
}

.site-page {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 24px 80px;
}

.site-page__title {
    font-size: clamp(30px, 5vw, 44px);
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 24px;
}

.site-footer {
    background: var(--kd-accent);
    color: #ffffff;
    padding: 48px 24px;
    margin-top: 64px;
}

.site-footer__inner {
    max-width: 1280px;
    margin: 0 auto;
}

.site-footer__brand {
    font-size: 20px;
    font-weight: 700;
}

.site-footer__tag {
    margin: 8px 0 0;
    font-size: 15px;
    opacity: 0.8;
}

a { color: var(--kd-primary); }

.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.kenii-skip-link:focus {
    position: fixed;
    top: 8px;
    left: 8px;
    width: auto;
    height: auto;
    margin: 0;
    clip: auto;
    padding: 12px 20px;
    background: #ffffff;
    color: var(--kd-primary-dark);
    font-weight: 600;
    border-radius: 6px;
    z-index: 100000;
}
