:root {
  color-scheme: dark;
  --ink: #f8fbff;
  --muted: rgba(248, 251, 255, 0.76);
  --line: rgba(248, 251, 255, 0.3);
  --panel: rgba(7, 12, 18, 0.5);
  --accent: #d7f2ff;
  --accent-strong: #ffffff;
  --shadow: rgba(0, 0, 0, 0.38);
  --body-font: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #07111b;
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: var(--body-font);
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(0, 8, 17, 0.12), rgba(0, 8, 17, 0.28) 50%, rgba(0, 8, 17, 0.58)),
    url("assets/sky-water-portrait.jpeg"),
    linear-gradient(165deg, #82b8d9 0%, #f3bd74 55%, #274158 100%);
  background-size: cover;
  background-position: center 82%;
  background-attachment: fixed;
  background-blend-mode: normal;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.5), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.5)),
    rgba(2, 7, 13, 0.2);
  pointer-events: none;
}

button,
input {
  font: inherit;
}

.landing-shell {
  display: grid;
  min-height: 100vh;
  min-height: 100svh;
  grid-template-rows: auto 1fr auto;
  padding: clamp(0.55rem, 1.5vw, 1rem);
}

.brand {
  display: grid;
  justify-items: center;
  gap: 0.1rem;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0;
  text-shadow: 0 0.2rem 1.2rem var(--shadow);
}

.brand p,
.brand span {
  margin: 0;
  font-size: clamp(0.78rem, 1.25vw, 0.95rem);
  font-weight: 800;
  text-transform: uppercase;
}

.brand span {
  color: var(--muted);
  font-family: var(--body-font);
  font-size: clamp(0.68rem, 1vw, 0.78rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-logo {
  display: block;
  width: clamp(3rem, 6vw, 4.25rem);
  height: clamp(4rem, 8vw, 5.35rem);
  object-fit: contain;
  object-position: center 25%;
  filter: drop-shadow(0 0.35rem 1.4rem rgba(255, 120, 0, 0.42)) drop-shadow(0 0.2rem 1rem var(--shadow));
}

.hero {
  display: grid;
  width: min(100%, 78rem);
  margin: 0 auto;
  grid-template-rows: auto auto auto;
  align-items: center;
  align-content: start;
  gap: clamp(0.35rem, 0.85vh, 0.65rem);
  padding-block: clamp(0.2rem, 0.8vh, 0.55rem);
}

.hero-copy {
  display: grid;
  justify-items: center;
  text-align: center;
  text-shadow: 0 0.28rem 1.5rem var(--shadow);
}

.eyebrow,
.tagline {
  margin: 0;
  font-weight: 700;
  color: var(--muted);
}

.eyebrow {
  text-transform: uppercase;
  font-size: clamp(0.82rem, 1.5vw, 1rem);
}

h1 {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.tagline {
  width: min(100%, 42rem);
  margin-inline: auto;
  font-size: clamp(1rem, 2vw, 1.45rem);
  line-height: 1.35;
}

.coming-soon-copy {
  width: min(100%, 42rem);
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
  text-shadow: 0 0.2rem 1rem var(--shadow);
}

.coming-soon-copy p {
  margin: 0;
  font-size: clamp(0.82rem, 1.2vw, 0.98rem);
  line-height: 1.3;
  font-weight: 700;
}

.coming-soon-copy p + p {
  margin-top: 0.18rem;
}

.product-stage {
  display: grid;
  place-items: center;
  min-height: clamp(14rem, 41vh, 26rem);
}

.product-image {
  display: block;
  width: min(100%, 72rem);
  max-height: clamp(14rem, 41vh, 26rem);
  object-fit: contain;
}

.placeholder-card {
  display: grid;
  width: min(100%, 24rem);
  min-height: clamp(7rem, 14vh, 9rem);
  place-items: center;
  align-content: center;
  gap: 0.35rem;
  padding: 1rem;
  border: 0.1rem solid var(--line);
  border-radius: 0.5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), rgba(255, 255, 255, 0.08));
  box-shadow: 0 1.5rem 4rem rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(0.65rem);
}

.placeholder-card p,
.placeholder-card small {
  margin: 0;
  text-transform: uppercase;
  font-weight: 800;
}

.placeholder-card p {
  font-size: clamp(0.9rem, 1.5vw, 1.05rem);
}

.placeholder-card small {
  font-size: 0.72rem;
  color: var(--muted);
}

.placeholder-icon {
  position: relative;
  width: clamp(3.8rem, 8vw, 5rem);
  aspect-ratio: 1;
  border: 0.12rem solid var(--line);
  border-radius: 50%;
}

.placeholder-icon::before,
.placeholder-icon::after,
.placeholder-icon span {
  position: absolute;
  content: "";
  background: rgba(255, 255, 255, 0.58);
}

.placeholder-icon::before,
.placeholder-icon::after {
  width: 1.55rem;
  height: 0.12rem;
  top: 50%;
  left: 50%;
  transform-origin: center;
}

.placeholder-icon::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.placeholder-icon::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.placeholder-icon span {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
}

.placeholder-icon span:nth-child(1) {
  top: 0.85rem;
  left: 50%;
  transform: translateX(-50%);
}

.placeholder-icon span:nth-child(2) {
  right: 0.85rem;
  bottom: 0.95rem;
}

.placeholder-icon span:nth-child(3) {
  bottom: 0.95rem;
  left: 0.85rem;
}

.signup-form {
  display: grid;
  justify-self: center;
  width: min(100%, 40rem);
  gap: 0.65rem;
  padding: clamp(0.8rem, 2vw, 1.15rem);
  border: 0.1rem solid var(--line);
  border-radius: 0.5rem;
  background: var(--panel);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(0.75rem);
  text-align: center;
}

.signup-form label {
  font-size: clamp(0.98rem, 1.75vw, 1.25rem);
  font-weight: 800;
}

.signup-intro {
  width: min(100%, 34rem);
  margin: -0.2rem auto 0;
  color: rgba(248, 251, 255, 0.78);
  font-size: clamp(0.78rem, 1.1vw, 0.9rem);
  line-height: 1.32;
}

.signup-benefits {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.signup-benefits span {
  padding: 0.35rem 0.55rem;
  border: 0.08rem solid rgba(255, 255, 255, 0.22);
  border-radius: 999rem;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(248, 251, 255, 0.88);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.input-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) auto;
  justify-content: center;
  gap: 0.5rem;
}

.input-row input,
.input-row button {
  min-height: 2.75rem;
  border-radius: 0.45rem;
}

.input-row input {
  width: 100%;
  border: 0.1rem solid rgba(255, 255, 255, 0.36);
  padding: 0 1rem;
  color: #09111a;
  background: rgba(255, 255, 255, 0.92);
  outline: none;
}

.input-row input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 0.22rem rgba(215, 242, 255, 0.3);
}

