:root {
  --bg: #0f1621;
  --page-text: #d8e3f0;
  --card-bg: #111e2d;
  --accent-green: #11b997;
  --icon-green: #11b997;
  --title-color: #d8e3f0;
  --subtitle-color: #11b997;
}

@media (prefers-color-scheme: light) {
  :root {
    --bg: #ffffff;
    --page-text: #213645;
    --card-bg: #f6f8f9;
    --accent-green: #009d7d;
    --icon-green: #009d7d;
    --title-color: #142532;
    --subtitle-color: #009d7d;
  }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--page-text);
  height: 100vh;
  max-height: 100vh;
  width: 100vw;
  max-width: 100vw;
  font-family:
    "Open Sans",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
}

main {
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
}

.content-wrapper {
  height: 100%;
  max-height: 700px;
  width: 100%;
  max-width: 100vw;
  padding: 80px;
  padding-top: 120px;
  display: flex;
  justify-content: center;
}

.content {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 80px;
  max-width: 1440px;
}

.heading-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
}

.heading-title {
  color: var(--title-color);
  font-family:
    "Grift",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: 4rem;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  margin: 0;
}

.heading-eyebrow,
.heading-eyebrow-mob {
  color: var(--accent-green);
  font-family:
    "Poppins",
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
  font-size: 1rem;
  font-style: normal;
  font-weight: 800;
  line-height: normal;
  text-decoration-line: underline;
  text-decoration-style: solid;
  text-decoration-skip-ink: auto;
  text-decoration-thickness: 2.5px;
  text-underline-offset: 25%;
  text-underline-position: from-font;
  text-transform: uppercase;
  margin: 0;
  margin-left: 2px;
}

.heading-eyebrow-mob {
  display: none;
}

.main-section {
  display: flex;
  height: 350px;
  padding: 40px;
  align-items: flex-start;
  flex-shrink: 0;
  align-self: stretch;
  position: relative;
  border-radius: 16px;
  background: var(--card-bg);
  box-shadow:
    -1px 0 4px 0 rgba(0, 0, 0, 0.25),
    1px 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.main-text-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
  z-index: 1;
  color: var(--page-text);
  font-family: "Open Sans";
  font-size: 1rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.main-text {
  margin: 0;
  max-width: 360px;
}

.main-section .green-linear {
  position: absolute;
  left: 0;
  top: 40px;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.green-wrap {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.main-phone-container {
  bottom: 0;
  right: 0;
  position: absolute;
  z-index: 2;
}

.main-phone-container img {
  height: 640px;
  z-index: 100;
}

.app-content {
  display: flex;
  align-items: center;
  max-width: 300px;
  gap: 16px;
  height: fit-content;
}

.app-link-text {
  font-size: 0.875rem;
  max-width: 140px;
  margin: 0;
}

.icon-container {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.phone-cta-row {
  display: flex;
  gap: 32px;
  align-items: center;
  justify-content: flex-start;
}

#desktop-phone {
  display: block;
}

#mobile-phone {
  display: none;
}

.app-content .icon {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: square;
  height: 40px;
  width: 40px;
  border-radius: 50%;
  padding: 8px;
  box-sizing: border-box;
  color: var(--icon-green);
  border: 1px solid var(--icon-green);
  transition: background 0.2s ease-out;
}

.app-content .icon:focus {
  outline: 3px solid var(--accent-green);
  outline-offset: 3px;
}

.app-content .icon:hover {
  background: var(--accent-green);
  color: var(--bg);
}

.app-content .icon:hover i {
  color: var(--bg);
}

.app-content .icon i {
  display: inline-block;
  color: var(--icon-green);
  line-height: 1;
  transition: color 0.2s ease-out;
}

.app-content .icon:focus-visible {
  outline: 3px solid var(--title-color);
  outline-offset: 3px;
  border-radius: 50%;
}

.fa-apple {
  font-size: 23px !important;
  margin: 0 1px 1px 0;
}

.fa-google-play {
  font-size: 18px !important;
  margin-left: 3px;
}

@media (max-width: 1439px) {
  .main-phone-container img {
    height: auto;
    width: 59vw;
  }
}

@media (max-width: 1024px) {
  .main-phone-container {
    bottom: 40%;
    transform: translateY(40%);
  }
}

@media (max-width: 768px) {
  .heading-title {
    font-size: 3.5rem;
  }

  .heading-eyebrow {
    font-size: 0.875rem;
  }

  .content-wrapper {
    padding: 40px;
    padding-top: 80px;
    max-height: 600px;
  }

  .main-phone-container img {
    height: auto;
    width: 50vw;
  }
}

@media (max-width: 640px) {
  .heading-title {
    font-size: 2.5rem;
  }

  .heading-eyebrow {
    display: none;
  }

  .heading-eyebrow-mob {
    display: block;
    font-size: 1rem;
  }

  .content-wrapper {
    padding: 16px;
    padding-top: 120px;
    max-height: 600px;
  }

  .main-phone-container * {
    display: none;
  }

  .app-content {
  }

  .main-section {
    padding: 24px;
  }
}

@media (max-width: 480px) {
  .heading-title {
    font-size: 2rem;
  }

  main {
    align-items: flex-start;
  }

  .content-wrapper {
    height: fit-content;
    max-height: none;
  }

  .main-section {
    padding: 24px;
    height: auto;
  }

  .main-text-container {
    gap: 16px;
  }
}
