:root {
  color-scheme: light;
  font-family: "Segoe UI", Arial, sans-serif;
  color: #332b28;
  background: #faf7f3;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background:
    radial-gradient(ellipse at 85% 0%, rgba(232, 179, 36, 0.12), transparent 34rem),
    #faf7f3;
}

.site-header {
  overflow: hidden;
  background: #7c1014;
  color: #fff;
}

.masthead-image {
  display: block;
  width: 100%;
  max-height: 380px;
  object-fit: cover;
  object-position: center 48%;
}

main,
.site-footer {
  width: min(100% - 40px, 980px);
  margin-inline: auto;
}

main {
  padding-block: 58px 64px;
}

.intro {
  max-width: 700px;
  margin: 0 auto 30px;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 15px;
  color: #956300;
  font-size: 12px;
  font-weight: 750;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow::before,
.eyebrow::after {
  width: 18px;
  height: 1px;
  background: #e8b324;
  content: "";
}

h1 {
  margin: 0;
  color: #741116;
  font-size: clamp(32px, 6vw, 48px);
  font-weight: 750;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.intro-copy {
  max-width: 590px;
  margin: 16px auto 0;
  color: #5d6b66;
  font-size: 16px;
  line-height: 1.7;
}

.form-card {
  overflow: hidden;
  border: 1px solid #eee5dc;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(91, 22, 19, 0.1);
}

.form-heading {
  padding: 21px 26px 18px;
  border-bottom: 1px solid #f1eae3;
}

.form-heading h2 {
  margin: 0;
  color: #741116;
  font-size: 17px;
  font-weight: 700;
}

.form-heading p {
  margin: 5px 0 0;
  color: #718079;
  font-size: 13px;
  line-height: 1.5;
}

.form-frame {
  display: block;
  width: 100%;
  height: 700px;
  border: 0;
  background: #fff;
}

.site-footer {
  padding: 0 0 30px;
  color: #77837e;
  font-size: 12px;
  text-align: center;
}

@media (max-width: 600px) {
  main,
  .site-footer {
    width: min(100% - 28px, 980px);
  }

  main {
    padding-block: 42px 44px;
  }

  .intro {
    margin-bottom: 24px;
  }

  .intro-copy {
    font-size: 15px;
  }

  .form-card {
    border-radius: 12px;
  }

  .form-heading {
    padding: 18px 18px 15px;
  }

  .masthead-image {
    max-height: none;
    object-fit: contain;
  }

  .form-frame {
    height: 740px;
  }
}
