html {
  font-size: 22px;
  transition: font-size 0.3s ease;
}

@media (max-width: 768px) {
  html {
    font-size: 18px;
  }
}

body {
  font-family: var(--body-font);
  color: #333;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

b {
  font-weight: var(--bold-weight);
}

a {
  color: var(--butter-dark);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--mint-light);
}

/* Headings use Sofia Sans Condensed */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--header-font);
  line-height: 1.1;
  margin: 0;
}

h1, .h1 {
  font-size: 3.5rem;
}

h2, .h2 {
  font-size: 2.75rem;
}

h3, .h3 {
  font-size: 2rem;
}

h4, .h4 {
  font-size: 1.5rem;
}

/* Lists */
ul {
  padding-left: 30px;
  margin-left: 0;
  list-style-position: outside;
  width: 100%;
}

li {
  padding-left: 0;
  margin-left: 0;
  text-align: left;
}

/* Buttons */
.button {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  flex-basis: auto;
  background: var(--butter-light);
  color: var(--denim-dark);
  text-decoration: none;
  font-family: var(--header-font);
  font-weight: var(--bold-weight);
  font-size: 1rem;
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;
  padding: 0.6rem 2rem;
  border-radius: 9999rem;
  position: relative;
  overflow: hidden;
  z-index: 1;
  transition: all 1s ease;
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0);
  border: 1px solid transparent;
  cursor: pointer;
}

button.button {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

.button::before {
  display: block;
  content: '';
  position: absolute;
  height: 100%;
  width: 200%;
  left: 0;
  top: 0;
  background: linear-gradient(to right, var(--butter-dark), var(--butter-light) 50%, var(--butter-dark), var(--butter-light));
  transition: left 1s ease;
  z-index: -1;
}

.button:hover {
  color: var(--denim-dark);
  box-shadow: 0 0 15px 0 rgba(0, 0, 0, 0.5);
  border-top-color: rgba(255, 255, 255, 0.5);
}

.button:hover::before {
  left: -150%;
}

/* Main content */
.main {
  min-height: 100vh;
}

/* Hero section */
.hero-left {
  flex-grow: 1.33;
  min-width: 320px;
}

.hero-title::after {
  content: '';
  display: block;
  width: 25%;
  height: 2px;
  background-color: var(--butter-dark);
  margin-top: 0.33em;
}

.tally-embed {
  position: relative;
  width: 100%;
  max-width: 400px;
}

.tally-embed iframe {
  display: block;
}

.tally-embed::after {
  content: '';
  display: block;
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background-color: var(--denim-dark);
  z-index: 1;
}

.hero-img {
  max-width: 100%;
  min-width: 320px;
  height: auto;
  margin-bottom: -1.5rem;
  margin-top: -1.5rem;
  z-index: 2;
}

.tilted-stripe-container {
  overflow: hidden;
  padding-top: 3vw;
  padding-bottom: 3vw;
  position: relative;
}

.tilted-stripe-upper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 50%;
  z-index: 0;
}

.tilted-stripe-lower {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50%;
  z-index: 0;
}

.tilted-stripe {
  transform: rotate(-3deg);
  margin-left: -2rem;
  margin-right: -2rem;
  z-index: 1;
}

.tilted-stripe-content {
  padding-left: 4rem;
  padding-right: 4rem;
}

.divider {
  display: flex;
  justify-content: center;
  background-color: var(--denim-dark);
}

.divider::before {
  content: '';
  display: block;
  width: 90%;
  max-width: 950px;
  height: 2px;
  background-color: var(--mint-dark);
}

.text-column {
  min-width: 320px;
}

.column-img {
  max-width: 100%;
  min-width: 320px;
}

.icon-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
}

.icon-block {
  border-radius: 0.66rem;
  border: 4px solid var(--denim-dark);
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
  aspect-ratio: 1;
  padding: 1.5rem 1rem;
  flex: 0 1 auto;
  width: 280px;
  min-width: 280px;
}

.splide {
  overflow: hidden;
  padding-top: 4rem;
  padding-bottom: 6rem;
}

.splide__track {
  overflow: visible;
}

.splide__slide {
  background-color: var(--white);
  color: var(--denim-dark);
  box-shadow: 0 3px 15px 0 rgba(0, 0, 0, 0.15);
  padding: 1.5rem;
  border-radius: 0.33rem;
}

@media (min-width: 768px) {
  .splide__slide {
    font-size: 80%;
    transform: scale(0.95);
    transition: transform 0.3s ease;
  }

  .splide__slide.is-active {
    transform: scale(1.05);
  }
}

.splide__arrows {
  position: absolute;
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  bottom: 0;
  left: 0;
  width: 100%;
  max-width: calc(var(--content-max-width) + 32px);
  padding: 0 16px;
}

@media (min-width: 768px) {
  .container {
    max-width: calc(var(--content-max-width) + 3rem);
    padding: 0 1.5rem;
  }
}

.splide__arrow {
  position: static;
  border: 2px solid var(--denim-dark);
  color: var(--denim-dark);
  background: transparent;
}


