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

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

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.5;
  color: var(--color-black);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

[hidden] { display: none !important; }

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

button { cursor: pointer; border: 0; background: transparent; padding: 0; }

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

h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
dl, dd, dt { margin: 0; }

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--gutter-mobile);
}
@media (min-width: 1024px) {
  .container { padding-inline: var(--gutter-desktop); }
  /* Narrow sections use 160px gutters per Figma (1120 content) */
  .investments > .container,
  .calculator > .container { padding-inline: var(--gutter-narrow); }
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  background: var(--color-yellow);
  color: var(--color-black);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  z-index: 1000;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  text-align: center;
  border-radius: var(--radius-pill);
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--color-yellow);
  color: var(--color-black);
}
.btn--primary:hover { box-shadow: var(--shadow-cta); }
.btn--ghost {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-white);
}
.btn--ghost:hover { background: var(--color-white-08); }
.btn--sm { height: 44px; padding: 0 24px; font-size: 15px; }
.btn--lg { height: 56px; padding: 0 40px; font-size: 17px; }
@media (min-width: 1024px) {
  .btn--sm { height: 48px; padding: 0 32px; font-size: 16px; }
  .btn--lg { height: 64px; padding: 0 48px; font-size: 18px; }
}

/* Section titles */
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--fs-h2);
  line-height: 1.2;
  color: var(--color-black);
  text-align: center;
  margin: 0;
}
.section-title--light { color: var(--color-white); }

.section-lead {
  text-align: center;
  font-size: var(--fs-body);
  line-height: 1.3;
  color: var(--color-black);
  margin-top: 24px;
}
.section-lead--light { color: var(--color-white-70); }
