:root {
  color-scheme: light;
  --ink: #17212b;
  --muted: #586677;
  --paper: #fbfcf7;
  --mist: #edf7f4;
  --teal: #106d65;
  --teal-dark: #084b47;
  --coral: #e76f51;
  --gold: #f2c14e;
  --line: #d9e3df;
  --white: #ffffff;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: var(--teal-dark);
  color: var(--white);
}

.hero__media,
.hero__shade {
  position: absolute;
  inset: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 42%;
  filter: saturate(1.08);
}

.hero__shade {
  background:
    linear-gradient(90deg, rgba(8, 44, 42, 0.92) 0%, rgba(8, 44, 42, 0.72) 42%, rgba(8, 44, 42, 0.2) 100%),
    linear-gradient(180deg, rgba(8, 44, 42, 0.08) 0%, rgba(8, 44, 42, 0.45) 100%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 32px));
  min-height: 100svh;
  padding: 24px 0;
  margin: 0 auto;
}

.hero__layout {
  display: grid;
  min-height: calc(100svh - 48px);
  align-items: center;
  justify-items: center;
  gap: 20px;
}

.hero__intro {
  justify-self: center;
  max-width: 620px;
  text-align: center;
}

.brand-mark {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  margin: 0 auto;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.eyebrow,
.section-kicker {
  margin: 24px 0 12px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 16px;
  font-size: clamp(3.4rem, 17vw, 8.5rem);
  line-height: 0.9;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 7vw, 4rem);
  line-height: 1;
  letter-spacing: 0;
}

.hero__copy {
  width: min(560px, 100%);
  margin-right: auto;
  margin-bottom: 0;
  margin-left: auto;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 4vw, 1.38rem);
  line-height: 1.45;
}

.hero__cta,
.submit-button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 8px;
  background: var(--coral);
  color: var(--white);
  font: inherit;
  font-weight: 850;
  letter-spacing: 0;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background-color 160ms ease;
}

.hero__cta {
  padding: 0 22px;
}

.hero__cta:hover,
.submit-button:hover {
  background: #cf5439;
  transform: translateY(-1px);
}

.hero__cta--secondary {
  border: 1px solid rgba(255, 255, 255, 0.72);
  background: var(--white);
  color: var(--teal-dark);
}

.hero__cta--secondary:hover {
  background: #e9f4ef;
}

.intro,
.screens {
  padding: 56px 20px;
}

.intro {
  background: var(--white);
}

.intro__inner,
.screens__inner {
  width: min(1120px, 100%);
  margin: 0 auto;
}

.intro__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
  gap: 44px;
  align-items: start;
  text-align: center;
}

.intro .section-kicker {
  color: var(--teal);
}

.feature-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.feature-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.45;
}

.feature-list li::before {
  content: "";
  display: block;
  width: 9px;
  height: 9px;
  margin: 0 auto 10px;
  border-radius: 99px;
  background: var(--teal);
}

.screens {
  background: #f6fbfe;
}

.screens__heading {
  max-width: 760px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.screens .section-kicker {
  color: var(--coral);
}

.screen-carousel {
  display: grid;
  gap: 18px;
  width: min(460px, 100%);
  margin: 30px auto 0;
}

.screen-carousel__viewport {
  overflow: hidden;
  border-radius: 8px;
}

.screen-carousel__track {
  display: flex;
  transition: transform 360ms ease;
  will-change: transform;
}

.screen-slide {
  display: grid;
  flex: 0 0 100%;
  gap: 12px;
  justify-items: center;
  margin: 0;
}

.screen-slide img {
  width: min(100%, 340px);
  height: auto;
  aspect-ratio: 9 / 16;
  object-fit: cover;
  object-position: top;
  border: 1px solid #b7dcf2;
  border-radius: 8px;
  box-shadow: 0 18px 38px rgba(23, 33, 43, 0.12);
}

.screen-slide figcaption {
  width: min(100%, 340px);
  color: var(--teal-dark);
  font-weight: 820;
  text-align: center;
}

.screen-carousel__controls {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
}

.carousel-button {
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--teal-dark);
  font: inherit;
  font-weight: 820;
  letter-spacing: 0;
  padding: 0 12px;
  cursor: pointer;
}

