/* Document
 * ========================================================================== */

/**
 * 1. Add border box sizing in all browsers (opinionated).
 * 2. Backgrounds do not repeat by default (opinionated).
 */

*,
::before,
::after {
  box-sizing: border-box; /* 1 */
  background-repeat: no-repeat; /* 2 */
}

/**
 * 1. Add text decoration inheritance in all browsers (opinionated).
 * 2. Add vertical alignment inheritance in all browsers (opinionated).
 */

::before,
::after {
  text-decoration: inherit; /* 1 */
  vertical-align: inherit; /* 2 */
}

/**
 * 1. Use the default cursor in all browsers (opinionated).
 * 2. Change the line height in all browsers (opinionated).
 * 3. Breaks words to prevent overflow in all browsers (opinionated).
 * 4. Use a 4-space tab width in all browsers (opinionated).
 * 5. Remove the grey highlight on links in iOS (opinionated).
 * 6. Prevent adjustments of font size after orientation changes in iOS.
 */

:where(:root) {
  cursor: default; /* 1 */
  line-height: 1.5; /* 2 */
  overflow-wrap: break-word; /* 3 */
  -moz-tab-size: 4; /* 4 */
  -o-tab-size: 4;
     tab-size: 4; /* 4 */
  -webkit-tap-highlight-color: transparent; /* 5 */
  -webkit-text-size-adjust: 100%; /* 6 */
}

/* Sections
 * ========================================================================== */

/**
 * Remove the margin in all browsers (opinionated).
 */

