:root {
  color-scheme: light;
  font-family: "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  color: #22274c;
  background: #f5f4ff;
}

* {
  box-sizing: border-box;
}

body {
  display: grid;
  min-height: 100svh;
  margin: 0;
  padding: clamp(1.25rem, 6vw, 5rem);
  place-items: center;
}

main {
  display: grid;
  width: min(100%, 53rem);
  border-block: 2px solid #272c54;
  padding-block: clamp(2.5rem, 8vw, 6rem);
  gap: clamp(2rem, 5vw, 4.25rem);
}

h1 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(4rem, 16vw, 11rem);
  font-weight: 400;
  letter-spacing: -0.09em;
  line-height: 0.85;
}

h1 span {
  color: #5145b5;
  margin-inline-start: 0.045em;
}

section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(1rem, 5vw, 3rem);
}

h2 {
  margin: 0;
  max-width: 22em;
  font-size: clamp(1.12rem, 3.2vw, 1.65rem);
  font-weight: 550;
  line-height: 1.55;
}

button {
  min-height: 3rem;
  border: 1px solid #5145b5;
  border-radius: 0.4rem;
  padding: 0.65rem 1.15rem;
  color: #fff;
  background: #5145b5;
  font: inherit;
  cursor: pointer;
}

button:hover {
  background: #392e92;
}

button:focus-visible {
  outline: 3px solid #22274c;
  outline-offset: 4px;
}

@media (max-width: 32rem) {
  section {
    grid-template-columns: 1fr;
    justify-items: start;
  }
}
