/*
Theme Name: Vexillum Theme
Theme URI: https://github.com/lead-ai/vexillum-theme
Description: Blank Slate Theme progettato esclusivamente per interpretare e renderizzare layout JSON generati da Vexillum Builder.
Version: 1.1.18
Author: Deepstudio
License: GNU General Public License v2 or later
License URI: license.txt
Text Domain: vexillum-theme
*/

:root {
  color-scheme: light;
}

.vexillum-anchor-target {
  scroll-margin-top: 96px;
}

.vexillum-page-inner :is(h1, h2, h3, h4, h5, h6, p) {
  margin: 0;
  color: inherit;
}

.vexillum-skip-link {
  position: absolute;
  left: 12px;
  top: -40px;
  z-index: 100;
  padding: 8px 12px;
  background: #4f46e5;
  color: #fff;
  border-radius: 8px;
}
.vexillum-skip-link:focus {
  top: 12px;
}

.vexillum-shell {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
}

.vexillum-container {
  width: min(72rem, calc(100% - 2rem));
  margin-left: auto;
  margin-right: auto;
}

.vexillum-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 24px;
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.08);
}

.vexillum-panel {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 20px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.vexillum-button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  background: #4f46e5;
  color: #fff;
  padding: 0.9rem 1.4rem;
  font-weight: 700;
  text-decoration: none;
}

.vexillum-button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(15, 23, 42, 0.12);
  background: #fff;
  color: #0f172a;
  padding: 0.9rem 1.4rem;
  font-weight: 700;
  text-decoration: none;
}

.vexillum-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.vexillum-404 {
  box-sizing: border-box;
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 4rem 1.5rem;
  text-align: center;
  color: #0f172a;
}

.vexillum-404 h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.vexillum-404 p {
  margin: 0;
  max-width: 36rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: #334155;
}

.vexillum-404 a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 0.5rem;
  padding: 0.7rem 1.25rem;
  border-radius: 9999px;
  background: #4338ca;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
}

.vexillum-404 a:focus-visible {
  outline: 3px solid #312e81;
  outline-offset: 3px;
}

