/*
Theme Name: Identita Theme
Theme URI: https://identita.app
Author: Identita
Author URI: https://identita.app
Description: Minimal companion theme for the Identita plugin. Provides a stable wrapper for brand book pages.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 8.1
License: Proprietary
License URI: https://identita.app/license
Text Domain: identita-theme
Tags: brand, identity, minimal, clean
*/

/**
 * Theme Styles
 *
 * Keep this minimal - the plugin provides brand styling via CSS variables.
 */

/* Global Reset & Base */
* {
	box-sizing: border-box;
}

body {
	margin: 0;
	padding: 0;

	/* Brand body font from the plugin tokens (altivo-thin unless the brand font
	   is changed in Brand Settings); the stack is the no-plugin fallback. */
	font-family: var(--id-font-body, "Helvetica Neue", Helvetica, Arial, sans-serif);
	font-size: 16px;
	line-height: 1.6;
	/* Follow the active plugin palette (tokens are enqueued site-wide); the hex
	   values are the default-palette fallback. */
	color: var(--id-text, #18181b);
	background: var(--id-bg, #fff);
}

/* Container */
.site-container {
	max-width: 100%;
	margin: 0 auto;
}

/* Header */
.site-header {
	background: var(--id-surface, #fff);
	border-bottom: 1px solid var(--id-border, #e5e7eb);
	padding: 20px 40px;
}

.site-header__inner {
	max-width: 1400px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.site-title {
	margin: 0;
	font-size: 1.5rem;
	font-weight: 700;
}

.site-title a {
	color: var(--id-text, #18181b);
	text-decoration: none;
}

.site-title a:hover {
	color: var(--id-highlight, #2563eb);
}

.site-description {
	margin: 0;
	font-size: 0.875rem;
	color: var(--id-text-muted, #52525b);
}

/* Footer */
.site-footer {
	background: var(--id-fill-subtle, #f9f9f9);
	border-top: 1px solid var(--id-border, #e5e7eb);
	padding: 40px 40px 20px;
	margin-top: 80px;
}

.site-footer__inner {
	max-width: 1400px;
	margin: 0 auto;
	text-align: center;
}

.site-footer p {
	margin: 0;
	font-size: 0.875rem;
	color: var(--id-text-muted, #52525b);
}

.site-footer a {
	color: var(--id-highlight, #2563eb);
	text-decoration: none;
}

.site-footer a:hover {
	text-decoration: underline;
}

/* Content Area */
.site-main {
	min-height: 400px;
}

/* Responsive */
@media (max-width: 768px) {
	.site-header {
		padding: 15px 20px;
	}

	.site-footer {
		padding: 30px 20px 15px;
	}

	.site-title {
		font-size: 1.25rem;
	}
}
