/* Roots and Rants landing — design tokens from app */
:root {
  --cement: #F2F0E9;
  --potting-mix: #1A1A1B;
  --orange: #FF6B00;
  --lime: #CCFF00;
  --watermelon: #FF063C;
  --plum: #6B2D5C;
  --dirt: #452717;
  --radius: 12px;
}

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

body {
  background-color: var(--cement);
  color: var(--potting-mix);
  font-family: 'Courier Prime', monospace;
  overflow-x: hidden;
}

h1, h2, h3 {
  font-family: 'Luckiest Guy', cursive;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-weight: 400;
}

/* --- MARQUEE --- */
.marquee {
  background: var(--lime);
  border-top: 5px solid var(--potting-mix);
  border-bottom: 5px solid var(--potting-mix);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
  font-family: 'Luckiest Guy';
  font-size: 1.5rem;
  border-radius: 0;
}

.marquee-content {
  display: inline-block;
  animation: scroll 20s linear infinite;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* --- HERO (solid background, rounded boxes) --- */
.hero {
  padding: 100px 20px;
  text-align: center;
  position: relative;
  background: var(--cement);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: block;
}

.hero-copy {
  flex: 1 1 0;
  max-width: 640px;
}

.hero .logo-wrap {
  margin-bottom: 24px;
}

.hero .logo-wrap img {
  max-width: 280px;
  height: auto;
  display: inline-block;
}

.hero h1 {
  font-size: clamp(2rem, 8vw, 5rem);
  line-height: 1.1;
  margin-bottom: 20px;
  transform: rotate(-1deg);
  letter-spacing: 0.03em;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.hero-lower {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  text-align: left;
}

.hero p {
  max-width: 800px;
  margin: 0 0 24px;
  font-size: 1.2rem;
  font-weight: 700;
  background: white;
  padding: 20px;
  border: 4px solid var(--potting-mix);
  box-shadow: 10px 10px 0 var(--orange);
  border-radius: var(--radius);
}

/* --- GET IN TOUCH FORM --- */
.get-in-touch {
  max-width: 480px;
  margin: 0 0 40px;
  padding: 32px;
  background: white;
  border: 4px solid var(--potting-mix);
  box-shadow: 10px 10px 0 var(--orange);
  border-radius: var(--radius);
  text-align: left;
}

.get-in-touch label {
  display: block;
  font-family: 'Luckiest Guy';
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.get-in-touch input[type="email"] {
  width: 100%;
  padding: 14px 16px;
  font-family: 'Courier Prime', monospace;
  font-size: 1rem;
  border: 3px solid var(--potting-mix);
  border-radius: 8px;
  margin-bottom: 16px;
}

.get-in-touch .form-message {
  min-height: 24px;
  margin-bottom: 12px;
  font-weight: 700;
}

.get-in-touch .form-message.success { color: var(--dirt); }
.get-in-touch .form-message.error { color: var(--watermelon); }

.cta-btn {
  display: inline-block;
  background: var(--watermelon);
  color: white;
  padding: 18px 40px;
  font-family: 'Luckiest Guy';
  font-size: 1.5rem;
  text-decoration: none;
  border: 5px solid var(--potting-mix);
  box-shadow: 8px 8px 0 var(--potting-mix);
  transition: 0.1s;
  cursor: pointer;
  border-radius: var(--radius);
  border: none;
  border: 5px solid var(--potting-mix);
}

.cta-btn:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0 var(--potting-mix);
  background: var(--orange);
}

.cta-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.hero-roots {
  flex: 0 0 auto;
}

.hero-roots img {
  max-width: 280px;
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 900px) {
  .hero-lower {
    flex-direction: column;
    align-items: center;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero h1 {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero p,
  .get-in-touch {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-roots img {
    max-width: 260px;
  }
}

/* --- FEATURES (rounded cards) --- */
.features {
  padding: 80px 20px;
  background: var(--dirt);
  color: var(--cement);
}

.features h2 {
  font-size: 3rem;
  color: var(--lime);
  margin-bottom: 50px;
  text-align: center;
}

.feature-list {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-end;
}

.feature-row {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  max-width: 900px;
  justify-content: flex-end;
}

.card {
  padding: 40px;
  border: 4px solid var(--cement);
  transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  border-radius: var(--radius);
  flex: 1 1 0;
}

.card:hover {
  transform: scale(1.05) rotate(2deg);
  z-index: 10;
  border-color: var(--lime);
}

.card h3 { font-size: 2.5rem; margin-bottom: 10px; }

.card-digby { background: var(--plum); }
.card-wiggo { background: var(--orange); }
.card-rant { background: var(--watermelon); }
.card-roots { background: var(--lime); color: var(--potting-mix); }

.feature-character {
  width: 140px;
  max-width: 30vw;
  height: auto;
  display: block;
}

.feature-character-roots {
  width: 140px;
  max-width: 24vw;
}

@media (max-width: 900px) {
  .features h2 {
    text-align: center;
  }

  .feature-list {
    align-items: stretch;
  }

  .feature-row {
    flex-direction: row-reverse;
    justify-content: space-between;
  }

  .feature-character {
    width: 96px;
  }
}

/* --- GARDEN HORRORS --- */
.horror-section {
  padding: 80px 20px 100px;
  background: linear-gradient(135deg, var(--cement) 0%, #fff5f7 40%, #ffe6e9 100%);
  border-top: 8px solid var(--potting-mix);
  border-bottom: 8px solid var(--potting-mix);
}

.horror-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.horror-copy {
  flex: 1 1 0;
}

.horror-section h2 {
  color: var(--watermelon);
  font-size: 2.6rem;
  margin-bottom: 12px;
  text-align: left;
}

.horror-intro {
  font-weight: 700;
  margin-bottom: 20px;
}

.horror-card {
  background: white;
  border-radius: var(--radius);
  border: 4px solid var(--potting-mix);
  box-shadow: 10px 10px 0 var(--watermelon);
  padding: 24px 28px;
}

.horror-card ul {
  list-style: none;
  padding-left: 0;
  font-weight: bold;
  margin-bottom: 20px;
}

.horror-card li {
  margin-bottom: 10px;
}

.horror-card li::before {
  content: "— ";
}

.horror-help h3 {
  font-family: 'Luckiest Guy', cursive;
  font-size: 1.8rem;
  color: var(--orange);
  margin-bottom: 6px;
}

.horror-outro {
  font-weight: bold;
  color: var(--dirt);
}

.horror-wiggo {
  flex: 0 0 260px;
  text-align: center;
}

.horror-wiggo img {
  max-width: 260px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 12px;
}

.horror-caption {
  font-weight: 700;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .horror-inner {
    flex-direction: column-reverse;
    align-items: stretch;
  }

  .horror-section h2 {
    text-align: center;
  }

  .horror-intro {
    text-align: center;
  }

  .horror-wiggo {
    margin-bottom: 20px;
  }
}

/* --- FOOTER (rounded top corners) --- */
footer {
  background: var(--dirt);
  color: var(--cement);
  padding: 80px 20px 40px;
  border-top: 15px solid var(--potting-mix);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-nav h4 {
  font-family: 'Luckiest Guy';
  color: var(--lime);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 60px;
  padding-top: 20px;
  text-align: center;
  opacity: 0.7;
}
