/* ==========================================================================
   Base / Reset / Typography — Redesign v2
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--clr-ink-600);
  background: var(--clr-surface);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }

ul { list-style: none; margin: 0; padding: 0; }

button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--clr-ink-900);
  margin: 0;
  line-height: 1.18;
  letter-spacing: -0.01em;
}

p { margin: 0; }

::selection { background: var(--clr-primary-300); color: #fff; }

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--edge-gutter);
}

.section { padding: var(--section-pad-y) 0; position: relative; }
.section--alt { background: var(--clr-surface-dim); }

/* ---- Section heading kit ---- */
.section-heading-row {
  max-width: 720px;
  margin: 0 auto 56px;
  text-align: center;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px 6px 10px;
  border-radius: var(--r-pill);
  background: var(--clr-primary-100);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--clr-primary-600);
  margin-bottom: 18px;
}

.section-eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--clr-accent-500);
  display: inline-block;
  box-shadow: 0 0 0 4px var(--clr-accent-100);
}

.section-heading {
  font-size: clamp(28px, 3.6vw, 42px);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section-subheading {
  margin-top: 16px;
  font-size: 16.5px;
  color: var(--clr-ink-400);
  line-height: 1.7;
}

/* ---- Buttons (Material filled / tonal / outlined) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: var(--r-pill);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: 0.01em;
  transition: transform .25s cubic-bezier(.2,.8,.2,1), box-shadow .25s ease, background .25s ease;
  white-space: nowrap;
}

.btn svg { width: 16px; height: 16px; transition: transform .25s ease; }
.btn:hover svg { transform: translateX(3px); }

.btn-primary,
.btn-cta {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: var(--el-glow-primary);
}
.btn-primary:hover, .btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -8px rgba(67,83,217,.55);
}

.btn-outline {
  background: transparent;
  color: var(--clr-primary-600);
  border: 1.5px solid var(--clr-border);
}
.btn-outline:hover {
  border-color: var(--clr-primary-400);
  background: var(--clr-primary-50);
  transform: translateY(-2px);
}

.btn-white {
  background: #fff;
  color: var(--clr-primary-700);
  box-shadow: var(--el-3);
}
.btn-white:hover { transform: translateY(-3px); box-shadow: var(--el-4); }

/* Material ripple-ish focus ring */
.btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2.5px solid var(--clr-primary-400);
  outline-offset: 3px;
}
