@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
  /* colours */
  --primary-100: #007AFF;
  --primary-100--alpha-15: #007AFF26;

  --purple-100: #AF52DE;
  --green-100: #34C759;
  --orange-100: #FF9500;
  
  --red-100: #FF2D55;
  --red-100--alpha-50: #FF2D5580;
  --red--warning: #FF3B30;
  --blue-100: #32ADE6;
  --blue-100--alpha-50: #32ADE680;
  
  --grey-900: #2B2B2B;
  --grey-800: #434343;
  --grey-700: #5B5B5B;
  --grey-600: #737373;
  --grey-500: #8F8F8F;
  --grey-400: #ABABAB;
  --grey-300: #C7C7C7;
  --grey-200: #E3E3E3;
  --grey-100: #F1F1F1;
  
  --grey-100--alpha-50: #F1F1F180;

  --black: #000000;
  --white: #FFF;
  
  /* elevations */
  --elevation-3-box-shadow: 0 8px 12px 6px rgba(0, 0, 0, 0.15), 0 4px 4px 0 rgba(0, 0, 0, 0.30);
  
  /* typography */
  font-family: Inter, sans-serif;
  font-feature-settings: 'liga' 1, 'calt' 1; /* fix for Chrome */

  --body-font-size: 13px;
  --body-line-height: 18px;
  --body-font-weight: 400;
  
  --dotted-pattern: radial-gradient(var(--grey-300) 0.5px, transparent 0);
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--grey-100);
  color: #333;
  padding-top: 65px;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 16px;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  padding: 16px 0;
  border-bottom: 1px solid var(--grey-300);
  box-shadow: var(--elevation-3-box-shadow);
  z-index: 10;
}

header .container {
  display: flex;
  justify-content: left;
  align-items: center;
}

.logo, .logo a {
  display: flex;
  align-items: center;
}

.logo img {
  height: 32px;
  margin-right: 24px;
}

.buttons {
  margin-left: auto;
}

.buttons a {
  text-decoration: none;
  color: var(--Grey-900);
  text-align: center;

  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 24px;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 500;
}

.buttons a + a {
  margin-left: 8px;
}

.buttons .signup {
  color: var(--white);
  background-color: var(--red-100);
}

main {
  position: relative;
}

main .container {
  position: relative;
  z-index: 1;
}

main::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: radial-gradient(var(--grey-300) 0.5px, transparent 0);
  background-size: 16px 16px;
  background-position: -7px -7px;
  z-index: 0;
}

.button--cta {
  text-decoration: none;
  display: flex;
  width: 400px;
  max-width: 80%;
  height: 56px;
  background-color: var(--red-100);
  color: var(--white);
  padding: 8px 0;
  justify-content: center;
  align-items: center;
  gap: 16px;
  border-radius: 56px;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px; 
}

.hero {
  text-align: center;
  padding: 120px 0;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  color: var(--Grey-900);
  text-align: center;
  font-style: normal;
}

.hero .highlight {
    color: var(--red-100);
}

.container h2 {
  color: var(--white);
  text-align: center;
  font-size: 36px;
  font-style: normal;
  font-weight: 700;
  line-height: 44px;
}


.container h1 + p,
.container h2 + p {
  color: var(--white);
  text-align: center;
  font-size: 20px;
  font-style: normal;
  font-weight: 400;
  line-height: 25px;
  max-width: 850px;
  margin: 24px auto 0;
}

.container h1 + p {
  color: var(--grey-900);
  margin: 36px auto 0;
}

.hero .try-me {
  margin: 48px auto 0;
}

.feature {
  padding: 160px 0 0;
  text-align: center;
}

.feature .feature__image {
  margin-top: 60px;
  position: relative;
}

.feature__image {
  position: relative;
}

.feature__image img {
  width: 100%;
  max-width: 60vw;
}

.feature__image video {
  max-width: 100vw;
  width: 100%;
}

.feature__image__fade {
  content: '';
  position: absolute;
  display: block;
}

.feature__image__fade--left {
  width: 35px;
  top: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, #f1f1f1 0%, rgba(241, 241, 241, 0) 90%);
}

.feature__image__fade--top {
  right: 0;
  top: 0;
  left: 0;
  height: 35px;
  background: linear-gradient(180deg, #f1f1f1 0%, rgba(241, 241, 241, 0) 90%);
}

.feature__image__fade--right {
  width: 35px;
  top: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(-90deg, #f1f1f1 0%, rgba(241, 241, 241, 0) 90%);
}

.feature__image__fade--bottom {
  right: 0;
  bottom: 0;
  left: 0;
  height: 35px;
  background: linear-gradient(0deg, #f1f1f1 0%, rgba(241, 241, 241, 0) 90%);
}

.feature-1 {
  background: linear-gradient(180deg, #f1f1f1 0%, #32ADE6 10%, #5856D6 90%);
}

.feature-1 .highlight {
  color: #FC0;
}

.feature-1 p {
  font-size: 18px;
  color: #555;
  max-width: 600px;
  margin: 0 auto 30px;
}

.feature-1-image {
  margin-top: 50px;
}

.feature-1-image img {
  max-width: 100%;
}

.feature-2 {
  background: linear-gradient(180deg, #5856D6 10%, #AF52DE 90%);
  text-align: center;
}

.feature-2 .highlight {
  color: #00C7BE;
}

.feature-3 {
  background: linear-gradient(180deg, #AF52DE 10%, #FF2D55 90%, rgba(255, 45, 85, 0.00) 100%);
  padding-bottom: 160px;
}

.feature-3 .highlight {
  color: #78F040;
}

footer {
  position: relative;
  z-index: 1;
  background-color: var(--grey-100);
  padding: 80px 0 40px;
}

.footer__credits {
  text-align: center;
  margin-top: 80px;
  color: var(--grey-500);
}

.footer__credits b {
  font-weight: 400;
  color: var(--grey-700);
}

footer .container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
}

footer .logo img {
  height: 64px;
}

footer .get-started {
  margin-top: 32px;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .hero,
  .feature {
    padding: 60px 0;
  }
  
  .feature__image__fade--right,
  .feature__image__fade--left {
    display: none;
  }
  
  .feature__image__fade--top,
  .feature__image__fade--bottom {
    height: 16px;
  }
  
  .feature__image {
    margin-left: -16px;
    margin-right: -16px;
  }
  
  .feature__image img {
    max-width: calc(100vw - 32px);
  }
  

  .hero h1 {
    font-size: 36px;
    line-height: 44px;
  }
  
  .hero .try-me,
  .hero .feature__image {
    margin-top: 36px;
  }

  .container h2 {
    font-size: 28px;
    line-height: 34px;
  }
  
  .container h1 + p,
  .container h2 + p {
    font-size: 18px;
    line-height: 21px;
    margin-top: 18px;
  }

  footer .container {
    flex-direction: column;
  }

  footer .get-started {
    margin-top: 20px;
  }
}

@media (max-width: 425px) {
  .login {
    display: none;
  }
  
  .hero h1 {
    font-size: 28px;
    line-height: 34px;
  }

  .container h2 {
    font-size: 20px;
    line-height: 25px;
  }

  .container h1 + p,
  .container h2 + p {
    font-size: 17px;
    line-height: 22px;
  }
}