* {
  box-sizing: border-box;
}

:root {
  color-scheme: light;
  --ink: #25324b;
  --blue: #4869e8;
  --yellow: #ffd85c;
  --paper: #fffdf7;
  --sky: #dff4ff;
}

html {
  min-height: 100%;
}

body {
  min-height: 100vh;
  margin: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 20%, rgb(255 216 92 / 45%) 0 75px, transparent 76px),
    radial-gradient(circle at 85% 80%, rgb(72 105 232 / 18%) 0 110px, transparent 111px),
    var(--sky);
  font-family: ui-rounded, "SF Pro Rounded", "Trebuchet MS", system-ui, sans-serif;
}

.profile-card {
  position: relative;
  width: min(720px, 100%);
  padding: clamp(42px, 9vw, 88px);
  overflow: hidden;
  text-align: center;
  background: var(--paper);
  border: 4px solid var(--ink);
  border-radius: 34px;
  box-shadow: 12px 12px 0 var(--ink);
  transform: rotate(-0.4deg);
}

.eyebrow {
  display: inline-block;
  margin: 0 0 22px;
  padding: 8px 16px;
  color: var(--ink);
  background: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 999px;
  font-size: clamp(1rem, 3vw, 1.25rem);
  font-weight: 800;
  transform: rotate(-2deg);
}

h1 {
  margin: 0;
  font-size: clamp(2.65rem, 9vw, 5.6rem);
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h1 span {
  color: var(--blue);
}

.intro {
  margin: 30px 0 0;
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  font-weight: 800;
}

.note {
  max-width: 420px;
  margin: 14px auto 0;
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  line-height: 1.5;
}

.doodle {
  position: absolute;
  color: var(--blue);
  font-weight: 900;
}

.doodle-star {
  top: 26px;
  right: 34px;
  font-size: 38px;
  transform: rotate(13deg);
}

.doodle-spark {
  bottom: 24px;
  left: 32px;
  color: #ef775c;
  font-size: 42px;
  transform: rotate(-12deg);
}

@media (max-width: 520px) {
  .profile-card {
    box-shadow: 7px 7px 0 var(--ink);
    border-radius: 26px;
  }
}
