/* Shared styles for the Putty product landing pages (clipper + radio).
   Edit here once — both pages link this file. */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
}

body {
  /* off-white page background — borrowed from --color-bg-page (global.scss) */
  background-color: #faf8f5;
  color: #2c2c2c;
  font-family: -apple-system, BlinkMacSystemFont, "Inter Tight", "Segoe UI", Roboto, sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 96px 24px 120px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* Cross-product CTA, pinned top-right */
.topnav {
  position: fixed;
  top: 24px;
  right: 32px;
  z-index: 10;
}

.topnav a {
  display: inline-block;
  font-size: 16px;
  color: #666666;
  text-decoration: none;
  padding: 9px 16px;
  border: 1px solid #ede8e0;
  /* --color-border */
  border-radius: 999px;
  background: #fdfbf9;
  /* --color-bg-panel */
  transition: color 0.15s ease, border-color 0.15s ease;
}

.topnav a:hover {
  color: #1a1a1a;
  border-color: #d8d0c4;
}

/* Hero — large transparent PNG on the off-white bg. Fixed square frame keeps
   the layout stable while click-to-cycle swaps between frames (see hero.js). */
.hero {
  width: 100%;
  max-width: 560px;
  aspect-ratio: 1 / 1;
  height: auto;
  object-fit: contain;
  display: block;
  cursor: pointer;
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: opacity, transform;
}

.hero.is-swapping {
  opacity: 0;
  transform: scale(0.97);
}

.tagline {
  margin-top: 24px;
  color: #666666;
  font-size: 44px;
  font-weight: 400;
  letter-spacing: -0.01em;
  text-align: center;
  line-height: 1.4;
}

/* Narrow reading column for the marketing copy */
main {
  max-width: 640px;
  margin: 56px auto 0;
  width: 100%;
}

main p {
  font-size: 24px;
  line-height: 1.5;
  color: #2c2c2c;
}

main p+p {
  margin-top: 1.4em;
}

/* Mock waiting-list form, same narrow column as the copy */
.waitlist-wrap {
  max-width: 640px;
  width: 100%;
  margin: 48px auto 0;
}

.waitlist {
  display: flex;
  gap: 10px;
}

.waitlist input {
  flex: 1;
  font: inherit;
  font-size: 18px;
  padding: 14px 16px;
  border: 1px solid #ede8e0;
  border-radius: 10px;
  background: #fdfbf9;
  color: #2c2c2c;
}

.waitlist input::placeholder {
  color: #888888;
}

.waitlist button {
  font: inherit;
  font-size: 18px;
  padding: 14px 22px;
  border: none;
  border-radius: 10px;
  background: #1a1a1a;
  color: #faf8f5;
  cursor: pointer;
  transition: background 0.15s ease;
}

.waitlist button:hover {
  background: #2c2c2c;
}

.waitlist-note {
  font-size: 18px;
  color: #666666;
}

@media (max-width: 600px) {
  body {
    padding: 64px 20px 80px;
  }

  main p {
    font-size: 20px;
  }

  .tagline {
    font-size: 19px;
  }

  .topnav {
    top: 16px;
    right: 16px;
  }

  .waitlist {
    flex-direction: column;
  }
}

/* Faint edge glow around the whole page (#009170), non-interactive overlay */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  box-shadow: inset 0 0 140px 8px rgba(var(--glow-color, 0, 145, 112), 0.28);
}