@font-face {
  font-family: 'Inter Regular';
  src: url('../fonts/Inter/Inter-Regular.woff2') format('woff2'),
       url('../fonts/Inter/Inter-Regular.woff') format('woff');
}

@font-face {
  font-family: 'Inter Medium';
  src: url('../fonts/Inter/Inter-Medium.woff2') format('woff2'),
       url('../fonts/Inter/Inter-Medium.woff') format('woff');
}

@font-face {
  font-family: 'Inter Bold';
  src: url('../fonts/Inter/Inter-Bold.woff2') format('woff2'),
       url('../fonts/Inter/Inter-Bold.woff') format('woff');
}

@font-face {
  font-family: 'Inter ExtraBold';
  src: url('../fonts/Inter/Inter-ExtraBold.woff2') format('woff2'),
       url('../fonts/Inter/Inter-ExtraBold.woff') format('woff');
}

html, body {
  padding: 0;
  margin: 0;
  width: 100%;
}

body {
  background: white;
  font-family: 'Inter Medium', sans-serif;
  font-weight: normal;
  font-style: normal;
  font-size: 100%;
  color: #333;
  -webkit-text-size-adjust: none;
  -ms-text-size-adjust: none;
  -webkit-overflow-scrolling: touch;
  box-sizing: border-box;
  padding-left: 5%;
  padding-right: 5%;
}

nav,
header,
main {
  width: 100%;
}

main {
  margin-bottom: 80px;
}

