@font-face {
  font-family: "AmpleSoft Pro";
  src: url("assets/fonts/AmpleSoftPro-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "AmpleSoft Pro";
  src: url("assets/fonts/AmpleSoftPro-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "AmpleSoft Pro";
  src: url("assets/fonts/AmpleSoftPro-Bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 700 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  --navy: #07172e;
  --blue: #128ddd;
  --cyan: #4bdde7;
  --muted: #596a7c;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  font-family: "AmpleSoft Pro", Avenir, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--navy);
  background: var(--navy);
}

.coming-soon {
  position: relative;
  display: grid;
  height: 100vh;
  height: 100svh;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

.coming-soon__background,
.coming-soon__shade {
  position: absolute;
  inset: 0;
}

.coming-soon__background {
  z-index: -2;
  background: url("assets/nexosafe-house.jpg") center center / cover no-repeat;
  transform: scale(1.005);
}

.coming-soon__shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, .99) 21%, rgba(255, 255, 255, .88) 38%, rgba(255, 255, 255, .18) 59%, rgba(3, 16, 35, .14) 100%),
    linear-gradient(0deg, rgba(3, 15, 34, .22), transparent 40%);
}

.content {
  align-self: center;
  width: min(580px, 45vw);
  margin-left: clamp(40px, 7vw, 140px);
  padding: clamp(32px, 5vh, 64px) 0 clamp(145px, 18vh, 190px);
}

.content__logo {
  display: block;
  width: clamp(250px, 27vw, 430px);
  max-width: 100%;
  height: auto;
  margin: 0 0 clamp(20px, 3vh, 36px);
}

.content__divider {
  width: 62px;
  height: 3px;
  margin-bottom: clamp(22px, 3vh, 34px);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
  box-shadow: 0 0 18px rgba(49, 188, 229, .4);
}

.content__eyebrow {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: clamp(.78rem, .9vw, .94rem);
  font-weight: 750;
  letter-spacing: .17em;
  line-height: 1.5;
  text-transform: uppercase;
}

h1 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(2.35rem, 4.1vw, 4.85rem);
  font-weight: 760;
  letter-spacing: -.045em;
  line-height: .98;
  text-wrap: balance;
}

.content__copy {
  max-width: 490px;
  margin: clamp(20px, 2.8vh, 32px) 0 clamp(26px, 4vh, 42px);
  color: var(--muted);
  font-size: clamp(1rem, 1.2vw, 1.18rem);
  line-height: 1.65;
}

.contact {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 10px 20px 10px 11px;
  border: 1px solid rgba(9, 108, 175, .16);
  border-radius: 16px;
  color: var(--navy);
  background: rgba(255, 255, 255, .72);
  box-shadow: 0 14px 40px rgba(13, 51, 87, .10);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  backdrop-filter: blur(12px);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.contact:hover {
  transform: translateY(-2px);
  border-color: rgba(18, 141, 221, .42);
  box-shadow: 0 18px 46px rgba(13, 51, 87, .16);
}

.contact:focus-visible {
  outline: 3px solid rgba(18, 141, 221, .4);
  outline-offset: 4px;
}

.contact__icon {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 11px;
  color: white;
  background: linear-gradient(145deg, var(--cyan), var(--blue));
}

.contact__icon svg {
  width: 22px;
  height: 22px;
}

.contact small {
  display: block;
  margin-bottom: 3px;
  color: #718092;
  font-size: .69rem;
  font-weight: 650;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.content__domain {
  margin: clamp(30px, 5vh, 52px) 0 0;
  color: var(--blue);
  font-size: clamp(1.1rem, 1.45vw, 1.45rem);
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.features {
  position: absolute;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: repeat(5, minmax(120px, 1fr));
  width: min(79vw, 1450px);
  min-height: 118px;
  padding: 22px clamp(28px, 5vw, 90px) 20px;
  border-radius: 0 28px 0 0;
  color: white;
  background: rgba(4, 23, 46, .97);
  box-shadow: 16px -14px 42px rgba(4, 23, 46, .14);
}

.feature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 0;
  padding: 4px 14px;
  border-right: 1px solid rgba(255, 255, 255, .11);
}

.feature:last-child {
  border-right: 0;
}

.feature svg {
  width: 35px;
  height: 35px;
  flex: 0 0 auto;
  fill: none;
  stroke: #5bddea;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature span {
  font-size: clamp(.66rem, .76vw, .83rem);
  font-weight: 720;
  letter-spacing: .055em;
  line-height: 1.35;
  text-transform: uppercase;
}

@media (max-width: 850px) {
  .coming-soon {
    align-items: end;
  }

  .coming-soon__background {
    background-position: 68% center;
  }

  .coming-soon__shade {
    background:
      linear-gradient(0deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, .97) 38%, rgba(255, 255, 255, .18) 72%, rgba(3, 16, 35, .08) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, .32), transparent 72%);
  }

  .content {
    align-self: end;
    width: auto;
    margin: 0;
    padding: 32vh 28px 140px;
  }

  .content__logo {
    width: min(300px, 72vw);
    margin-bottom: 18px;
  }

  .content__divider {
    margin-bottom: 18px;
  }

  h1 {
    max-width: 520px;
    font-size: clamp(2.25rem, 10vw, 3.5rem);
  }

  .content__copy {
    max-width: 560px;
    margin: 18px 0 22px;
    line-height: 1.5;
  }

  .content__domain {
    position: absolute;
    top: 20px;
    right: 20px;
    margin: 0;
    color: white;
    font-size: 1.05rem;
    text-shadow: 0 2px 14px rgba(4, 23, 46, .5);
  }

  .features {
    grid-template-columns: repeat(5, 154px);
    width: 100%;
    min-height: 105px;
    padding: 17px 8px 15px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    border-radius: 20px 20px 0 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(91, 221, 234, .6) transparent;
  }

  .feature {
    flex-direction: column;
    gap: 7px;
    padding: 0 8px;
    text-align: center;
  }

  .feature svg {
    width: 31px;
    height: 31px;
  }

  .feature span {
    font-size: .62rem;
  }
}

@media (max-width: 480px) {
  .content {
    padding-right: 20px;
    padding-bottom: 132px;
    padding-left: 20px;
  }

  .content__eyebrow {
    letter-spacing: .11em;
  }

  .contact {
    width: 100%;
  }
}

@media (max-height: 800px) and (min-width: 851px) {
  .content {
    padding-top: 24px;
    padding-bottom: 125px;
  }

  .content__logo {
    width: 280px;
    margin-bottom: 18px;
  }

  .content__divider {
    margin-bottom: 18px;
  }

  h1 {
    font-size: clamp(2.2rem, 3.5vw, 3.8rem);
  }

  .content__copy {
    margin: 16px 0 22px;
  }

  .content__domain {
    margin-top: 24px;
  }

  .features {
    min-height: 100px;
    padding-top: 15px;
    padding-bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .contact {
    transition: none;
  }
}
