:root {
  --ink: #06232d;
  --ink-strong: #03171f;
  --teal: #0c87a8;
  --cyan: #73d7e7;
  --frost: #eff8f8;
  --muted: #b9cdd1;
  --amber: #f0ae42;
  --line: rgba(255, 255, 255, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--frost);
  background: var(--ink-strong);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

button,
input {
  font: inherit;
}

#climate-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background: var(--ink-strong);
}

.site-shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  overflow: hidden;
}

.site-shell::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, rgba(3, 23, 31, 0.96) 0%, rgba(3, 23, 31, 0.84) 44%, rgba(3, 23, 31, 0.24) 100%),
    radial-gradient(circle at 76% 26%, rgba(115, 215, 231, 0.26), transparent 34rem),
    radial-gradient(circle at 84% 78%, rgba(240, 174, 66, 0.18), transparent 24rem);
}

.brand {
  position: fixed;
  top: 2rem;
  left: 3rem;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  display: grid;
  width: 4.5rem;
  height: 4.5rem;
  place-items: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.56);
  border-radius: 8px;
  box-shadow: 0 1rem 2.5rem rgba(0, 0, 0, 0.22);
}

.brand-mark img {
  width: 88%;
  height: 88%;
  object-fit: contain;
}

.brand-name {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0;
}

.hero {
  display: grid;
  min-height: 100vh;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  align-items: center;
  gap: 2rem;
  padding: 8rem 5.5rem 5.5rem;
}

.copy {
  width: min(42rem, 100%);
}

.eyebrow {
  margin: 0 0 1.25rem;
  color: var(--amber);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  max-width: 11ch;
  margin: 0;
  color: #ffffff;
  font-size: 5.3rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.lead {
  max-width: 38rem;
  margin: 1.65rem 0 2.2rem;
  color: var(--muted);
  font-size: 1.2rem;
  line-height: 1.7;
}

.signup-form {
  display: flex;
  width: min(39rem, 100%);
  min-height: 3.75rem;
  gap: 0.75rem;
}

.signup-form input[type="email"] {
  min-width: 0;
  flex: 1;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  padding: 0 1.1rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    border-color 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.signup-form input[type="email"]::placeholder {
  color: rgba(239, 248, 248, 0.64);
}

.signup-form input[type="email"]:focus {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(115, 215, 231, 0.82);
  box-shadow: 0 0 0 4px rgba(115, 215, 231, 0.16);
}

.signup-form button {
  min-width: 9.25rem;
  min-height: 3.75rem;
  color: #06191f;
  font-weight: 800;
  background: var(--amber);
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  transition:
    transform 160ms ease,
    background 160ms ease,
    box-shadow 160ms ease;
}

.signup-form button:hover {
  background: #ffc05e;
  box-shadow: 0 1rem 2rem rgba(240, 174, 66, 0.2);
  transform: translateY(-1px);
}

.signup-form button:disabled {
  cursor: wait;
  opacity: 0.72;
  transform: none;
}

.form-status {
  min-height: 1.5rem;
  margin: 0.85rem 0 0;
  color: rgba(239, 248, 248, 0.76);
  font-size: 0.95rem;
}

.form-status.is-success {
  color: #96ebd0;
}

.form-status.is-error {
  color: #ffbd9e;
}

.visual {
  position: relative;
  display: grid;
  min-height: 31rem;
  place-items: center;
}

.visual::before {
  position: absolute;
  width: 28rem;
  height: 28rem;
  content: "";
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
}

.hero-logo {
  position: relative;
  width: min(28rem, 72%);
  aspect-ratio: 1;
  object-fit: contain;
  padding: 3.2rem;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  box-shadow:
    0 2rem 5rem rgba(0, 0, 0, 0.34),
    0 0 7rem rgba(115, 215, 231, 0.28);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(115, 215, 231, 0.32);
  border-radius: 50%;
}

.orbit-one {
  width: 20rem;
  height: 20rem;
  transform: translate(-8rem, 3rem);
}

.orbit-two {
  width: 36rem;
  height: 36rem;
  border-color: rgba(240, 174, 66, 0.24);
  transform: translate(4rem, -2rem);
}

.field-trap,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  white-space: nowrap;
  border: 0;
  clip: rect(0, 0, 0, 0);
}

@media (max-width: 980px) {
  .site-shell::before {
    background:
      linear-gradient(180deg, rgba(3, 23, 31, 0.98) 0%, rgba(3, 23, 31, 0.88) 48%, rgba(3, 23, 31, 0.58) 100%),
      radial-gradient(circle at 72% 30%, rgba(115, 215, 231, 0.22), transparent 28rem),
      radial-gradient(circle at 18% 76%, rgba(240, 174, 66, 0.14), transparent 18rem);
  }

  .brand {
    left: 1.35rem;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 8.5rem 1.35rem 3rem;
  }

  h1 {
    max-width: 12ch;
    font-size: 3.65rem;
  }

  .visual {
    min-height: 18rem;
    place-items: end start;
  }

  .visual::before {
    width: 17rem;
    height: 17rem;
  }

  .hero-logo {
    width: min(18rem, 76%);
    padding: 2rem;
  }

  .orbit-one {
    width: 14rem;
    height: 14rem;
    transform: translate(4rem, 1rem);
  }

  .orbit-two {
    width: 23rem;
    height: 23rem;
    transform: translate(5rem, -1rem);
  }
}

@media (max-width: 560px) {
  .brand {
    top: 1.1rem;
  }

  .brand-mark {
    width: 3.65rem;
    height: 3.65rem;
  }

  .hero {
    padding-top: 7rem;
  }

  h1 {
    max-width: 11ch;
    font-size: 2.7rem;
    line-height: 1.02;
  }

  .lead {
    margin-top: 1.25rem;
    font-size: 1.02rem;
    line-height: 1.62;
  }

  .signup-form {
    flex-direction: column;
    width: calc(100% - 1.5rem);
    max-width: 22rem;
    min-height: 8.25rem;
  }

  .signup-form input[type="email"],
  .signup-form button {
    min-height: 3.65rem;
    width: 100%;
  }

  .visual {
    min-height: 15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
  }
}