.carousel-dots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
}

.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: #b9cfca;
  cursor: pointer;
}

.carousel-dot[aria-current="true"] {
  width: 22px;
  background: var(--coral);
}

.waitlist-form {
  display: grid;
  gap: 14px;
}

.hero__form {
  width: 100%;
  max-width: 430px;
  justify-self: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 8px;
  background: rgba(251, 252, 247, 0.96);
  color: var(--ink);
  text-align: center;
  box-shadow: 0 24px 54px rgba(0, 0, 0, 0.25);
  overflow-wrap: break-word;
}

.hero__form-heading .section-kicker {
  margin-top: 0;
  margin-bottom: 8px;
  color: var(--teal);
}

.hero__form-heading h2 {
  margin-bottom: 10px;
  font-size: clamp(1.55rem, 7vw, 2.35rem);
}

.hero__form-heading p {
  margin-bottom: 2px;
  color: var(--muted);
  line-height: 1.45;
}

.waitlist-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 780;
  text-align: center;
}

.waitlist-form label span {
  color: var(--muted);
  font-weight: 650;
}

.waitlist-form input[type="email"],
.waitlist-form input[type="text"] {
  width: 100%;
  min-height: 52px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  letter-spacing: 0;
  padding: 0 14px;
}

.waitlist-form input:focus {
  border-color: var(--teal);
  outline: 3px solid rgba(16, 109, 101, 0.18);
}

.waitlist-form .consent {
  display: flex;
  grid-template-columns: none;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  color: var(--muted);
  font-weight: 650;
  line-height: 1.4;
  text-align: left;
}

.waitlist-form .consent span {
  min-width: 0;
  overflow-wrap: break-word;
}

.consent input {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  margin-top: 1px;
  accent-color: var(--teal);
}

.website-field {
  position: absolute;
  left: -10000px;
}

.submit-button {
  width: 100%;
  padding: 0 20px;
  line-height: 1.15;
  overflow-wrap: anywhere;
  text-align: center;
  white-space: normal;
}

.submit-button[disabled] {
  background: #9aa5ac;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-weight: 680;
  line-height: 1.4;
  text-align: center;
}

.form-status[data-state="ok"] {
  color: var(--teal-dark);
}

.form-status[data-state="error"] {
  color: #b43b2b;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: center;
  padding: 22px 20px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.95rem;
  text-align: center;
}

.footer a {
  color: var(--teal);
  font-weight: 760;
  text-decoration: none;
}

.thanks {
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  place-items: center;
  padding: 32px 20px;
  background: var(--teal-dark);
  color: var(--white);
}

.thanks__media {
  position: absolute;
  inset: 0;
}

.thanks__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 68% 42%;
  filter: saturate(1.08);
}

.thanks__panel {
  position: relative;
  z-index: 1;
  width: min(680px, calc(100vw - 40px));
  max-width: 100%;
  text-align: center;
  overflow-wrap: break-word;
}

.thanks__panel .brand-mark {
  margin-bottom: 18px;
  margin-left: auto;
  margin-right: auto;
}

.thanks__panel h1 {
  max-width: 520px;
  margin-right: auto;
  margin-bottom: 16px;
  margin-left: auto;
  font-size: clamp(2.05rem, 8vw, 4.1rem);
  line-height: 1;
}

.thanks__panel p:not(.section-kicker) {
  max-width: 560px;
  margin-bottom: 22px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2.4vw, 1.22rem);
  line-height: 1.5;
}

.thanks__panel .thanks__note {
  max-width: 460px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.94rem;
  overflow-wrap: break-word;
}

