:root {
  --green-dark: #2f5d3a;
  --green: #4a8a54;
  --green-light: #8fc98f;
  --cream: #fbf7ee;
  --brown: #6b4f2a;
  --olive: #7f9a5b;
  --sky-top: #cfe8f7;
  --sky-bottom: #eef7fb;
  --text: #2b2b2b;
  --muted: #6a6a6a;
}

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

html, body {
  height: 100%;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: linear-gradient(to bottom, var(--sky-top), var(--sky-bottom));
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 16px 140px;
  position: relative;
  overflow-x: hidden;
}

/* Sky decorations */
.sky {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.sun {
  position: absolute;
  top: 8%;
  right: 12%;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, #ffe680 0%, #ffd54a 60%, rgba(255, 213, 74, 0) 70%);
  box-shadow: 0 0 60px 20px rgba(255, 214, 74, 0.35);
  animation: pulse 6s ease-in-out infinite;
}

.cloud {
  position: absolute;
  background: #fff;
  border-radius: 100px;
  opacity: 0.9;
  animation: drift linear infinite;
}

.cloud::before,
.cloud::after {
  content: '';
  position: absolute;
  background: #fff;
  border-radius: 50%;
}

.cloud-1 { top: 15%; left: -160px; width: 140px; height: 40px; animation-duration: 60s; }
.cloud-1::before { width: 60px; height: 60px; top: -30px; left: 25px; }
.cloud-1::after  { width: 45px; height: 45px; top: -18px; left: 75px; }

.cloud-2 { top: 30%; left: -220px; width: 180px; height: 50px; animation-duration: 85s; animation-delay: -30s; }
.cloud-2::before { width: 80px; height: 80px; top: -40px; left: 30px; }
.cloud-2::after  { width: 60px; height: 60px; top: -25px; left: 100px; }

.cloud-3 { top: 8%; left: -120px; width: 100px; height: 30px; animation-duration: 45s; animation-delay: -15s; opacity: 0.7; }
.cloud-3::before { width: 45px; height: 45px; top: -22px; left: 18px; }
.cloud-3::after  { width: 35px; height: 35px; top: -14px; left: 55px; }

@keyframes drift {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(100vw + 260px)); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.06); }
}

/* Card */
.card {
  position: relative;
  z-index: 2;
  background: rgba(251, 247, 238, 0.92);
  backdrop-filter: blur(6px);
  border-radius: 20px;
  padding: 48px 32px;
  max-width: 560px;
  width: 100%;
  text-align: center;
  box-shadow: 0 20px 50px rgba(47, 93, 58, 0.18);
  animation: rise 0.9s ease-out both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.logo {
  color: var(--green-dark);
  margin-bottom: 12px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--green);
  font-weight: 500;
  margin-bottom: 8px;
}

h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2.2rem, 6vw, 3.4rem);
  color: var(--green-dark);
  line-height: 1.1;
  margin-bottom: 12px;
}

.tagline {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.coming-soon {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.5rem;
  color: var(--brown);
  margin-bottom: 28px;
}

/* Notify form */
.notify {
  display: flex;
  gap: 8px;
  max-width: 400px;
  margin: 0 auto;
}

.notify input {
  flex: 1;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid #d5d0c3;
  border-radius: 10px;
  font: inherit;
  background: #fff;
}

.notify input:focus {
  outline: 2px solid var(--green-light);
  border-color: var(--green);
}

.notify button {
  padding: 12px 18px;
  border: none;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  font: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
}

.notify button:hover {
  background: var(--green-dark);
}

.message {
  min-height: 1.4em;
  margin-top: 10px;
  font-size: 0.9rem;
  color: var(--green-dark);
}

.message.error {
  color: #b23a3a;
}

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

/* Field at the bottom */
.field {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 160px;
  z-index: 1;
  pointer-events: none;
}

.hills {
  position: absolute;
  bottom: 40px;
  left: -10%;
  width: 120%;
  height: 140px;
  background:
    radial-gradient(ellipse 40% 100% at 20% 100%, var(--green-light) 60%, transparent 61%),
    radial-gradient(ellipse 45% 100% at 60% 100%, var(--green) 60%, transparent 61%),
    radial-gradient(ellipse 40% 100% at 95% 100%, var(--green-light) 60%, transparent 61%);
}

/* Trees */
.trees {
  position: absolute;
  bottom: 44px;
  left: 0;
  right: 0;
  height: 110px;
}

.tree {
  position: absolute;
  bottom: 0;
  left: var(--x);
  transform: translateX(-50%) scale(var(--s, 1));
  transform-origin: bottom center;
  width: 40px;
  height: 70px;
}

/* Olive trees: detailed SVG symbol, optionally mirrored, with a gentle sway */
.tree.olive {
  width: 84px;
  height: 98px;
  overflow: visible;
  transform: translateX(-50%) scale(calc(var(--s, 1) * var(--flip, 1)), var(--s, 1));
  animation: sway 7s ease-in-out infinite;
  animation-delay: calc(var(--s, 1) * -3s);
}

@keyframes sway {
  0%, 100% { transform: translateX(-50%) scale(calc(var(--s, 1) * var(--flip, 1)), var(--s, 1)) rotate(0deg); }
  50%      { transform: translateX(-50%) scale(calc(var(--s, 1) * var(--flip, 1)), var(--s, 1)) rotate(1.2deg); }
}

/* Pine and round trees: simple CSS shapes */
.tree.pine::before,
.tree.round::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 6px;
  height: 26px;
  margin-left: -3px;
  background: var(--brown);
  border-radius: 2px;
}

.tree.pine::after,
.tree.round::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.tree.round::after {
  bottom: 20px;
  width: 36px;
  height: 36px;
  background: var(--green);
  border-radius: 50%;
}

.tree.pine::after {
  bottom: 18px;
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-bottom: 48px solid var(--green-dark);
}

.ground {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50px;
  background: var(--green-dark);
}

footer {
  position: fixed;
  bottom: 14px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.85);
  z-index: 2;
}

@media (max-width: 480px) {
  .card { padding: 36px 20px; }
  .notify { flex-direction: column; }
}
