:root {
  color: #24211d;
  background: #f4f0e7;
  font: 17px/1.55 Georgia, serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  position: relative;
  overflow-x: hidden;
}

header,
main,
footer {
  max-width: 70rem;
  margin: auto;
  padding: 1.25rem;
}

.beta-sash {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  width: 7.5rem;
  height: 7.5rem;
  overflow: hidden;
  pointer-events: none;
}

.beta-sash span {
  position: absolute;
  top: 1.35rem;
  right: -1.75rem;
  width: 10rem;
  padding: 0.28rem 0;
  color: #fffdf7;
  background: #b66b3d;
  font: 700 0.7rem/1 system-ui, sans-serif;
  letter-spacing: 0.12em;
  text-align: center;
  text-transform: uppercase;
  transform: rotate(45deg);
  box-shadow: 0 1px 2px rgb(36 33 29 / 20%);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-bottom: 3px double #45688a;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: #24211d;
  text-decoration: none;
}

.brand img {
  display: block;
  width: 4rem;
  height: 4rem;
}

.brand strong {
  font-size: 1.25rem;
  letter-spacing: 0.01em;
}

a {
  color: #33566f;
}

main {
  min-height: 70vh;
}

.hero {
  max-width: 48rem;
  padding: 8vh 0;
}

.kicker {
  color: #45688a;
  font: 700 0.75rem/1.2 system-ui;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1 {
  margin: 0.4rem 0 1rem;
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 500;
  line-height: 1.2;
}

.card {
  max-width: 34rem;
  padding: 2rem;
  border: 1px solid #cfc5b4;
  background: #fffdf7;
  box-shadow: 8px 8px 0 #d7c8ad;
}

.card h1 {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
  line-height: 1.25;
}

input,
button {
  width: 100%;
  margin: 0.5rem 0;
  padding: 0.8rem;
  font: inherit;
}

button {
  border: 0;
  background: #33566f;
  color: #fff;
  cursor: pointer;
}

.cf-turnstile {
  margin: 0.5rem 0;
}

.notice {
  padding: 0.75rem;
  background: #e4ddc9;
}

footer {
  border-top: 1px solid #bbb1a1;
  font-size: 0.82rem;
}

@media (max-width: 36rem) {

  header,
  main,
  footer {
    padding: 1rem;
  }

  .site-header {
    align-items: flex-start;
  }

  .brand {
    gap: 0.55rem;
  }

  .brand img {
    width: 3rem;
    height: 3rem;
  }

  .brand strong {
    font-size: 1rem;
  }

  .site-header nav {
    font-size: 0.9rem;
    text-align: right;
  }

  .hero {
    padding: 3rem 0;
  }

  .card {
    padding: 1.35rem;
    box-shadow: 5px 5px 0 #d7c8ad;
  }
}

@media (max-width: 23rem) {
  .cf-turnstile {
    margin-bottom: 0;
    transform: scale(0.92);
    transform-origin: left top;
  }
}

@media (max-width: 22rem) {
  .cf-turnstile {
    margin-bottom: -0.3rem;
    transform: scale(0.84);
  }
}

@media (max-width: 20rem) {
  .cf-turnstile {
    margin-bottom: -0.6rem;
    transform: scale(0.78);
  }
}