:root {
  --dark: #213052;
  --blue: #2570C7;
  --sand: #F9F3F3;
  --orange: #FFA10B;
  --pink: #FDCFF3;
  --red: #FF4661;
  --teal: #C6F2DD;
  --text-sm: 0.875rem;
  --text-base: 1.125rem;
  --text-md: 1.5rem;
  --text-lg: 1.875rem;
  --text-xl: 2.5rem;
  --gap-base: 1rem;
  --gap-lg: 1.5rem;
}

blockquote,
dl,
dd,
h1,
h2,
h3,
h4,
h5,
h6,
hr,
figure,
p,
pre {
  margin: 0;
}

body {
  font-family: "M PLUS Rounded 1c", sans-serif;
  font-weight: 400;
  font-style: normal;
  background-color: var(--sand);
  color: var(--dark);
  font-size: var(--text-base);
  text-wrap: pretty;
  line-height: 1.2;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  margin: 0;
}

.bg-primary {
  background-color: var(--dark);
}

.text-white {
  color: white;
}

.text-secondary {
  color: var(--orange);
}

.text-xl {
  font-size: var(--text-lg);
  @media (min-width: 768px) {
    font-size: var(--text-xl);
  }
}

.text-lg {
  font-size: var(--text-md);
  @media (min-width: 768px) {
    font-size: var(--text-lg);
  }
}

.text-link {
  cursor: pointer;
  font-weight: 700;
  border-bottom: 1px transparent solid;
  padding-bottom: 0.25rem;
  color: var(--dark);
  text-decoration: none;
}

.text-link:hover {
  border-bottom: 1px var(--dark) solid;
}

.note {
  font-size: var(--text-sm);
}

.font-bold {
  font-weight: 700;
}

.text-orange {
  color: var(--orange);
}

.mt-4 {
  margin-top: 1rem;
}

.-mt-8 {
  margin-top: -2rem;
}

.w-screen {
  width: 100vw;
}

.relative {
  position: relative;
}

.hidden-mobile  {
  display: block;
  @media (max-width: 768px) {
    display: none;
  }
}

.hidden-desktop {
  display: block;
  @media (min-width: 768px) {
    display: none;
  }
}

.logo {
  width: 100%;
  margin: 0 auto;
}

.main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-lg);
  padding: 3rem 0;
  width: 100vw;
}

.container {
  margin: 0 auto;
  max-width: 40rem;
  padding: 2rem 1rem;
  @media (min-width: 768px) {
    padding: 3rem 1rem;
  }
}

.text-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--gap-base);
  text-align: center;
  padding: 0 1rem;
}

.grid-cols-2 {
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  max-width: 1024px;
  text-align: center;
  @media (min-width: 768px) {
    grid-template-columns: repeat(2, 1fr);
    text-align: left;
  }
}

.bg-primary-wrapper {
  background-color: var(--dark);
  color: white;
  width: 100vw;
}
.bg-secondary-wrapper {
  background-color: var(--orange);
  width: 100vw;
  position: relative;
}

.flex-col-2 {
  display: flex;
  flex-direction: column;
  gap: var(--gap-base);
}

.flex-col-2-center {
  display: flex;
  flex-direction: column;
  gap: var(--gap-base);
  align-items: center;
}
.flex-2-center {
  display: flex;
  gap: var(--gap-base);
  align-items: center;
  justify-content: center;
}

.text-input {
  width: 15rem;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--dark);
  color: var(--dark);
  border-radius: 0.25rem;
  background: var(--sand);
  @media (min-width: 768px) {
    width: 20rem;
  }
}

.text-input:focus {
  background: white;
  outline: none;
  border: 1.5px solid var(--dark);
}

.text-input::placeholder {
  color: var(--dark);
  opacity: 0.8;
}

.primary-button {
  cursor: pointer;
  padding: 0.5rem 1.5rem;
  background-color: var(--dark);
  color: white;
  font-weight: 700;
  border: 1.5px solid var(--dark);
  border-radius: 1000px;
}

.primary-button:hover {
  border: 1.5px solid var(--orange);
  color: var(--orange);
  transition: all 0.3s;
}

.background-image-container {
  position: absolute;
  opacity: 0.8;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bottom-right {
  position: absolute;
  bottom: 0;
  right: 0;
}

.bottom-left {
  position: absolute;
  bottom: 0;
  left: 0;
}

.background-image {
  width: 120%;
  height: 100%;
}

.why-item {
  display: flex;
  flex-direction: column;
  gap: var(--gap-base);
  align-items: center;
  @media (min-width: 768px) {
    align-items: start;
  }
}

/* Mailchimp overrides */
#mc_embed_signup div.mce_inline_error {
  color: #c2410c !important;
  margin: 0 0 1em 0 !important;
  padding: 5px 10px !important;
  font-size: 0.875rem !important;
  font-weight: bold !important;
  background-color: transparent !important;
}

#mc_embed_signup input.mce_inline_error {
  border-color: #c2410c !important;
}
