/* ========== RESET & GLOBAL STYLES ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: "Cairo", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  outline: none;
}

::selection {
  background: rgba(201, 162, 74, 0.2);
  color: var(--ink);
}

::-moz-selection {
  background: rgba(201, 162, 74, 0.2);
  color: var(--ink);
}

/* ========== MATERIAL ICONS ========== */
.material-icons {
  font-family: 'Material Icons';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  display: inline-flex;
  line-height: 1;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
}

.material-icons.md-18 { font-size: 18px; }
.material-icons.md-24 { font-size: 24px; }
.material-icons.md-36 { font-size: 36px; }
.material-icons.md-48 { font-size: 48px; }

/* ========== TYPOGRAPHY ========== */
.h1 {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  line-height: 1.1;
  color: var(--primary);
  margin: 20px 0;
  font-weight: 900;
  word-wrap: break-word;
}

.h1 .grad {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.h2 {
  font-size: 2rem;
  font-weight: 900;
  color: var(--primary);
  margin: 0;
}

.lead {
  font-size: 1.1rem;
  color: var(--muted);
  line-height: 1.8;
  max-width: 60ch;
  margin: 0;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--muted);
  font-weight: 600;
  margin-top: 10px;
}

.muted {
  color: var(--muted);
  font-weight: 600;
}
