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

::selection {
  background: #FFD700;
  color: #000;
}

body {
  font-family: "Figtree", "Helvetica Neue", Arial, sans-serif;
  min-height: 100vh;
  background: #FFFEFA;
  color: #111111;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 2rem;
}

/* Film grain overlay */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

/* --- HEADER ROW (UFOs flanking title) --- */

.header-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

.header-ufo {
  width: 32px;
  height: auto;
  opacity: 0.7;
}

.header-ufo-left {
  transform: rotate(-20deg);
}

.header-ufo-right {
  transform: rotate(20deg) scaleX(-1);
}

/* --- SITE HEADER --- */

.site-header {
  text-align: center;
  margin-bottom: 1rem;
  text-decoration: none;
  display: block;
}

.site-title {
  display: inline-block;
  font-family: "Anybody", sans-serif;
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  font-weight: 700;
  letter-spacing: 0.25em;
  color: #111111;
  text-transform: uppercase;
  background: #FFE033;
  padding: 0.45rem 1rem;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 2px;
  box-shadow:
    0 0 6px rgba(255, 224, 51, 0.6),
    0 0 14px rgba(255, 224, 51, 0.35),
    0 0 30px rgba(255, 224, 51, 0.15);
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.site-sub {
  display: block;
  font-size: clamp(0.65rem, 1.5vw, 0.78rem);
  color: #6B6B6B;
  font-style: italic;
  letter-spacing: 0.08em;
  margin-top: 0.15rem;
}

/* --- WINDOW (homepage — no border) --- */

.window {
  width: 92%;
  max-width: 720px;
  min-width: 300px;
  overflow: visible;
  position: relative;
}

/* --- COPY (homepage) --- */

.copy {
  padding: 1rem 0.5rem 0.5rem;
}

.copy h1 {
  font-family: "Figtree", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(2rem, 6vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 0.6rem;
  color: #111111;
  text-transform: uppercase;
}

.copy p {
  font-size: clamp(1rem, 2.1vw, 1.13rem);
  line-height: 1.6;
  color: #111111;
  margin-bottom: 0.55rem;
}

.copy blockquote {
  border-left: 3px solid #FFE033;
  padding-left: 1rem;
  margin: 0.55rem 0;
  font-size: clamp(1rem, 2.1vw, 1.13rem);
  line-height: 1.6;
  color: #111111;
}

/* --- EMAIL FORM --- */

.email-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.8rem;
  margin-bottom: 0.5rem;
  width: 100%;
}

.email-form input {
  font-family: inherit;
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  padding: 0.75rem 0.85rem;
  border: 2px solid #D4CFC4;
  border-radius: 2px;
  flex: 1 1 180px;
  min-width: 0;
  min-height: 48px;
  background: #FAFAF7;
  color: #111111;
  transition: border-color 0.2s;
}

.email-form input:focus {
  outline: none;
  border-color: #FFD700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.15);
}

.email-form input::placeholder {
  color: #AAA59A;
}

.email-form button {
  font-family: "Anybody", sans-serif;
  font-size: clamp(1.1rem, 2.5vw, 1.25rem);
  font-weight: 700;
  padding: 0.75rem 1.8rem;
  min-height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 2px;
  background: #FFE033;
  color: #000;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.3s, box-shadow 0.3s, transform 0.15s;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
  box-shadow:
    0 0 6px rgba(255, 224, 51, 0.6),
    0 0 14px rgba(255, 224, 51, 0.35),
    0 0 30px rgba(255, 224, 51, 0.15);
}

.email-form button:hover {
  background: #FFEA00;
  color: #000;
  box-shadow:
    0 0 8px rgba(255, 234, 0, 0.8),
    0 0 20px rgba(255, 234, 0, 0.5),
    0 0 40px rgba(255, 234, 0, 0.25);
  transform: translateY(-2px);
}

.email-form button:active {
  transform: translateY(0);
  box-shadow:
    0 0 4px rgba(255, 224, 51, 0.5),
    0 0 10px rgba(255, 224, 51, 0.3);
}

/* --- SCENE (ufo + grass) --- */

.scene {
  position: relative;
  width: 100%;
}

/* Hidden on mobile */
.ufo {
  display: none;
}

.grass-wrapper {
  display: none;
}

@keyframes ufo-hover {
  0%, 100% { transform: rotate(30deg) translateY(0); }
  50% { transform: rotate(30deg) translateY(-6px); }
}

/* --- EARTH ROW (three images between copy and FAQ) --- */

.earth-row {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: clamp(0.3rem, 1.5vw, 0.8rem);
  width: clamp(60%, 72%, 560px);
  max-width: 560px;
  margin: -0.5rem auto 0;
  padding: 0.15rem 0 0.4rem;
  overflow: hidden;
}

.earth-row img {
  flex: 1 1 0;
  min-width: 0;
  height: auto;
}

/* --- FAQ --- */

.faq {
  width: 92%;
  max-width: 720px;
  min-width: 300px;
  margin-top: 1rem;
  padding: 0;
}

.faq h1 {
  font-family: "Figtree", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(1.6rem, 4.5vw, 2.2rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-align: center;
  color: #111111;
}

.faq p {
  font-size: clamp(1.05rem, 2.2vw, 1.18rem);
  line-height: 1.6;
  color: #111111;
  margin-bottom: 0.5rem;
}

.faq p strong {
  font-weight: 700;
}

.faq p + p strong {
  display: inline-block;
  margin-top: 0.6rem;
}

.faq a {
  color: #2D3A1F;
  text-decoration: underline;
  text-decoration-color: #FFD700;
  text-underline-offset: 3px;
  transition: color 0.2s;
}

.faq a:hover {
  color: #FFD700;
}

/* --- PAGE CONTENT (privacy, terms) --- */

.page {
  width: 100%;
  max-width: 720px;
  padding: 0 1.5rem;
  margin-top: 1rem;
}

.page h1 {
  font-size: clamp(1.6rem, 5vw, 2.4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.page h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 1.8rem;
  margin-bottom: 0.4rem;
}

.page p {
  font-size: 1.1rem;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.72);
  margin-bottom: 0.6rem;
}

.page ul {
  font-size: 1.1rem;
  line-height: 1.55;
  color: rgba(0, 0, 0, 0.72);
  margin-bottom: 0.6rem;
  margin-left: 1.2rem;
}

.page a {
  color: rgba(0, 0, 0, 0.72);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.page a:hover {
  color: rgba(0, 0, 0, 0.88);
}

/* --- FOOTER --- */

footer {
  margin-top: 2rem;
  font-size: 0.8rem;
  color: #AAA59A;
  padding-bottom: 1rem;
}

footer a {
  color: #AAA59A;
  text-decoration: none;
  transition: color 0.2s;
}

footer a:hover {
  color: #111111;
}

/* --- REDUCED MOTION --- */

@media (prefers-reduced-motion: reduce) {
  .ufo {
    animation: none;
  }
}

/* --- DESKTOP / TABLET (641px+) --- */

@media (min-width: 641px) {
  .header-ufo {
    width: 36px;
  }

  .window {
    width: 66%;
  }

  .copy {
    padding: 2rem 1rem 1.2rem;
  }

  .faq {
    width: 66%;
  }

  .email-form {
    flex-wrap: nowrap;
    position: relative;
    z-index: 5;
  }

  /* Make scene static so UFO positions relative to .window */
  .scene {
    position: static;
  }

  /* Grass — in front of UFO and beam */
  .grass-wrapper {
    display: block;
    width: 100%;
    line-height: 0;
    overflow: hidden;
    height: clamp(100px, 14vw, 160px);
    position: relative;
    z-index: 3;
  }

  .grass-wrapper img {
    width: 100%;
    display: block;
    position: absolute;
    bottom: -20%;
    left: 0;
  }

  /* UFO — positioned relative to .window, behind grass */
  .ufo {
    display: block;
    position: absolute;
    width: clamp(130px, 18vw, 220px);
    right: clamp(-12%, -8vw, -4%);
    bottom: -8%;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.12));
    opacity: 0.85;
    transform: rotate(30deg);
    transform-origin: center center;
    z-index: 1;
    animation: ufo-hover 4s ease-in-out infinite;
    pointer-events: none;
  }

  .earth-row {
    width: 52%;
    max-width: 460px;
  }

  .page {
    padding: 0 2.5rem;
  }

  .page p {
    font-size: 1.15rem;
  }
}
