/*************/
/* CSS Reset */
/*************/

/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Prevent font size inflation */
html {
  -moz-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

/* Remove default margin in favour of better control in authored CSS */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin-block-end: 0;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role='list'],
ol[role='list'] {
  list-style: none;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  line-height: 1.5;
}

/* Set shorter line heights on headings and interactive elements */
h1,
h2,
h3,
h4,
button,
input,
label {
  line-height: 1.1;
}

/* Balance text wrapping on headings */
h1,
h2,
h3,
h4 {
  text-wrap: balance;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  text-decoration-skip-ink: auto;
  color: currentColor;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

/* Make sure textareas without a rows attribute are not tiny */
textarea:not([rows]) {
  min-height: 10em;
}

/* Anything that has been anchored to should have extra scroll margin */
:target {
  scroll-margin-block: 5ex;
}

/*************/
/* IO Styles */
/*************/

html {
  background-color: #ECECFA;
  color: white;
}

body {
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
  ;
  min-height: 100vh;
  overflow-x: hidden;
}

.triangle {
  border-left: 100rem solid transparent;
  border-right: 100rem solid transparent;
  border-top: 50rem solid #626398;
  height: 0;
  position: absolute;
  bottom: 0;
  left: -50rem;
  width: 0;
  z-index: -1;
}

.content {
  margin: 0 auto;
  max-width: 1080px;
  padding: 0 1rem;

  @media only screen and (min-width: 700px) {
    margin: 0 auto;
    max-width: 1080px;
    padding: 0 3rem;
  }
}

header {
  padding-top: 3rem;
  position: relative;
}

h1 {
  margin-bottom: 3rem;
  max-width: 84px;
}

h2 {
  font-size: 2.5rem;
  font-weight: 300;
  margin-bottom: 1.5rem;

  @media only screen and (min-width: 700px) {
    font-size: 3.625rem;
  }
}

h3 {
  font-size: 1.125rem;
  font-weight: 400;
  margin-bottom: 0.5rem;

  @media only screen and (min-width: 700px) {
    font-size: 1.5625rem;
  }
}

header p {
  font-size: 1.125rem;
  font-weight: 400;

  @media only screen and (min-width: 700px) {
    font-size: 1.5625rem;
  }
}

.rectangle {
  position: absolute;
  bottom: 8rem;
  width: 100vw;
  z-index: -1;
}

.device {
  margin: 3rem auto;
  max-width: 85%;
}

.features {
  color: #202025;
  list-style: none;
  margin-bottom: 3rem;
}

.features li {
  display: flex;
  font-size: 1rem;
  font-weight: 100;
  gap: 1rem;
  margin-bottom: 1.5rem;

  @media only screen and (min-width: 700px) {
    font-size: 1.25rem;
    gap: 1.5rem;
  }
}

.features li:last-of-type {
  margin-bottom: 0;
}

.features li i {
  color: #626398;
  flex-shrink: 0;
  margin-top: 1rem;
}

.apply {
  background-color: white;
  color: #626398;
  padding: 3rem 0;
}

.apply h2 {
  color: #626398;
  font-size: 1.75rem;

  @media only screen and (min-width: 700px) {
    font-size: 2.1875rem;
  }
}

.vito-list-form-field+.vito-list-form-field {
  margin-top: 1.5rem;
}

.vito-list-form-field .field_with_errors label {
  color: red;
  font-weight: bold;
}

form .vito-list-form-field .field_with_errors input {
  border-color: red;
}

form .vito-list-form-field input {
  border: 1px solid #626398;
  padding: 1rem;
  width: 100%;
}

form label {
  color: #201908;
  display: block;
  margin-bottom: 0.5rem;
}

form input[type=submit] {
  align-items: center;
  background-color: #626398;
  border: 1px solid #626398;
  border-radius: 0;
  color: white;
  cursor: pointer;
  display: inline-flex;
  gap: 0.25rem;
  justify-content: center;
  margin-top: 1.5rem;
  min-height: 2.125rem;
  padding: 1rem;
  text-decoration: none;
  width: 100%;
}

.rsvp-custom-fields--fields,
.rsvp-custom-fields--other {
  border: none;
}

.rsvp-custom-fields--fields {
  margin-top: 1.5rem;
}

.rsvp-custom-fields--fields textarea {
  border: 1px solid #626398;
  padding: 1rem;
  resize: vertical;
  width: 100%;
}

form input[type=submit]:hover,
form input[type=submit]:focus,
form input[type=submit]:active {
  background-color: #3e3f61;
  border-color: #3e3f61;
}

.vito-errors {
  border: none;
  margin-top: 1rem;
}

.vito-errors legend {
  font-weight: bold;
}

.featured {
  background-color: #626398;
  padding: 3rem 0;
}

.featured h2 {
  font-size: 1.75rem;

  @media only screen and (min-width: 700px) {
    font-size: 2.1875rem;
  }
}

.featured--customer {
  align-items: flex-start;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3rem;

  @media only screen and (min-width: 700px) {
    flex-direction: row;
  }
}

.featured--customer img {
  border-radius: 10rem;
  max-width: 10rem;
}

.case-study {
  background-color: #626398;
  padding-bottom: 3rem;
}

.case-study--content {
  color: #202025;
  padding: 3rem 0;
}

.case-study--content h3 {
  margin-bottom: 1rem;
}

.case-study--content p {
  margin-bottom: 1rem;
}

.case-study--content p+h3 {
  margin-top: 2rem;
}

.sign-in:active,
.sign-in:visited,
.sign-in {
  position: absolute;
  top: 2rem;
  right: 2rem;
  text-decoration: none;
  color: white;
  z-index: 999;
  padding: 0.25rem 1rem;
}

.sign-in:hover {
  color: #616594;
  background: white;
  border-radius: 0.25rem;
}