/* base */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: 1.5;
  background: var(--color-bg);
  color: var(--color-text);
}

/* Media defaults */
img, svg {
  display: block;
  max-width: 100%;
}

/* Typography */
h1, h2, h3 {
  margin: 0;
  font-family: var(--font-heading);
  color: var(--color-text);
  letter-spacing: -0.02em;
}

h1 {
  font-size: var(--text-h1);
  font-weight: 800;
  line-height: 1.05;
}

h2 {
  font-size: var(--text-h2);
  font-weight: 800;
  line-height: 1.1;
}

h3 {
  font-weight: 700;
  line-height: 1.15;
}

/* Layout */
.container {
  max-width: var(--container);
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  margin: 0 auto;
}

.section {
  padding: var(--section-pad) 0;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  padding: 0.9rem 1.1rem;
  border: 1px solid rgba(17, 24, 39, 0.10);
  border-radius: var(--radius-md);
  background: var(--color-brand);
  color: #fff;
  text-decoration: none;
  cursor: pointer;

  box-shadow: var(--shadow-sm);
  transition:
    transform var(--dur) var(--ease),
    background var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
}

.btn-primary:hover {
  background: var(--color-brand-hover);
  transform: translateY(-1px);
}