:root {
  color-scheme: light;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f3ea;
  color: #1f2933;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
}

body {
  display: grid;
  min-height: 100vh;
  padding: clamp(1rem, 4vw, 3rem);
  place-items: center;
}

.pilot {
  width: min(100%, 44rem);
  padding: clamp(1.5rem, 6vw, 4rem);
  border: 1px solid #e3d7c2;
  border-radius: 28px;
  background: #fffaf0;
  box-shadow: 0 24px 70px rgb(97 77 47 / 14%);
  text-align: center;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: #9a5a00;
  font-size: clamp(0.85rem, 2vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2.75rem, 13vw, 6rem);
  line-height: 1;
  overflow-wrap: anywhere;
}

.intro {
  max-width: 30rem;
  margin: 1.25rem auto 0;
  color: #4b5563;
  font-size: clamp(1rem, 3vw, 1.25rem);
  line-height: 1.6;
}

.check-button {
  width: min(100%, 18rem);
  min-height: 3.5rem;
  margin-top: 2rem;
  border: 0;
  border-radius: 999px;
  background: #1f2933;
  color: #ffffff;
  cursor: pointer;
  font: inherit;
  font-size: 1.125rem;
  font-weight: 800;
  touch-action: manipulation;
}

.check-button:focus-visible {
  outline: 4px solid #f4b740;
  outline-offset: 4px;
}

.result,
.noscript-message {
  margin: 1.5rem 0 0;
  padding: 1rem;
  border-radius: 18px;
  background: #e8f7ec;
  color: #176336;
  font-size: clamp(1rem, 3vw, 1.2rem);
  font-weight: 800;
}

@media (orientation: landscape) and (max-height: 520px) {
  body {
    align-items: start;
  }

  .pilot {
    padding-block: 1.25rem;
  }
}