:where(body) {
  margin: 0;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Edge, Firefox, and Safari.
 */

:where(h1) {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
 * ========================================================================== */

/**
 * Remove the margin on nested lists in Chrome, Edge, and Safari.
 */

:where(dl, ol, ul) :where(dl, ol, ul) {
  margin: 0;
}

/**
 * 1. Correct the inheritance of border color in Firefox.
 * 2. Add the correct box sizing in Firefox.
 */

:where(hr) {
  color: inherit; /* 1 */
  height: 0; /* 2 */
}

/**
 * Remove the list style on navigation lists in all browsers (opinionated).
 */

:where(nav) :where(ol, ul) {
  list-style-type: none;
  padding: 0;
}

/**
 * Prevent VoiceOver from ignoring list semantics in Safari (opinionated).
 */

:where(nav li)::before {
  content: "\200B";
  float: left;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 * 3. Prevent overflow of the container in all browsers (opinionated).
 */

:where(pre) {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
  overflow: auto; /* 3 */
}

/* Text-level semantics
 * ========================================================================== */

/**
 * Add the correct text decoration in Safari.
 */

:where(abbr[title]) {
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */

:where(b, strong) {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */

:where(code, kbd, samp) {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */

:where(small) {
  font-size: 80%;
}

/* Embedded content
 * ========================================================================== */

/*
 * Change the alignment on media elements in all browsers (opinionated).
 */

:where(audio, canvas, iframe, img, svg, video) {
  vertical-align: middle;
}

/**
 * Remove the border on iframes in all browsers (opinionated).
 */

:where(iframe) {
  border-style: none;
}

/**
 * Change the fill color to match the text color in all browsers (opinionated).
 */

:where(svg:not([fill])) {
  fill: currentColor;
}

/* Tabular data
 * ========================================================================== */

/**
 * 1. Collapse border spacing in all browsers (opinionated).
 * 2. Correct table border color inheritance in all Chrome, Edge, and Safari.
 * 3. Remove text indentation from table contents in Chrome, Edge, and Safari.
 */

:where(table) {
  border-collapse: collapse; /* 1 */
  border-color: inherit; /* 2 */
  text-indent: 0; /* 3 */
}

/* Forms
 * ========================================================================== */

/**
 * Remove the margin on controls in Safari.
 */

:where(button, input, select) {
  margin: 0;
}

/**
 * Correct the inability to style buttons in iOS and Safari.
 */

:where(button, [type="button" i], [type="reset" i], [type="submit" i]) {
  -webkit-appearance: button;
}

/**
 * Change the inconsistent appearance in all browsers (opinionated).
 */

:where(fieldset) {
  border: 1px solid #a0a0a0;
}

/**
 * Add the correct vertical alignment in Chrome, Edge, and Firefox.
 */

:where(progress) {
  vertical-align: baseline;
}

/**
 * 1. Remove the margin in Firefox and Safari.
 * 3. Change the resize direction in all browsers (opinionated).
 */

:where(textarea) {
  margin: 0; /* 1 */
  resize: vertical; /* 3 */
}

/**
 * 1. Correct the odd appearance in Chrome, Edge, and Safari.
 * 2. Correct the outline style in Safari.
 */

:where([type="search" i]) {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Safari.
 */

::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}

/**
 * Correct the text style of placeholders in Chrome, Edge, and Safari.
 */

::-webkit-input-placeholder {
  color: inherit;
  opacity: 0.54;
}

/**
 * Remove the inner padding in Chrome, Edge, and Safari on macOS.
 */

::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style upload buttons in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */

::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
 * ========================================================================== */

/*
 * Add the correct styles in Safari.
 */

:where(dialog) {
  background-color: white;
  border: solid;
  color: black;
  height: -moz-fit-content;
  height: fit-content;
  left: 0;
  margin: auto;
  padding: 1em;
  position: absolute;
  right: 0;
  width: -moz-fit-content;
  width: fit-content;
}

:where(dialog:not([open])) {
  display: none;
}

/*
 * Add the correct display in Safari.
 */

:where(details > summary:first-of-type) {
  display: list-item;
}

/* Accessibility
 * ========================================================================== */

/**
 * Change the cursor on busy elements in all browsers (opinionated).
 */

:where([aria-busy="true" i]) {
  cursor: progress;
}

/*
 * Change the cursor on control elements in all browsers (opinionated).
 */

:where([aria-controls]) {
  cursor: pointer;
}

/*
 * Change the cursor on disabled, not-editable, or otherwise
 * inoperable elements in all browsers (opinionated).
 */

:where([aria-disabled="true" i], [disabled]) {
  cursor: not-allowed;
}

/*
 * Change the display on visually hidden accessible elements
 * in all browsers (opinionated).
 */

:where([aria-hidden="false" i][hidden]) {
  display: initial;
}

:where([aria-hidden="false" i][hidden]:not(:focus)) {
  clip: rect(0, 0, 0, 0);
  position: absolute;
}

/* Components */

/* CSS File for Animations */

@keyframes floating {
  0% {
    transform: translateY(0);
    text-shadow: 0px 0px 0px rgba(0, 0, 0, 0);
  }

  50% {
    transform: translateY(-5px);
    text-shadow: 5px 5px 2px rgba(0, 0, 0, 0.08);
  }

  100% {
    transform: translateY(0);
    text-shadow: 0px 0px 0px rgba(0, 0, 0, 0.05);
  }
}

@keyframes slide-up-slowly {
  0% {
    transform: translateY(25%);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fade-in-scale {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }
  10% {
    opacity: 1;
    transform: scale(1.1);
  }
  90% {
    opacity: 1;
    transform: scale(1);
  }
  100% {
    opacity: 0;
    transform: scale(0.9);
  }
}

/* Buttons animations */

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

@keyframes fade-in {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* Pulse in animation for toast notifications */

@keyframes pulse-in {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframe pulse-out {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.5;
  }
  100% {
    transform: scale(0.9);
    opacity: 0;
  }
}

@keyframes slide-in {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slide-out {
  0% {
    transform: translateX(0);
    opacity: 1;
  }
  100% {
    transform: translateX(100%);
    opacity: 0;
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  scroll-behavior: smooth;

  /* Website colors */
  --primary-color: #2f2f2f;
  --primary-color-darker: color-mix(
    in srgb,
    var(--primary-color) 85%,
    black 15%
  );
  --primary-color-darkest: color-mix(
    in srgb,
    var(--primary-color) 70%,
    black 30%
  );
  --primary-color-lighter: color-mix(
    in srgb,
    var(--primary-color) 85%,
    white 15%
  );
  --primary-color-lightest: color-mix(
    in srgb,
    var(--primary-color) 70%,
    white 30%
  );

  --secondary-color: #ffffff;
  --secondary-color-darker: color-mix(
    in srgb,
    var(--secondary-color) 85%,
    black 15%
  );
  --secondary-color-darkest: color-mix(
    in srgb,
    var(--secondary-color) 70%,
    black 30%
  );
  --secondary-color-lighter: color-mix(
    in srgb,
    var(--secondary-color) 85%,
    white 15%
  );
  --secondary-color-lightest: color-mix(
    in srgb,
    var(--secondary-color) 70%,
    white 30%
  );

  --tertiary-color: #b4e3c1;
  --tertiary-color-darker: color-mix(
    in srgb,
    var(--tertiary-color) 85%,
    black 15%
  );
  --tertiary-color-darkest: color-mix(
    in srgb,
    var(--tertiary-color) 70%,
    black 30%
  );
  --tertiary-color-lighter: color-mix(
    in srgb,
    var(--tertiary-color) 85%,
    white 15%
  );
  --tertiary-color-lightest: color-mix(
    in srgb,
    var(--tertiary-color) 70%,
    white 30%
  );

  --accent-color: #f5632f;
  --accent-color-darker: color-mix(in srgb, var(--accent-color) 85%, black 15%);
  --accent-color-darkest: color-mix(
    in srgb,
    var(--accent-color) 70%,
    black 30%
  );
  --accent-color-lighter: color-mix(
    in srgb,
    var(--accent-color) 85%,
    white 15%
  );
  --accent-color-lightest: color-mix(
    in srgb,
    var(--accent-color) 70%,
    white 30%
  );

  --border-color: #141414;
  --input-bg-color: #ffffff;

  --gray-color: #e5e7eb;
  --gray-color-darker: #d1d5db;
  --gray-color-darkest: #374151;

  --gray-1: hsl(0, 0%, 80%);
  --gray-2: hsl(0, 0%, 60%);
  --gray-3: hsl(0, 0%, 40%);
  --gray-4: hsl(0, 0%, 20%);

  --background-color: #ffffff;
  --dashboard-bg: #fdf9f3;
  --dashboard-highlight: #f7f3ee;
  --dashboard-bg-muted: #91887b;
  --dashboard-bg-dark: hsl(from var(--dashboard-bg) h s calc(l - 5));

  --success-color: #10b981;
  --success-color-bg: #ccffcc;
  --warning-color: #ffcc00;
  --warning-color-bg: #ffffcc;
  --info-color: #0000ff;
  --info-color-bg: #ccccff;
  --danger-color: #ef4444;
  --danger-color-bg: #ffcccc;
  --danger-color-dark: #d11d1d;

  --muted-color: #c0c0c0;
  --muted-bg: #f5f5f5;

  /* Media queries */
  --mobile: 640px;
  --tablet: 768px;
  --laptop: 1024px;
  --desktop: 1280px;

  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-small: 0.5rem;
  --spacing-medium: 1rem;
  --spacing-large: 1.5rem;
  --spacing-xlarge: 3rem;

  /* Roundness */
  --rounded-small: 0.25rem;
  --rounded-medium: 0.5rem;
  --rounded-large: 1rem;
  --rounded-xlarge: 1.5rem;
  --rounded-full: 50%;

  /* Shadows */
  --shadow-light: 0 0 10px rgba(0, 0, 0, 0.1);
  --button-shadow: 0 0.2rem 0.1rem rgba(0, 0, 0, 0.15);

  /* Form fields */
  --border-input: 1px solid var(--primary-color);
  --border-input-focus: 2px solid var(--accent-color);
  --border-input-error: 2px solid var(--danger-color);

  /* Typography */
  --font-regular: "DM Sans Medium", sans-serif;
  --font-bold: "DM Sans Bold", sans-serif;
  --font-semibold: "DM Sans SemiBold", sans-serif;
  --font-medium: "DM Sans Medium", sans-serif;
  --font-light: "DM Sans Light", sans-serif;

  --heading: normal bold 2.5rem/3rem var(--font-bold);
  --sub-heading: normal bold 1.15rem/1.35rem var(--font-bold);
  --h1: normal bold 2.5rem/3rem var(--font-bold);
  --h2: normal bold 2rem/2.5rem var(--font-semibold);
  --h3: normal bold 1.75rem/2.25rem var(--font-semibold);
  --h4: normal 1.5rem/2rem var(--font-regular);
  --p: normal 1.125rem/1.75rem var(--font-regular);
  --small: normal 0.8rem/1rem var(--font-regular);

  --shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  --links: underline var(--color-primary) 2px;
  --links-hover: var(--color-tertiary);

  --transition: 75ms ease-in-out;
}

@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  /* font-weight: 400; */
  font-display: swap;
  src: url(/assets/DMSans-Regular-e67a8bfd2cd4eca6c825ab0d32d771040bcea06fa7232e647fc1240253a4a150.ttf) format('truetype');
}

@font-face {
  font-family: 'DM Sans Bold';
  font-style: normal;
  /* font-weight: 400; */
  font-display: swap;
  src: url(/assets/DMSans-Bold-a088ab90bd65f2b017637017e417e148219c92a7eff6e04b167d7d4072856307.ttf) format('truetype');
}

@font-face {
  font-family: 'DM Sans SemiBold';
  font-style: normal;
  /* font-weight: 400; */
  font-display: swap;
  src: url(/assets/DMSans-SemiBold-e0a50be51b0ec7cacda89716fd358efd19753586e9754c4cef94de5d8eaa9612.ttf) format('truetype');
}

@font-face {
  font-family: 'DM Sans Medium';
  font-style: normal;
  /* font-weight: 400; */
  font-display: swap;
  src: url(/assets/DMSans-Medium-b08496e4a30538cff37f21f9829c9759af2371f9f3519c562d1e875baee406f7.ttf) format('truetype');
}

@font-face {
  font-family: 'DM Sans Light';
  font-style: normal;
  /* font-weight: 400; */
  font-display: swap;
  src: url(/assets/DMSans-Light-65af29e60436d1928ce8b26b0f41294e109226d9a135e807e17de4289d075558.ttf) format('truetype');
}

/* Adjustments for tablets and smaller screens */

@media (max-width: 1024px) {
  :root {
    --heading: normal bold 2.25rem/2.75rem var(--font-bold);
    --h1: normal bold 2.25rem/2.75rem var(--font-bold);
    --h2: normal bold 1.875rem/2.375rem var(--font-semibold);
    --h3: normal bold 1.5rem/2rem var(--font-semibold);
    --h4: normal 1.375rem/1.875rem var(--font-regular);
    --p: normal 1.05rem/1.5rem var(--font-regular);
    --small: normal 0.875rem/1.25rem var(--font-regular);
    --tiny: normal 0.75rem/1rem var(--font-regular);
  }
}

/* Adjustments for mobile phones */

@media (max-width: 768px) {
  :root {
    --heading: normal bold 2rem/2.5rem var(--font-bold);
    --h1: normal bold 2rem/2.5rem var(--font-bold);
    --h2: normal bold 1.75rem/2.25rem var(--font-semibold);
    --h3: normal bold 1.375rem/1.75rem var(--font-semibold);
    --h4: normal 1.25rem/1.75rem var(--font-regular);
    --p: normal 1.05rem/1.375rem var(--font-regular);
    --small: normal 0.8125rem/1.125rem var(--font-regular);
    --tiny: normal 0.6875rem/1rem var(--font-regular);
  }
}

/* Adjustments for very small mobile phones */

@media (max-width: 480px) {
  :root {
    --heading: normal bold 1.75rem/2.25rem var(--font-bold);
    --h1: normal bold 1.75rem/2.25rem var(--font-bold);
    --h2: normal bold 1.5rem/2rem var(--font-semibold);
    --h3: normal bold 1.25rem/1.625rem var(--font-semibold);
    --h4: normal 1rem/1.5rem var(--font-regular);
    --p: normal 1.05rem/1.25rem var(--font-regular);
    --small: normal 0.75rem/1.125rem var(--font-regular);
    --tiny: normal 0.625rem/1rem var(--font-regular);
  }
}

.waitlist__container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  font-family: "DM Sans Regular", sans-serif;
  background-color: var(--dashboard-bg);
  color: var(--color-primary);
  gap: 0.5rem;
  min-height: 100vh;
  padding: 0 2rem;

  transition: all 0.3s ease-in-out;
}

.waitlist__container turbo-frame {
    width: 100%;
  }

.waitlist__container .inline-logo {
    display: inline-flex;
    flex-direction: row;
    background-color: yellow;
  }

.waitlist__container .inline-logo img {
      flex: 1 1;
      height: 100%;
      width: auto;
      margin-right: 0.5rem;
    }

.waitlist__container .error_explanation {
    color: var(--danger-color);
    font-size: 1rem;
    margin-top: 8px;
  }

@media (min-width: 768px) {

.waitlist__container {
    padding: 0 4rem
}
  }

.waitlist__container .success {
    animation: slide-up-slowly 250ms ease-in-out;
    font-family: "DM Sans SemiBold", sans-serif;
  }

.waitlist__container .accent {
    color: var(--accent-color);
  }

.waitlist__container .heading {
    font-size: 2.25rem;
    font-family: "DM Sans Regular", sans-serif;
    line-height: 1.2;
    margin: 0;
    padding: 0;
    max-width: 900px;
  }

@media (min-width: 768px) {

.waitlist__container .heading {
      font-size: 3.45rem
  }
    }

.waitlist__container p {
    font-size: 1rem;
    line-height: 1.2;
    max-width: 100%;
  }

@media (min-width: 768px) {

.waitlist__container p {
      font-size: 1.5rem;
      max-width: 630px
  }
    }

.waitlist__container .waitlist__form {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    width: 100%;
    margin-top: 0px;
  }

.waitlist__container .waitlist__form form {
      width: 100%;
      max-width: 550px;
    }

@media (min-width: 768px) {

.waitlist__container .waitlist__form {
      flex-direction: row;
      margin-top: 50px
  }
    }

.waitlist__container .waitlist__form .form-fields {
      display: flex;
      flex-direction: column;
      width: 100%;
      gap: var(--spacing-small);
      justify-content: space-between;
    }

.waitlist__container .waitlist__form .form-fields > * {
        height: 50px;
      }

.waitlist__container .waitlist__form .form-fields .field_with_errors > input {
        height: 100%;
        border: none;
      }

.waitlist__container .waitlist__form .form-fields .error_explanation {
        background-color: var(--danger-color-bg);
        color: var(--danger-color);
        padding: 0.5rem;
        font-size: 0.9rem;
        margin-top: 0;
        border-radius: var(--rounded-medium);
      }

@media (min-width: 768px) {

.waitlist__container .waitlist__form .form-fields {
        flex-direction: row;
        border: 2px solid var(--primary-color);
        border-radius: var(--rounded-medium);
        background-color: var(--secondary-color);
        overflow: hidden;
        min-width: 100%;
        max-width: 550px
    }
      }

.waitlist__container .waitlist__form .form-fields input:not([type="submit"]) {
        background-color: var(--secondary-color);
        padding: 0 var(--spacing-small);
        font-size: 1.125rem;
        width: 100%;
        border: none;
        outline: none;
        border: 2px solid var(--primary-color);
        height: 50px;
        border-radius: var(--rounded-medium);
      }

@media (min-width: 768px) {

.waitlist__container .waitlist__form .form-fields input:not([type="submit"]) {
          flex-direction: row;
          border-radius: var(--rounded-medium);
          background-color: var(--secondary-color);
          overflow: hidden;
          min-width: 300px;
          max-width: 550px
      }
        }

@media (hover: hover) {

.waitlist__container .waitlist__form .form-fields input:not([type="submit"]) {
          border: none;
          outline: none
      }
        }

@media (focus: focus-visible) {

.waitlist__container .waitlist__form .form-fields input:not([type="submit"]) {
          border: none;
          outline: none
      }
        }

.waitlist__container .waitlist__form .form-fields input[type="submit"] {
        padding: 0 var(--spacing-medium);
        background-color: var(--primary-color);
        color: var(--secondary-color);
        border: none;
        font-size: 1.125rem;
        letter-spacing: 1px;
        padding-top: 4px;
        border-radius: var(--rounded-medium);

        cursor: pointer;
      }

@media (hover: hover) {
          .waitlist__container .waitlist__form .form-fields input[type="submit"]:hover {
            transition: all 25ms ease-in-out;
            background-color: var(--primary-color-darker);
          }
        }

@media (min-width: 768px) {

.waitlist__container .waitlist__form .form-fields input[type="submit"] {
          margin-bottom: 0;
          border-radius: 0
      }
        }
