/* Nrtur case study — 1:1 Figma frame stack */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: #ffffff;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
}

.page {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  background: #ffffff;
}

.frame {
  display: block;
  width: 100%;
  line-height: 0;
  background: #ffffff;
}

.frame img {
  display: block;
  width: 100%;
  height: auto;
}

.frame--sage {
  background: #dcebdd;
}

.frame--blue {
  background: #2454c7;
}

.frame--narrow {
  display: flex;
  justify-content: center;
  padding: 24px 0 40px;
}

.frame--narrow img {
  width: auto;
  max-width: min(1120px, 92%);
  height: auto;
}

.frame--ui {
  display: flex;
  justify-content: center;
  padding: 32px 0 48px;
  background: #ffffff;
}

.frame--ui img {
  width: auto;
  max-width: min(1203px, 92%);
  height: auto;
}

.frame--header {
  display: flex;
  justify-content: center;
  padding: 72px 24px 24px;
  background: #ffffff;
}

.frame--header img {
  width: auto;
  max-width: min(926px, 92%);
  height: auto;
}

.frame--closing {
  display: flex;
  justify-content: center;
  padding: 64px 24px 96px;
  background: #ffffff;
}

.frame--closing img {
  width: auto;
  max-width: min(974px, 92%);
  height: auto;
}

/* Mobile: keep frames readable without crowding or clipping */
@media (max-width: 768px) {
  .page {
    max-width: 100%;
    overflow-x: hidden;
  }

  .frame--narrow {
    padding: 16px 12px 28px;
  }

  .frame--narrow img {
    max-width: 100%;
  }

  .frame--ui {
    padding: 20px 12px 32px;
  }

  .frame--ui img {
    max-width: 100%;
  }

  .frame--header {
    padding: 48px 16px 16px;
  }

  .frame--header img {
    max-width: 100%;
  }

  .frame--closing {
    padding: 40px 16px 64px;
  }

  .frame--closing img {
    max-width: 100%;
  }
}
