/**
 * FourData Blocks v2 — Base styles
 * Typography resets and foundational layout helpers.
 * Every rule is scoped to .fd-blocks-root.
 */

/* ───────── Google Fonts import ───────── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* ───────── Box-sizing ───────── */
.fd-blocks-root,
.fd-blocks-root *,
.fd-blocks-root *::before,
.fd-blocks-root *::after {
  box-sizing: border-box;
}

/* ───────── Root wrapper ───────── */
.fd-blocks-root {
  font-family: var(--fd-font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fd-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ───────── Headings ───────── */
.fd-blocks-root h1,
.fd-blocks-root h2,
.fd-blocks-root h3,
.fd-blocks-root h4,
.fd-blocks-root h5,
.fd-blocks-root h6 {
  margin: 0;
  padding: 0;
  font-family: var(--fd-font);
  color: var(--fd-text-dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.fd-blocks-root h1 {
  font-size: 2.75rem;
  font-weight: 800;
}

.fd-blocks-root h2 {
  font-size: 2.25rem;
  font-weight: 800;
}

.fd-blocks-root h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.fd-blocks-root h4 {
  font-size: 1.125rem;
  font-weight: 700;
}

.fd-blocks-root h5 {
  font-size: 1rem;
  font-weight: 700;
}

.fd-blocks-root h6 {
  font-size: 0.875rem;
  font-weight: 700;
}

/* ───────── Paragraphs ───────── */
.fd-blocks-root p {
  margin: 0;
  padding: 0;
  font-family: var(--fd-font);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--fd-text);
}

/* ───────── Links ───────── */
.fd-blocks-root a {
  text-decoration: none;
  color: inherit;
  box-shadow: none;
}

/* ───────── Lists ───────── */
.fd-blocks-root ul,
.fd-blocks-root ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* ───────── Images ───────── */
.fd-blocks-root img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ───────── Container ───────── */
.fd-blocks-root .fd-container {
  max-width: var(--fd-max);
  margin: 0 auto;
  padding: 0 2.5rem;
}

/* ───────── Sections ───────── */
.fd-blocks-root .fd-section {
  padding: 5rem 0;
  position: relative;
}

.fd-blocks-root .fd-section--gray {
  background: var(--fd-bg-light);
}

/* Dark section ───────── */
.fd-blocks-root .fd-section--dark {
  background: linear-gradient(135deg, var(--fd-navy) 0%, var(--fd-navy-deeper) 100%);
  color: #fff;
  overflow: hidden;
}

.fd-blocks-root .fd-section--dark::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 45rem;
  height: 45rem;
  background: radial-gradient(circle, rgba(59, 183, 237, 0.06) 0%, transparent 70%);
  pointer-events: none;
}

.fd-blocks-root .fd-section--dark::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -5%;
  width: 35rem;
  height: 35rem;
  background: radial-gradient(circle, rgba(59, 183, 237, 0.04) 0%, transparent 70%);
  pointer-events: none;
}
