:root {
  /* Paper & Ink Palette */
  --lbm-paper: #FAE7C8;   /* Creamy Paper Background */
  --lbm-ink: #090124;     /* Deep Navy Ink */
  --lbm-accent: #B9B4F2;  /* Lavender/Periwinkle Highlight */
  --lbm-accent-dark: #7C74D1; /* Darker Lavender for high-contrast subtitles */
  --lbm-muted: rgba(9, 1, 36, 0.7);
  --lbm-line: rgba(9, 1, 36, 0.12);
  
  /* Layout Tokens */
  --lbm-radius: 0px;
  --lbm-border: 2px solid var(--lbm-ink);
  --lbm-stack-gap: 2.5rem;
}

/* Global Subtitles / Kickers */
.lbm-kicker, .lbm-auth-kicker, .lbm-auth-label {
  display: block;
  margin: 0 0 1rem;
  font-size: 0.88rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lbm-accent-dark);
  font-weight: 700;
}

/* Global Grain Texture */
.lbm-global-body {
  background-color: var(--lbm-paper);
  position: relative;
  min-height: 100vh;
  color: var(--lbm-ink);
  overflow-x: hidden;
  margin: 0;
}

.lbm-global-body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.25;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  filter: contrast(120%) brightness(100%);
}

/* Global Typography */
body {
  font-family: 'Work Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, .lbm-serif {
  font-family: 'Noto Serif', serif;
}

/* Shared UI Components */
.lbm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  background: var(--lbm-ink);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  border-radius: var(--lbm-radius);
  cursor: pointer;
  transition: all 200ms ease;
}

.lbm-btn:hover {
  background: var(--lbm-accent);
  color: var(--lbm-ink);
}

.lbm-btn-outline {
  background: transparent;
  color: var(--lbm-ink);
  border: 2px solid var(--lbm-ink);
}

.lbm-btn-outline:hover {
  background: var(--lbm-ink);
  color: #fff;
}

/* Global Header Styles */
.lbm-global-header {
  position: sticky;
  top: 0;
  background: var(--lbm-paper);
  border-bottom: 1px solid var(--lbm-line);
  padding: 1.5rem 0;
  z-index: 1000;
}

.lbm-header-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.lbm-logo {
  text-decoration: none;
  color: var(--lbm-ink);
  font-family: 'Noto Serif', serif;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Global Footer Styles */
.lbm-global-footer {
  margin-top: 8rem;
  padding: 6rem 0 4rem;
  border-top: 2px solid var(--lbm-ink);
}

.lbm-footer-inner {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 2rem;
}

.lbm-footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 4rem;
  margin-bottom: 5rem;
}

.lbm-footer-brand p {
  margin-top: 1.5rem;
  max-width: 35ch;
  color: var(--lbm-muted);
  line-height: 1.7;
}

.lbm-footer-links {
  display: flex;
  gap: 4rem;
}

.lbm-footer-links h4 {
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  color: var(--lbm-accent-dark);
  font-weight: 700;
}

.lbm-footer-links a {
  display: block;
  text-decoration: none;
  color: var(--lbm-ink);
  margin-bottom: 0.8rem;
  font-weight: 500;
  transition: color 180ms ease;
}

.lbm-footer-links a:hover {
  color: var(--lbm-accent);
}

.lbm-footer-bottom {
  padding-top: 3rem;
  border-top: 1px solid rgba(9, 1, 36, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.lbm-footer-bottom p {
  font-size: 0.85rem;
  color: var(--lbm-muted);
}

@media (max-width: 1024px) {
  .lbm-footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .lbm-footer-links {
    gap: 2rem;
    flex-wrap: wrap;
  }
}
