/* ============================================
   BASE STYLES - Google / Material Inspired
   All sans-serif, light weights, blue links
   ============================================ */

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

body {
  font-family: var(--font-body);
  font-size: var(--text-body);
  font-weight: var(--weight-regular);
  line-height: var(--leading-normal);
  color: var(--color-text-primary);
  background-color: var(--color-bg-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* === HEADINGS === */
/* Google Business: Bold, impactful headings */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  color: var(--color-text-primary);
  letter-spacing: var(--tracking-tight);
  margin: 0;
}

h1 {
  font-size: var(--text-h1);
  font-weight: var(--weight-bold);
  line-height: 1.15;
}

h2 {
  font-size: var(--text-h2);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
}

h3 {
  font-size: var(--text-h3);
  font-weight: var(--weight-semibold);
  line-height: var(--leading-snug);
}

h4 {
  font-size: var(--text-h4);
  font-weight: var(--weight-medium);
}

/* === PARAGRAPHS === */

p {
  margin: 0 0 var(--space-md);
  font-family: var(--font-body);
  font-size: var(--text-body);
  line-height: var(--leading-normal);
  color: var(--color-text-secondary);
}

/* === LINKS === */
/* Google: Blue links, no underline */

a {
  color: var(--color-link);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--color-accent-dark);
}

/* === LISTS === */

ul, ol {
  padding-left: var(--space-lg);
}

li {
  margin-bottom: var(--space-xs);
  line-height: var(--leading-normal);
}

/* === BLOCKQUOTE === */
/* Google: Clean, subtle left border */

blockquote {
  font-family: var(--font-body);
  font-size: var(--text-body-lg);
  font-style: italic;
  font-weight: var(--weight-regular);
  color: var(--color-text-primary);
  border-left: 3px solid var(--color-accent);
  padding-left: var(--space-lg);
  margin: var(--space-xl) 0;
}

/* === SECTION LABEL === */
/* Google: Blue text, no uppercase, clean */

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  text-transform: none;
  letter-spacing: var(--tracking-normal);
  color: var(--color-accent);
  margin-bottom: var(--space-md);
  background: none;
  padding: 0;
}

.section-label::before {
  display: none;
}

/* === HORIZONTAL RULE === */

hr {
  border: none;
  border-top: 1px solid var(--color-border);
  margin: var(--space-2xl) 0;
}

/* === SELECTION === */

::selection {
  background: rgba(26, 115, 232, 0.2);
  color: var(--color-text-primary);
}

/* === IMAGES === */

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === FORM ELEMENTS (base) === */

input, textarea, select {
  font-family: var(--font-body);
  font-size: var(--text-body);
}

/* === STRONG / EM === */

strong, b {
  font-weight: var(--weight-semibold);
}

em, i {
  font-style: italic;
}

/* === UTILITY === */

.text-blue {
  color: var(--color-accent);
}

.text-red {
  color: var(--color-accent);
}

.text-white {
  color: var(--color-white);
}

.text-muted {
  color: var(--color-text-muted);
}

.text-serif {
  font-family: var(--font-body);
}

.text-sans {
  font-family: var(--font-heading);
}
