/* Homestead Tycoon — landing page. Cozy palette that matches the game. Single stylesheet, easy to edit. */
:root {
  --wood: #6e4422; --wood-dark: #553318; --cream: #f7eccf; --parch: #fbf3da;
  --ink: #4a3a26; --green: #4f9e3c; --green-dk: #3f7a33; --gold: #e0a82c; --sky: #cfe7f5;
  --font: 'Nunito', 'Trebuchet MS', 'Segoe UI', system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--parch); line-height: 1.55; }
h2 { font-size: clamp(24px, 4vw, 36px); color: var(--wood); text-align: center; margin: 0 0 8px; }
h3 { margin: 10px 0 6px; color: var(--wood); font-size: 19px; }
a { color: var(--green-dk); }

/* HERO */
.hero {
  position: relative; min-height: 88vh; display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(20,30,16,.35), rgba(20,30,16,.72)), url('assets/hero.png') center/cover no-repeat;
  color: #fff8ea;
}
.nav { display: flex; justify-content: space-between; align-items: center; padding: 16px 22px; }
.brand { font-weight: 900; font-size: 18px; text-shadow: 0 2px 6px rgba(0,0,0,.5); }
.nav-cta { color: #fff; background: var(--green); padding: 8px 16px; border-radius: 10px; text-decoration: none; font-weight: 800; box-shadow: 0 3px 0 var(--green-dk); }
.hero-inner { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px 20px 60px; }
.wordmark { width: min(560px, 86vw); max-height: 260px; object-fit: contain; filter: drop-shadow(0 6px 18px rgba(0,0,0,.5)); }
.tagline { font-size: clamp(18px, 2.6vw, 26px); font-weight: 800; margin: 8px 0 22px; text-shadow: 0 2px 10px rgba(0,0,0,.6); max-width: 640px; }
.cta-row { display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.sub { margin-top: 18px; font-size: 14px; opacity: .92; text-shadow: 0 1px 6px rgba(0,0,0,.6); }

/* BUTTONS */
.btn { display: inline-block; text-decoration: none; font-weight: 800; font-size: 16px; padding: 13px 24px; border-radius: 13px; cursor: pointer; transition: transform .08s ease; }
.btn:active { transform: translateY(2px); }
.btn-primary { color: #fff; background: linear-gradient(180deg, #5fb23c, var(--green-dk)); box-shadow: 0 5px 0 #2f6626; }
.btn-ghost { color: #fff8ea; background: rgba(255,255,255,.14); border: 2px solid rgba(255,255,255,.5); }
.btn.big { font-size: 19px; padding: 16px 34px; }

/* FEATURES */
.features { max-width: 1080px; margin: 0 auto; padding: 70px 20px 40px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-top: 26px; }
.card { background: #fff; border: 2px solid #e6d2a2; border-radius: 16px; padding: 22px; box-shadow: 0 6px 16px rgba(120,90,50,.12); }
.card p { margin: 0; font-size: 14.5px; color: #5a4a34; }
.emoji { font-size: 34px; }

/* SHOWCASE */
.showcase { max-width: 1000px; margin: 20px auto 10px; padding: 0 20px; text-align: center; }
.shot img { width: 100%; border-radius: 18px; border: 4px solid var(--wood); box-shadow: 0 12px 30px rgba(0,0,0,.25); display: block; }
.cap { color: #6a5530; font-weight: 700; margin-top: 12px; }

/* WAITLIST */
.waitlist { text-align: center; padding: 64px 20px; background: linear-gradient(180deg, #fff6df, #f5e7c4); }
.waitlist > p { max-width: 560px; margin: 6px auto 20px; color: #5a4a34; font-size: 16px; }
.wl-form { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; }
.wl-form input { flex: 1; min-width: 200px; font-family: var(--font); font-size: 16px; padding: 13px 15px; border: 2px solid #d8bf86; border-radius: 12px; background: #fffdf6; color: var(--ink); outline: none; }
.wl-form input:focus { border-color: var(--green); }
.wl-msg { min-height: 20px; font-weight: 800; font-size: 14px; margin: 14px 0 0; }
.wl-msg.ok { color: var(--green-dk); }
.wl-msg.err { color: #b03a1e; }
.wl-fine { font-size: 12px !important; opacity: .7; margin-top: 10px !important; }

/* DOWNLOAD */
.download { text-align: center; padding: 64px 20px; margin-top: 0; background: linear-gradient(180deg, #eaf6df, #dff0d2); }
.download p { max-width: 520px; margin: 6px auto 20px; color: #3f5a30; font-size: 16px; }
.platforms { font-size: 13px !important; opacity: .8; margin-top: 16px !important; }

/* FOOTER */
.footer { text-align: center; padding: 26px 20px 34px; color: #7a6242; font-size: 13.5px; background: var(--cream); }
.footer .dot { margin: 0 8px; opacity: .5; }
