:root {
  --blue: #099de0;
  --blue-deep: #066c99;
  --ink: #171a1c;
  --paper: #fcfcfa;
  --gray-soft: #e8ecef;
  --coral: #e56e57;
  --page-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.page-width {
  width: min(calc(100% - 40px), var(--page-width));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 8px;
  left: 8px;
  padding: 10px 14px;
  color: #fff;
  background: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

/* Masthead */
.masthead {
  min-height: 134px;
  display: grid;
  grid-template-columns: 558px 1fr auto;
  align-items: center;
  column-gap: 22px;
}

.masthead--landing {
  grid-template-columns: 1fr auto;
}

.brand {
  display: inline-flex;
  width: max-content;
  flex-direction: column;
  line-height: 1;
}

.brand:hover {
  text-decoration: none;
}

.brand__name {
  display: block;
  width: 121.212%;
  color: #08090a;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", "Arial Narrow", sans-serif;
  font-size: 88px;
  font-stretch: condensed;
  font-weight: 900;
  letter-spacing: 7.3px;
  line-height: .73;
  text-transform: uppercase;
  transform: scaleX(.825);
  transform-origin: left center;
}

.brand__byline {
  margin-top: 9px;
  color: var(--blue);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: .45px;
}

.masthead__tagline {
  min-height: 57px;
  display: flex;
  align-items: center;
  margin: 0;
  padding-left: 17px;
  border-left: 1px solid #bbc2c6;
  color: #4e555a;
  font-size: 15px;
  line-height: 1.3;
}

.newsletter-button {
  display: inline-flex;
  min-width: 177px;
  min-height: 45px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 3px;
  color: #fff;
  background: var(--coral);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.newsletter-button:hover {
  background: #c95543;
  text-decoration: none;
}

.brand-strip {
  height: 34px;
  background: var(--blue);
}

/* Landing content */
.landing {
  background: var(--paper);
}

.launch-hero {
  position: relative;
  min-height: 730px;
  overflow: hidden;
  background: var(--paper);
}

.launch-hero__photo,
.launch-hero__fade {
  position: absolute;
  inset: 0;
}

.launch-hero__photo {
  z-index: 0;
  background-image: url("../images/landing/miami-beach-street.webp");
  background-repeat: no-repeat;
  background-position: left bottom;
  background-size: auto 100%;
}

.launch-hero__fade {
  z-index: 1;
  background:
    linear-gradient(
      to right,
      rgba(252, 252, 250, 0) 0%,
      rgba(252, 252, 250, .05) 32%,
      rgba(252, 252, 250, .75) 58%,
      var(--paper) 76%
    ),
    linear-gradient(
      to bottom,
      var(--paper) 0%,
      var(--paper) 38%,
      rgba(252, 252, 250, .98) 48%,
      rgba(252, 252, 250, .9) 58%,
      rgba(252, 252, 250, .55) 68%,
      rgba(252, 252, 250, .15) 82%,
      rgba(252, 252, 250, 0) 100%
    );
  pointer-events: none;
}

.launch-hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: 730px;
  grid-template-columns: minmax(0, 1fr) minmax(400px, .82fr);
  align-items: center;
  gap: 64px;
  padding-block: 50px 250px;
}

.launch-copy {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.launch-copy__eyebrow,
.signup-card__kicker,
.thanks-card__kicker {
  margin: 0 0 12px;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.launch-copy h1 {
  margin: 0 0 21px;
  font-size: clamp(42px, 4.2vw, 60px);
  font-weight: 800;
  letter-spacing: -2.2px;
  line-height: 1.01;
}

.launch-copy__intro {
  max-width: 540px;
  margin: 0;
  font-size: clamp(20px, 2vw, 26px);
  font-weight: 700;
  letter-spacing: -.45px;
  line-height: 1.27;
}

.launch-copy__invitation {
  max-width: 520px;
  margin: 20px 0 0;
  color: var(--coral);
  font-size: 27px;
  font-weight: 800;
  line-height: 1.2;
}

.signup-card {
  position: relative;
  z-index: 3;
  align-self: center;
  padding: 39px 38px 35px;
  border: 1px solid #dfe3e6;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 2px 5px rgba(0, 0, 0, .04), 0 8px 20px rgba(0, 0, 0, .04);
}

.signup-card h2 {
  margin: 0 0 14px;
  color: var(--blue-deep);
  font-size: clamp(23px, 2.1vw, 29px);
  letter-spacing: .25px;
  line-height: 1.08;
  text-transform: uppercase;
}

.signup-card__copy {
  margin: 0 0 25px;
  color: #4d5458;
  font-size: 20px;
  line-height: 1.38;
}

.signup-form > label {
  display: block;
  margin-bottom: 8px;
  font-size: 13px;
  font-weight: 800;
}

.signup-form__fields {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.signup-form input[type="email"] {
  width: 100%;
  min-width: 0;
  min-height: 48px;
  padding: 0 13px;
  border: 1px solid #bbc3c8;
  border-radius: 2px;
  color: var(--ink);
  background: #fff;
  font-size: 14px;
}

.signup-form input[type="email"]::placeholder {
  color: #777f84;
}

.signup-form input[aria-invalid="true"] {
  border-color: #aa3426;
}

.signup-form button {
  width: 100%;
  min-height: 48px;
  padding: 0 17px;
  border: 0;
  border-radius: 2px;
  color: #fff;
  background: var(--coral);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .35px;
  text-transform: uppercase;
  cursor: pointer;
}

.signup-form button:hover {
  background: #c95543;
}

.signup-form__status {
  min-height: 18px;
  margin: 8px 0 0;
  color: var(--blue-deep);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.signup-form__status:empty {
  min-height: 0;
  margin: 0;
}

.signup-form__status--error {
  color: #9d3024;
}

.signup-card__privacy {
  margin: 18px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--gray-soft);
  color: #687075;
  font-size: 12px;
  line-height: 1.45;
}

.honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

/* Thanks */
.thanks-page {
  display: flex;
  flex-direction: column;
}

.thanks-page .masthead {
  grid-template-columns: 558px 1fr;
}

.thanks-main {
  display: grid;
  flex: 1;
  padding-block: clamp(60px, 10vw, 125px);
  place-items: center;
}

.thanks-card {
  width: min(100%, 630px);
  padding: 47px 38px 49px;
  border: 1px solid #ccd3d7;
  border-top: 6px solid var(--blue);
  background: #fff;
  text-align: center;
}

.thanks-card__check {
  width: 50px;
  height: 50px;
  display: grid;
  margin: 0 auto 19px;
  border-radius: 50%;
  color: #fff;
  background: var(--coral);
  font-size: 27px;
  font-weight: 800;
  place-items: center;
}

.thanks-card h1 {
  margin: 0 0 12px;
  font-size: clamp(41px, 5vw, 60px);
  letter-spacing: -2px;
  line-height: 1;
}

.thanks-card > p:not(.thanks-card__check, .thanks-card__kicker) {
  margin: 0 0 25px;
  color: #50575b;
  font-size: 18px;
}

.thanks-card a {
  color: var(--blue-deep);
  font-size: 14px;
  font-weight: 800;
}

.thanks-card a span {
  padding-left: 4px;
}

/* Footer */
.site-footer {
  min-height: 58px;
  display: flex;
  align-items: center;
  color: #fff;
  background: var(--ink);
}

.site-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
}

.site-footer nav a {
  padding: 0 15px;
  border-right: 1px solid #767d81;
  font-size: 12px;
}

.site-footer nav a:first-child {
  padding-left: 0;
}

.site-footer nav a:last-child {
  border-right: 0;
}

.site-footer p,
.thanks-page .site-footer a {
  margin: 0;
  font-size: 12px;
}

@media (max-width: 1050px) {
  .masthead,
  .thanks-page .masthead {
    grid-template-columns: minmax(470px, 1fr) auto;
  }

  .brand__name {
    font-size: 76px;
  }

  .masthead__tagline {
    display: none;
  }

  .launch-hero__content {
    grid-template-columns: minmax(0, 1fr) minmax(350px, .78fr);
    gap: 38px;
  }

  .signup-card {
    padding-inline: 27px;
  }

  .signup-form__fields {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .masthead,
  .thanks-page .masthead {
    min-height: 114px;
    grid-template-columns: 1fr auto;
  }

  .brand__name {
    font-size: clamp(53px, 9.8vw, 68px);
  }

  .brand__byline {
    font-size: 16px;
  }

  .newsletter-button {
    min-width: 142px;
  }

  .launch-hero {
    min-height: 0;
  }

  .launch-hero__photo,
  .launch-hero__fade {
    inset: 0 0 auto;
    height: clamp(510px, 115vw, 650px);
  }

  .launch-hero__photo {
    background-position: center;
    background-size: cover;
  }

  .launch-hero__fade {
    background:
      linear-gradient(
        to bottom,
        rgba(5, 10, 13, .12) 0%,
        rgba(5, 10, 13, .32) 38%,
        rgba(5, 10, 13, .7) 78%,
        rgba(5, 10, 13, .92) 100%
      );
  }

  .launch-hero__content.page-width {
    display: block;
    width: 100%;
    min-height: 0;
    padding: 0;
  }

  .launch-copy {
    min-height: clamp(510px, 115vw, 650px);
    display: flex;
    max-width: none;
    flex-direction: column;
    justify-content: flex-end;
    padding: 50px max(28px, calc((100% - 590px) / 2)) 43px;
    color: #fff;
  }

  .launch-copy h1 {
    margin-bottom: 22px;
    color: #fff;
    font-size: clamp(40px, 8vw, 54px);
    letter-spacing: -1.7px;
    line-height: 1.05;
  }

  .launch-copy__intro {
    max-width: 570px;
    color: #fff;
    font-size: 21px;
    font-weight: 400;
    line-height: 1.42;
  }

  .launch-copy__invitation {
    margin-top: 22px;
    color: #ff715c;
    font-size: 28px;
  }

  .signup-card {
    width: 100%;
    max-width: 590px;
    margin: 0 auto;
    padding: 48px 34px 46px;
    border: 0;
    background: var(--paper);
    box-shadow: none;
  }

  .signup-form__fields {
    grid-template-columns: 1fr;
  }

  .site-footer__inner {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 18px;
  }
}

@media (max-width: 560px) {
  .page-width {
    width: min(calc(100% - 28px), var(--page-width));
  }

  .masthead,
  .thanks-page .masthead {
    min-height: 105px;
    grid-template-columns: 1fr;
  }

  .brand {
    width: 100%;
    overflow: hidden;
  }

  .brand__name {
    width: 125%;
    font-size: clamp(46px, 14.8vw, 65px);
    letter-spacing: 4px;
    white-space: nowrap;
    transform: scaleX(.8);
  }

  .brand__byline {
    font-size: 15px;
  }

  .newsletter-button {
    display: none;
  }

  .brand-strip {
    height: 29px;
  }

  .launch-copy h1 {
    font-size: clamp(39px, 11vw, 48px);
    letter-spacing: -1.4px;
  }

  .launch-copy__intro {
    font-size: 20px;
  }

  .launch-copy__invitation {
    font-size: 26px;
  }

  .signup-card {
    padding: 42px 28px 40px;
  }

  .signup-card h2 {
    font-size: 25px;
    letter-spacing: .2px;
  }

  .signup-card__copy {
    font-size: 20px;
  }

  .signup-form__fields {
    grid-template-columns: 1fr;
  }

  .signup-form button {
    width: 100%;
  }

  .site-footer nav {
    row-gap: 10px;
  }

  .site-footer nav a {
    padding-inline: 9px;
  }

  .thanks-card {
    padding: 39px 19px 41px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
