/**
 * Base Element Styles
 * Typography, links, and fundamental elements
 */

/* Headings */
h1, h2, h3 {
  font-family: var(--le-font-display);
  font-weight: 600;
  line-height: var(--le-leading-tight);
  color: var(--le-text);
}

h4, h5, h6 {
  font-family: var(--le-font-ui);
  font-weight: 600;
  line-height: var(--le-leading-snug);
  color: var(--le-text);
}

h1 {
  font-size: var(--le-text-4xl);
  font-weight: 700;
}

h2 {
  font-size: var(--le-text-3xl);
}

h3 {
  font-size: var(--le-text-2xl);
}

h4 {
  font-size: var(--le-text-xl);
}

h5 {
  font-size: var(--le-text-lg);
}

h6 {
  font-size: var(--le-text-base);
}

/* Body Text */
p {
  font-family: var(--le-font-body);
  font-size: var(--le-text-base);
  line-height: var(--le-leading-relaxed);
  margin-bottom: var(--le-space-4);
}

/* Links */
a {
  color: var(--le-primary);
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color var(--le-transition-fast);
}

a:hover,
a:focus {
  color: var(--le-accent);
}

/* Focus States */
:focus {
  outline: 2px solid var(--le-accent);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

:focus-visible {
  outline: 2px solid var(--le-accent);
  outline-offset: 2px;
}

/* Lists */
ul, ol {
  margin-bottom: var(--le-space-4);
  padding-left: var(--le-space-6);
}

li {
  margin-bottom: var(--le-space-2);
}

/* Strong/Emphasis */
strong, b {
  font-weight: 600;
}

em, i {
  font-style: italic;
}

/* Small Text */
small {
  font-size: var(--le-text-sm);
}

/* Horizontal Rule */
hr {
  border: none;
  height: 1px;
  background-color: var(--le-border);
  margin: var(--le-space-8) 0;
}

/* Selection */
::selection {
  background-color: rgba(184, 134, 11, 0.2);
  color: var(--le-text);
}