.nav-container {
  margin: 0 auto;
  max-width: 1440px;
  margin-top: calc(2% + 15px);
  margin-bottom: 90px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

.hero-container {
  margin: 0 auto;
  max-width: 1440px;
  display: flex;
  justify-content: center;
}

.container {
  margin: 0 auto;
  max-width: 1140px;
  margin-top: 2%;
  text-align: center;
}

.column-container {
  display: grid;
  grid-template-columns: 50% 50%;
  grid-gap: 2%;
  margin: 0 auto;
  margin-top: 200px;
  margin-bottom: 200px;
}

.container + .column-container {
  margin-top: 0;
  margin-bottom: 80px;
}

.column-container + .container {
  margin-top: 0;
}

.container-small {
  max-width: 790px;
}

.container-medium {
  max-width: 980px;
}

.column {
  display: flex;
  flex-direction: column;
}

.column h2 {
  max-width: 410px;
  margin-top: 20px;
}

.pine-icon {
  width: 73px;
  height: 73px;
  background-image: url(../img/icons/pine-73@2x.png);
  background-repeat: no-repeat;
  background-size: contain;
}

@media (color-gamut: p3) {
  .pine-icon {
    background-image: url(../img/icons/pine-73@2x-p3.png);
  }
}

.pine-icon-round {
  width: 57px;
  height: 57px;
  background-image: url(../img/icons/pine-round@2x.png);
  background-repeat: no-repeat;
  background-size: contain;
}

@media (color-gamut: p3) {
  .pine-icon-round {
    background-image: url(../img/icons/pine-round@2x-p3.png);
  }
}

.logo-link {
  text-decoration: none;
  transition: transform 0.2s ease-out;
}

.logo-link:hover {
  text-decoration: none;
  transform: scale(1.05);
}

.hero {
  max-width: 1302px;
  max-height: 860px;
  background-image: url(../img/pine-screenshots@2x.png);
  background-repeat: no-repeat;
  background-size: contain;
  flex-shrink: 0;
  width: 100%;
  padding-top: 66.05%;
}

@media (color-gamut: p3) {
  .hero {
    background-image: url(../img/pine-screenshots@2x-p3.png);
  }
}

.menu {
  list-style: none;
  padding: 0;
  display: flex;
}

.menu-link {
  color: #005eff;
  font-family: -apple-system, BlinkMacSystemFont, 'Roboto';
  font-size: 19px;
  margin-right: 50px;
  text-decoration: none;
  display: flex;
  align-items: center;
  white-space: nowrap;
  transition: transform 0.2s ease-out;
}

.menu-link:hover {
  text-decoration: none;
  transform: scale(1.05);
}

.menu-link:active {
  opacity: 0.5;
}

.mobile-menu-wrapper {
  display: none;
}

.mobile-menu-modal {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: white;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
}

.mobile-menu.menu {
  display: block;
}

.mobile-menu.menu li:last-child {
  text-align: center;
  margin-top: 60px;
  transform: scale(1.2);
  display: block;
}

.mobile-menu .menu-link {
  margin: 0;
  margin-bottom: 30px;
  font-size: 26px;
}

.btn-install {
  background: #005eff;
  color: white;
  font-family: -apple-system, BlinkMacSystemFont, 'Roboto';
  font-weight: 600;
  text-decoration: none;
  text-transform: uppercase;
  padding: 8px 19px;
  border-radius: 50px;
  border: 2px solid transparent;
  font-size: 16px;
  position: relative;
  top: 1px;
  white-space: nowrap;
  transition: background 0.1s ease-out, color 0.1s ease-out;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.btn-install:hover,
.btn-install:active {
  background: rgba(0, 94, 255, 0.75);
}

.btn-install:active {
  background: rgba(0, 94, 255, 0.75);
}

.btn-install:focus {
  outline: none;
  box-shadow: 0 0 0 0.15em rgba(0, 122, 255, 0.4);
}

.btn-install .short {
  display: none;
}

.install-banner,
.install-banner:visited {
  background: #F6F6F6;
  border-radius: 21px;
  padding: 15px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  margin-bottom: 15%;
}

.install-banner .pine-icon {
  margin-right: 15px;
}

.install-banner .banner-text {
  text-align: left;
  flex-grow: 1;
}

.install-banner .banner-text > h4 {
  color: #464646;
  font-size: 24px;
  font-weight: 500;
  margin: 0;
}

.install-banner .banner-text > div {
  color: #464646;
  font-size: 21px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.install-banner .btn-install {
  margin-right: 3px;
}

h1, h2, h3, h4 {
  font-family: 'Inter ExtraBold', sans-serif;
  color: black;
  margin-top: 0;
  -moz-font-feature-settings: 'kern';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1 {
  font-size: 5.5vw;
  padding-top: 30px;
  margin: 0 auto;
  margin-bottom: 70px;
  line-height: 1.2;
}
@media screen and (min-width: 1920px) {
  h1 {
    font-size: 105px;
  }
}

h1.yellow-title {
  color: #FFCD00;
  background-image: -webkit-linear-gradient(#FFD200, #FFCD00);
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
@media (color-gamut: p3) {
  h1.yellow-title {
    background-image: url('../img/lightning-background-p3.png');
    background-size: cover;
  }
}
h1.yellow-title::selection {
  background: #005dff;
  color: white;
}

h2 {
  font-size: 46px;
  margin-bottom: 30px;
  line-height: 1.05;
}

h4 {
  font-size: 23px;
  font-family: 'Inter Bold';
}

p {
  color: #7b7b80;
  line-height: 1.48148;
  margin-top: 0;
  margin-bottom: 80px;
  -moz-font-feature-settings: 'kern';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1 + p {
  font-size: 26px;
  line-height: 36px;
  max-width: 800px;
  margin: 0 auto;
  margin-bottom: 110px;
  color: black;
}

h2 + p,
.p2 {
  font-size: 23px;
}

h4 + p,
.p4 {
  font-size: 19px;
  margin-bottom: 20px;
  line-height: 1.35;
}

.p4:last-child {
  margin-bottom: 0;
}

.p4 > strong {
  color: #111;
}

.app-store-button {
  width: 228px;
  height: 68px;
  margin-bottom: 40px;
  background: url(../img/appstore-button.svg) no-repeat;
  background-size: contain;
  display: inline-block;
  transition: transform 0.2s ease-out;
}

.app-store-button:hover {
  transform: scale(1.05);
}

.app-store-button {
  width: 225px;
  height: 65px;
  background-image: url(../img/testflight-button@2x.png);
}

@media (color-gamut: p3) {
  .app-store-button {
    background-image: url(../img/testflight-button@2x-p3.png);
  }
}

.icon-privacy {
  width: 14px;
  height: 20px;
  background: url(../img/icon-privacy.svg) no-repeat;
  background-size: contain;
  display: inline-block;
  margin-right: 12px;
}

.icon-lightning {
  width: 13px;
  height: 20px;
  background: url(../img/icon-lightning.svg) no-repeat;
  background-size: contain;
  display: inline-block;
  margin-right: 12px;
}

.icon-menu {
  width: 22px;
  height: 16px;
  background: url(../img/icon-menu.svg) no-repeat;
  background-size: contain;
  display: inline-block;
  margin-right: 10px;
}

.icon-close {
  width: 16px;
  height: 16px;
  background: url(../img/icon-close.svg) no-repeat;
  background-size: contain;
  margin-right: 13px;
  position: absolute;
  top: calc(2% + 22px);
  right: 5%;
}

footer {
  margin-bottom: calc(2% + 30px);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.footer-links li {
  margin: 0;
  margin-right: 20px;
  margin-bottom: 10px;
}

.footer-links li > a {
  font-family: 'Inter Bold', sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-weight: normal;
  text-decoration: none;
  text-transform: uppercase;
  color: #111;
  font-size: 14px;
  opacity: 0.3;
  transition: opacity 0.1s ease-out;
}

.footer-links li > a:hover {
  text-decoration: none;
  opacity: 1;
}

.footer-links li > a:active {
  opacity: 0.5;
}

.copyright {
  font-family: 'Inter Regular';
  color: #333;
  font-size: 13px;
  text-align: left;
  opacity: 0.3;
}

.pine-logo {
  width: 71px;
  height: 31px;
  background: url(../img/pine.svg) no-repeat;
  background-size: contain;
  display: inline-block;
  transform: scale(0.8);
  opacity: 0.3;
}

.icon-github {
  width: 26px;
  height: 21px;
  background: url(../img/github.svg) no-repeat;
  background-size: contain;
  display: inline-block;
}

.icon-twitter {
  width: 26px;
  height: 21px;
  background: url(../img/twitter.svg) no-repeat;
  background-size: contain;
  display: inline-block;
}

.icon-instagram {
  width: 21px;
  height: 21px;
  background: url(../img/instagram.svg) no-repeat;
  background-size: contain;
  display: inline-block;
}

.icon-email {
  width: 23px;
  height: 21px;
  background: url(../img/email.svg) no-repeat;
  background-size: contain;
  display: inline-block;
}

footer > .container {
  display: grid;
  grid-template-columns: 33.5% 33% 33.5%;
  max-width: 1440px;
}

.footer-left,
.footer-middle,
.footer-right {
  display: flex;
  flex-direction: column;
}

.footer-left {
  align-items: flex-start;
}

.footer-middle {
  align-items: center;
  justify-content: center;
}

.footer-right {
  align-items: flex-end;
  justify-content: center;
}

.social a,
.social a:visited {
  text-decoration: none;
  border: none;
  opacity: 0.3;
  transform: scale(1);
  transition: opacity 0.1s ease-out;
}
.social a:hover,
.social a:focus {
  text-decoration: none;
  border: none;
  opacity: 1;
}
.social a:not(:last-child) {
  margin-right: 10px;
}

.screenshot {
  width: 354px;
  height: 646px;
  align-self: center;
}

.large-link {
  color: #005eff;
  font-family: -apple-system, BlinkMacSystemFont, 'Roboto';
  font-size: 23px;
  font-weight: 400;
  text-decoration: none;
  transition: color 0.1s ease-out;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.large-link:hover {
  color: #0010ff;
}

.large-link:active {
  opacity: 0.75;
}

.legal {
  margin-top: 150px;
  margin-bottom: 150px;
}

.legal .container {
  text-align: left;
}

.legal h2 {
  font-size: 38px;
  margin-top: 60px;
}

.legal h3 {
  font-size: 28px;
  margin-top: 30px;
}

.legal h4 {
  margin-bottom: 20px;
  margin-top: 30px;
}

.legal p {
  text-align: justify;
}

.legal li {
  font-size: 19px;
  color: #7b7b80;
  line-height: 1.35;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.no-margin-top {
  margin-top: 0 !important;
}

.lightning-hero h1 {
  font-size: 12vw;
  margin-bottom: 20px;
  line-height: normal;
}

@media screen and (min-width: 1920px) {
  .lightning-hero h1 {
    font-size: 230px;
  }
}

.footnote {
  display: block;
  margin-top: -60px;
  margin-bottom: 120px;
  font-size: 13px;
  color: #7b7b80;
}

.lightning-hero .app-store-button {
  margin-top: 0;
  margin-bottom: 80px;
}

.container.features {
  margin-top: 2%;
  margin-bottom: 10%;
}

.features .feature-row {
  display: grid;
  grid-template-columns: 47% 47%;
  grid-gap: 6%;
  margin: 0 auto;
  margin-bottom: 5%;
}

.features .feature-row:last-child {
  margin-bottom: 0;
}
.features > h1 {
  font-size: 4.5vw;
  margin: 0 auto;
  line-height: 1.2;
}
@media screen and (min-width: 1920px) {
  .features > h1 {
    font-size: 86px;
  }
}

.feature-row .feature {
  display: flex;
  flex-direction: column;
  position: relative;
  text-align: left;
  padding-left: 60px;
}

.feature-row .feature h4 {
  margin-top: 0;
}

.feature .feature-icon {
  position: absolute;
  top: 5px;
  left: 0;
}

.feature h4 {
  line-height: 1;
}

.icon-decentralized {
  width: 32px;
  height: 32px;
  background: url(../img/icon-decentralized.svg) no-repeat;
  background-size: contain;
  display: inline-block;
}

.icon-key {
  width: 32px;
  height: 33px;
  background: url(../img/icon-key.svg) no-repeat;
  background-size: contain;
  display: inline-block;
}

.icon-plug {
  width: 32px;
  height: 31px;
  background: url(../img/icon-plug.svg) no-repeat;
  background-size: contain;
  display: inline-block;
}

.icon-finger-print {
  width: 32px;
  height: 32px;
  background: url(../img/icon-finger-print.svg) no-repeat;
  background-size: contain;
  display: inline-block;
}

.icon-messages {
  width: 32px;
  height: 29px;
  background: url(../img/icon-messages.svg) no-repeat;
  background-size: contain;
  display: inline-block;
}

.icon-at-symbol {
  width: 32px;
  height: 32px;
  background: url(../img/icon-at-symbol.svg) no-repeat;
  background-size: contain;
  display: inline-block;
}

.icon-globe {
  width: 32px;
  height: 32px;
  background: url(../img/icon-globe.svg) no-repeat;
  background-size: contain;
  display: inline-block;
}

.icon-locale {
  width: 32px;
  height: 32px;
  background: url(../img/icon-locale.svg) no-repeat;
  background-size: contain;
  display: inline-block;
}

::selection {
  background: #ffcf00;
  color: white;
}

.mobile-install-banner-section {
  display: none;
  position: sticky;
  top: calc(2% + 5px);
  z-index: 100;
}

@media (max-width: 1450px) {
  .app-store-button {
    margin-top: 50px;
  }

  .container.features {
    margin-top: 6%;
  }
}

@media (max-width: 1160px) {
  h2 + p,
  .p2 {
    font-size: 21px;
    line-height: 1.35;
  }

  h4 + p,
  .p4 {
    font-size: 17px;
  }

  .large-link {
    font-size: 21px;
  }
}

@media (max-width: 1140px) {
  footer > .container {
    display: block;
    position: relative;
  }

  .footer-middle {
    display: none;
  }

  .footer-right {
    position: absolute;
    top: 0;
    right: 0;
  }
}

@media (max-width: 900px) {
  h1 {
    font-size: 50px;
    line-height: 1.14;
    margin-left: auto;
    margin-right: auto;
  }

  .features > h1 {
    font-size: 36px;
  }
}

@media (max-width: 850px) {
  h1 {
    margin-left: auto;
    margin-right: auto;
  }
}

@media (max-width: 800px) {
  .container.features {
    margin-top: 9%;
  }

  .features .feature-row {
    grid-template-columns: 100%;
    grid-gap: 0;
    margin-bottom: 0;
  }

  .features .feature {
    margin-bottom: 5%;
  }

  .feature-row .feature h4 {
    margin-bottom: 20px;
  }
}

@media (max-width: 750px) {
  .column-container {
    grid-template-columns: 100%;
    margin: 0;
  }

  .screenshot {
    display: none;
  }

  h4 {
    margin-top: 50px;
    margin-bottom: 30px;
  }
}

@media (max-width: 650px) {
  h2,
  .legal h2 {
    font-size: 44px;
  }

  h2 + p,
  .p2 {
    font-size: 19px;
    line-height: 1.35;
  }

  .legal p,
  .legal li {
    font-size: 17px;
  }

  .menu {
    display: none;
  }

  .mobile-menu-wrapper {
    display: block;
  }

  .mobile-install-banner-section {
    display: block;
  }

  .install-banner-section {
    display: none;
  }
}

@media (max-width: 600px) {
  .install-banner,
  .install-banner:visited {
    border-radius: 14px;
    padding: 10px;
  }

  .install-banner .pine-icon {
    width: 48px;
    height: 48px;
    margin-right: 10px;
  }

  .install-banner .banner-text > h4 {
    font-size: 15px;
  }

  .install-banner .banner-text > div {
    font-size: 13px;
  }

  .install-banner .btn-install {
    margin-right: 1px;
    font-size: 13px;
  }

  .btn-install .short {
    display: inline;
  }

  .btn-install .long {
    display: none;
  }

  .feature-row .feature h4 {
    margin-bottom: 15px;
    font-size: 20px;
  }

  .feature-row .feature p {
    font-size: 15px;
  }
}

@media (max-width: 580px) {
  .footer-right {
    top: -40px;
    right: auto;
    left: 50%;
    margin-left: -69px;
  }

  .footer-left {
    align-items: center;
  }

  .footer-links li {
    margin-right: 12px;
  }

  .footer-links li:last-child {
    margin-right: 0;
  }
}

@media (max-width: 550px) {
  .menu-link {
    margin-right: 40px;
  }
}

@media (max-width: 520px) {
  .menu {
    flex-direction: column;
  }

  .menu li:first-child {
    margin-bottom: 10px;
  }

  .menu li:last-child {
    display: none;
  }

  .menu-link {
    margin-right: 0;
  }

  .menu li:first-child .menu-link {
    margin-right: 0;
  }

  .nav-container {
    margin-bottom: 50px;
  }
}

@media (max-width: 450px) {
  .pine-icon-round {
    width: 47px;
    height: 47px;
  }

  section {
    margin: 60px auto;
  }

  .privacy section {
    margin: 0;
  }

  h1 {
    font-size: 36px;
    margin-bottom: 40px;
    line-height: 1.14;
    padding-top: 0;
  }

  h1 + p {
    font-size: 17px;
    line-height: 1.33;
    margin-bottom: 50px;
  }

  .features > h1 {
    font-size: 30px;
    margin-bottom: 60px;
  }

  .feature .feature-icon {
    left: 5px;
    transform: scale(0.75);
  }

  .lightning-hero h1 {
    font-size: 17vw;
  }

  h2,
  .legal h2 {
    font-size: 30px;
  }

  .legal h3 {
    font-size: 26px;
  }

  .legal h4 {
    font-size: 19px;
  }

  .legal p,
  .legal li {
    font-size: 16px;
  }

  .privacy h2 {
    font-size: 26px;
  }

  .privacy p {
    margin-bottom: 40px;
  }

  .privacy h2 + p,
  .privacy .p2 {
    font-size: 15px;
  }

  .privacy h4 + p,
  .privacy .p4 {
    font-size: 15px;
  }

  .btn-install {
    font-size: 16px;
    padding: 7px 16px;
  }

  footer {
    transform: scale(0.75);
  }
}
