/* base.css — typography, layout, utilities */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }

body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  font-size: 17px;
  line-height: 1.65;
}

h1, h2, h3, h4 {
  color: var(--heading);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); }
h3 { font-size: 1.25rem; font-weight: 700; }
p  { color: var(--text-soft); }

a { color: var(--brand-700); }
a:hover { color: var(--brand-800); }

/* Layout */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: var(--container-narrow); }

.section { padding: clamp(56px, 9vw, 110px) 0; }
.section--alt { background: var(--bg-soft); }

/* Helpers */
.skip-link {
  position: absolute; left: -9999px; top: 8px;
  background: var(--brand-600); color: #fff;
  padding: 10px 16px; border-radius: var(--r-sm); z-index: 100;
}
.skip-link:focus { left: 8px; }

.eyebrow {
  display: inline-block;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand-700);
  background: var(--brand-50);
  padding: 6px 14px; border-radius: var(--r-pill);
  margin-bottom: 16px;
}

.text-grad {
  background: linear-gradient(90deg, var(--brand-600), var(--brand-400));
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.section-head { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; }
.section-head h2 { margin-bottom: 14px; }
.section-head p { font-size: 1.08rem; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 600; font-size: 1rem;
  padding: 13px 24px; border-radius: var(--r-pill);
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { padding: 10px 18px; font-size: .95rem; }
.btn--primary { background: var(--brand-600); color: #fff; box-shadow: var(--shadow-blue); }
.btn--primary:hover { background: var(--brand-700); color: #fff; }
.btn--ghost { background: var(--white); color: var(--brand-700); border: 2px solid var(--brand-200); }
.btn--ghost:hover { border-color: var(--brand-500); color: var(--brand-800); }
.btn--light { background: #fff; color: var(--ink-900); box-shadow: var(--shadow-md); }
.btn--light:hover { color: var(--ink-900); }
