/* ===========================================
   Base Styles - Typography & Global
   =========================================== */

body {
  font-family: var(--font-family);
  font-weight: var(--font-weight-medium);
  color: var(--color-black);
  background-color: var(--color-white);
  overflow-x: hidden;
  -moz-osx-font-smoothing: grayscale;
}

/* Page wrapper - SP first (375px), centered */
.page-wrapper {
  max-width: var(--content-width);
  margin: 0 auto;
  overflow-x: hidden;
}

/* Typography */
h1 {
  font-size: 31px;
  font-weight: var(--font-weight-bold);
  line-height: 1.45;
}

h2 {
  font-size: 24px;
  font-weight: var(--font-weight-bold);
  line-height: 1.45;
}

h3 {
  font-size: 18px;
  font-weight: var(--font-weight-bold);
  line-height: 1.45;
}

h4 {
  font-size: 16px;
  font-weight: var(--font-weight-bold);
  line-height: 1.45;
}

p {
  font-size: 18px;
  font-weight: var(--font-weight-medium);
  line-height: 1.45;
}

small {
  font-size: 12px;
  line-height: 1.4;
}

/* Yellow marker */
.marker-yellow {
  background: linear-gradient(transparent 60%, #FFF066 60%);
}

/* Utility */
.text-primary {
  color: var(--color-primary);
}

.text-blue {
  color: var(--color-blue-accent);
}

.text-white {
  color: var(--color-white);
}

.text-center {
  text-align: center;
}

/* Marker highlight */
/* Figma: rgba(216,46,46,0.2) background on text */
.marker {
  background: rgba(216, 46, 46, 0.2);
  display: inline;
  padding: 0 2px;
}

/* Container */
.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 16px;
}

/* Section spacing */
.section {
  padding: 48px 0;
}

.section--gray {
  background-color: var(--color-gray-bg);
}

/* ============================================================
   PC (>=768px) — unlock the mobile-first 375px frame
   ============================================================ */
@media (min-width: 768px) {
  body {
    font-size: 16px;
  }
  .page-wrapper {
    max-width: 100%;
    width: 100%;
    overflow-x: hidden;
  }
  h1 {
    font-size: 40px;
    line-height: 1.4;
  }
  h2 {
    font-size: 40px;
    line-height: 1.4;
  }
  h3 {
    font-size: 24px;
    line-height: 1.4;
  }
  p {
    font-size: 18px;
    line-height: 1.6;
  }
  .container {
    max-width: 1440px;
    padding: 0 40px;
  }
  .section {
    padding: 80px 0;
  }
}