/* Pixel-perfect base from Figma; responsive adjustments below */

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

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: "Segoe UI", "Source Sans 3", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
}

/* Page background — #edf9f7 */
.page {
  background-color: #edf9f7;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
}

/* Content: max 824px, fluid width, responsive gap */
.content {
  width: 100%;
  max-width: 824px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 4vw, 32px);
}

/* Illustration: fluid width, aspect ratio 500:328 */
.illustration-wrap {
  width: 100%;
  max-width: 500px;
  flex-shrink: 0;
  overflow: hidden;
  position: relative;
  aspect-ratio: 500 / 328;
}

.illustration-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* Sections column — responsive gap */
.sections {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(1.5rem, 4vw, 32px);
  width: 100%;
}

/* Text block — heading + body, responsive gap */
.text-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(0.5rem, 1vw, 8px);
  width: 100%;
  text-align: center;
}

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

/* Heading — responsive size, max 32px */
.heading {
  font-family: "Segoe UI", "Source Sans 3", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: clamp(1.375rem, 4vw + 1rem, 32px);
  line-height: 1.5;
  color: #1e1e1e;
  margin: 0;
  text-transform: capitalize;
}

/* Body text — responsive size, max 20px */
.body-text {
  font-family: "Segoe UI", "Source Sans 3", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  font-weight: 400;
  font-size: clamp(0.9375rem, 2.5vw + 0.5rem, 20px);
  line-height: 1.5;
  color: #6b7280;
  margin: 0;
  max-width: 100%;
}

.body-text p {
  margin: 0;
}

.body-text p + p {
  margin-top: 0.25em;
}

.heading,
.body-text {
  overflow-wrap: break-word;
  word-wrap: break-word;
}

/* Divider line — matches Figma line asset */
.divider {
  width: 100%;
  height: 1px;
  position: relative;
  flex-shrink: 0;
}

.divider img,
.divider svg {
  display: block;
  width: 100%;
  height: auto;
  max-width: none;
}
