*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  position: relative;
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  color: var(--vb-text-dark);
  background: var(--vb-cream);
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(45deg, rgba(198, 167, 94, 0.06) 1px, transparent 1px),
    linear-gradient(-45deg, rgba(30, 58, 52, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  z-index: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--vb-text-dark);
}

h1 { font-size: clamp(2rem, 5vw, 3rem); }

p { margin-bottom: var(--space-md); }

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

.main-content {
  min-height: calc(100vh - 120px);
  padding: var(--space-2xl) 0;
  position: relative;
  z-index: 1;
}

.site-header {
  background: var(--vb-forest);
  padding: var(--space-lg) 0;
  box-shadow: var(--vb-shadow-soft);
  position: relative;
  z-index: 1;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: clamp(220px, 34vw, 360px);
  height: clamp(72px, 9vw, 104px);
  object-fit: cover;
  object-position: center;
}

.brand-name {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--vb-text-light);
}

.brand-tagline {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
}

.alert {
  padding: var(--space-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--space-lg);
}

.alert-error {
  background: rgba(192, 57, 43, 0.1);
  color: #C0392B;
}

.alert-success {
  background: rgba(39, 174, 96, 0.1);
  color: #1E8449;
}

.alert-detail {
  display: block;
  font-size: 0.85rem;
  margin-top: var(--space-xs);
}

.card {
  background: var(--vb-white);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--vb-shadow-soft);
}

.card-title {
  font-weight: 600;
  margin-bottom: var(--space-sm);
}

.card-value {
  font-size: 1.25rem;
}

.card-meta {
  margin-top: var(--space-sm);
  color: var(--vb-text-medium);
  font-size: 0.9rem;
}

:focus-visible {
  outline: 2px solid var(--vb-gold-primary);
  outline-offset: 2px;
}
