:root {
  --ink: #281c38;
  color: var(--ink);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: #70dffa;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px max(5vw, (100% - 1120px)/2);
  background: #fffbf2;
  border-bottom: 3px solid;
}
a {
  color: inherit;
  text-decoration: none;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
header a:first-child { font-size: 22px; margin-left: -7px }
header a:hover { color: #b53900 }
a:focus-visible { outline: 4px solid #2449bf; outline-offset: 5px }
main {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(#70dffa, transparent 18%) bottom / 100% 100% no-repeat,
    url("meadow.png") center bottom / 100% 100% no-repeat;
  padding: 32px 12px clamp(144px, 23vh, 420px);
}
main img { width: clamp(105px, 16vh, 176px); height: auto }
h1 {
  font-size: clamp(44px, 7vw, 100px);
  margin: 0;
  font-weight: 950;
  letter-spacing: .04em;
  text-shadow: 0 .065em #fff8e8, 0 .11em #2389b35e;
}
p { margin: 22px 0 30px; font-size: clamp(16px, 1.6vw, 24px); font-weight: 600 }
main a {
  font-size: 17px;
  padding: 6px 22px;
  border: 3px solid;
  border-radius: 12px;
  background: #ff782f;
  box-shadow: 4px 5px var(--ink), inset 0 4px #ffa857;
}
main a:hover { background: #ff914f; transform: translateY(-2px) }
main a:active { transform: translateY(3px); box-shadow: 2px 2px }
@media (max-aspect-ratio: 3/2) {
  main {
    background-size: 100% 55%, auto 55%;
    background-position: bottom, 94% bottom;
    padding-bottom: max(185px, 30vh);
  }
}
@media (max-width: 520px) {
  header { padding-block: 7px; font-size: 14px }
  header a:first-child { font-size: 18px }
  header img { width: 40px; height: 40px }
  main { background-size: 100% 345px, auto 345px; padding-bottom: 215px }
  main a { font-size: 16px; padding: 4px 16px }
}