.input-row button {
  border: 0;
  padding: 0 1.25rem;
  color: #081018;
  background: var(--accent-strong);
  font-weight: 900;
  cursor: pointer;
  justify-self: center;
}

.input-row button:hover,
.input-row button:focus-visible {
  background: var(--accent);
}

.form-note {
  min-height: 1rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.2;
  text-align: center;
}

.site-footer {
  padding-top: clamp(0.35rem, 1vh, 0.7rem);
  text-align: center;
  color: rgba(248, 251, 255, 0.72);
  text-shadow: 0 0.2rem 1rem var(--shadow);
}

.site-footer p {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 700;
}

.site-footer a {
  color: #ffffff;
  text-decoration: none;
  border-bottom: 0.08rem solid rgba(255, 255, 255, 0.56);
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.form-note.is-success {
  color: #dcffe9;
}

.form-note.is-error {
  color: #ffd8d8;
}

.hidden-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.signup-dialog {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.signup-dialog.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.signup-dialog-card {
  width: min(100%, 24rem);
  padding: 1.5rem;
  border: 0.1rem solid rgba(255, 255, 255, 0.28);
  border-radius: 0.5rem;
  background: rgba(7, 12, 18, 0.88);
  box-shadow: 0 1.2rem 3rem rgba(0, 0, 0, 0.34);
  text-align: center;
  backdrop-filter: blur(0.8rem);
}

.signup-dialog-card p {
  margin: 0;
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 900;
}

.signup-dialog-card span {
  display: block;
  margin-top: 0.45rem;
  color: var(--muted);
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  body {
    background-attachment: scroll;
  }

  .landing-shell {
    padding: 1rem;
  }

  .hero {
    grid-template-rows: auto auto auto;
    padding-block: 1.25rem;
  }

  .input-row {
    grid-template-columns: 1fr;
  }

  .input-row button {
    width: 100%;
  }
}

@media (max-height: 760px) and (min-width: 760px) {
  .landing-shell {
    padding-block: 0.45rem;
  }

  .brand-logo {
    width: 3.25rem;
    height: 4.2rem;
  }

  .brand p {
    font-size: 0.78rem;
  }

  .brand span,
  .site-footer p {
    font-size: 0.68rem;
  }

  .hero {
    gap: 0.32rem;
    padding-block: 0.18rem;
  }

  .product-stage {
    min-height: 17.75rem;
  }

  .product-image {
    width: min(100%, 72rem);
    max-height: 17.75rem;
  }

  .coming-soon-copy p {
    font-size: 0.8rem;
    line-height: 1.22;
  }

  .signup-form {
    gap: 0.5rem;
    padding: 0.75rem;
  }

  .input-row input,
  .input-row button {
    min-height: 2.45rem;
  }
}