.thanks__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.thanks__primary-link {
  width: min(100%, 430px);
  min-height: 64px;
  padding: 0 24px;
  font-size: clamp(1.05rem, 4.2vw, 1.28rem);
  box-shadow: 0 18px 42px rgba(231, 111, 81, 0.32);
}

.secondary-link {
  color: var(--white);
  font-weight: 780;
  text-decoration: none;
}

@media (max-width: 760px) {
  .hero__media img {
    object-position: 72% center;
  }

  .hero__shade {
    background:
      linear-gradient(90deg, rgba(8, 44, 42, 0.96) 0%, rgba(8, 44, 42, 0.78) 64%, rgba(8, 44, 42, 0.46) 100%),
      linear-gradient(180deg, rgba(8, 44, 42, 0.06) 0%, rgba(8, 44, 42, 0.62) 100%);
  }

  .hero__content {
    width: 100%;
    max-width: 620px;
    overflow: hidden;
    padding: 20px 16px 24px;
    margin: 0 auto;
  }

  .hero__layout {
    width: 100%;
    min-width: 0;
  }

  .brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 13px;
  }

  .intro,
  .screens {
    padding: 54px 16px;
  }

  .intro__inner {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .hero__intro {
    justify-self: center;
    width: 100%;
    min-width: 0;
  }

  .hero__intro h1 {
    font-size: clamp(3.05rem, 15vw, 4.85rem);
  }

  .hero__copy {
    max-width: 340px;
  }

  .hero__form {
    width: min(100%, 360px);
    max-width: 100%;
    margin-right: auto;
    margin-left: auto;
  }

  .hero__form-heading h2 {
    font-size: clamp(1.5rem, 6.4vw, 2rem);
  }

  .waitlist-form .optional-name {
    display: none;
  }

  .screen-carousel {
    width: min(100%, 360px);
  }

  .screen-slide img,
  .screen-slide figcaption {
    width: min(100%, 310px);
  }

  .thanks {
    place-items: center;
    padding: 24px 16px 32px;
  }

  .thanks__panel h1 {
    font-size: clamp(2rem, 10vw, 3.3rem);
  }

  .thanks__panel {
    width: min(620px, calc(100vw - 32px));
  }

  .thanks__actions .hero__cta {
    width: 100%;
  }
}

@media (max-width: 760px) and (max-height: 720px) {
  .hero__content {
    padding: 12px 0 16px;
  }

  .hero__layout {
    min-height: calc(100svh - 28px);
    gap: 12px;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
    border-radius: 11px;
  }

  .eyebrow,
  .section-kicker {
    margin: 12px 0 8px;
  }

  h1 {
    margin-bottom: 10px;
    font-size: clamp(3rem, 15vw, 4rem);
  }

  .hero__copy {
    font-size: 0.96rem;
    line-height: 1.36;
  }

  .hero__form {
    padding: 14px;
  }

  .hero__form-heading h2 {
    font-size: 1.45rem;
  }

  .hero__form-heading p {
    font-size: 0.95rem;
  }

  .waitlist-form {
    gap: 10px;
  }

  .waitlist-form input[type="email"],
  .waitlist-form input[type="text"] {
    min-height: 48px;
  }
}

@media (min-width: 880px) {
  .hero__layout {
    grid-template-columns: minmax(0, 1fr) minmax(360px, 430px);
    gap: 48px;
    justify-items: stretch;
  }

  .brand-mark {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    margin-left: 0;
  }

  .hero__intro {
    justify-self: start;
    text-align: left;
  }

  .hero__copy {
    margin-left: 0;
  }

  .hero__form {
    justify-self: end;
    padding: 24px;
  }

  .intro__inner {
    text-align: left;
  }

  .feature-list li::before {
    display: inline-block;
    margin: 0 12px 0 0;
  }

  .footer {
    justify-content: space-between;
    text-align: left;
  }

  .submit-button {
    width: fit-content;
  }

  .screen-carousel {
    width: min(520px, 100%);
  }

  .screen-slide img,
  .screen-slide figcaption {
    width: min(100%, 380px);
  }
}
