/* Housepane landing page: one card per demo, then the offer. Shared look comes from styles.css. */
.home-hero { max-width: 1100px; margin: 0 auto; padding: clamp(36px, 7vw, 80px) clamp(16px, 4vw, 48px) 28px; }
.home-hero h1 { font-family: var(--serif); font-weight: 500; font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.1; margin: 8px 0 14px; max-width: 18ch; }
.home-hero .lead { max-width: 60ch; }
/* text left, a muted looping recording of the demos right; stacked on narrow screens */
.home-hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 4vw, 48px); align-items: center; }
.hero-clip { margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); box-shadow: 0 18px 44px rgba(29, 35, 32, .14); background: var(--card); aspect-ratio: 16 / 10; }
.hero-clip video { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .home-hero { grid-template-columns: 1fr; } }

.picks { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 28px); max-width: 1100px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 48px); }
.pick { display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; color: inherit; text-decoration: none;
  transition: transform .2s, box-shadow .2s, border-color .2s; }
.pick:hover, .pick:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(29, 35, 32, .12); border-color: var(--accent); }
.pick img { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.pick div { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 22px; }
.pick h2 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; margin: 4px 0 8px; }
.pick p:not(.eyebrow) { color: var(--muted); margin: 0 0 18px; flex: 1; }
.pick .btn { align-self: flex-start; }

.offer-strip { display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; max-width: calc(1100px - 2 * clamp(16px, 4vw, 48px));
  margin: clamp(20px, 3vw, 32px) auto 0; padding: 24px 26px; border-radius: 14px; background: var(--ink); color: #e9ece9; }
.offer-strip h2 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; margin: 0 0 4px; color: #fff; }
.offer-strip p { margin: 0; color: #c9d0cb; max-width: 56ch; }
.offer-strip .btn { background: #fff; color: var(--ink); }
.home-foot { margin-top: clamp(28px, 5vw, 56px); }

@media (max-width: 900px) {
  .picks { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .offer-strip { margin-left: clamp(16px, 4vw, 48px); margin-right: clamp(16px, 4vw, 48px); }
}
.nw { white-space: nowrap; }
/* the home header keeps its Offer link on phones; the shared header hides text links under 640px */
@media (max-width: 640px) { .top nav a.keep:not(.btn):not(.lang) { display: inline; } }
@media (max-width: 400px) { .top nav a.keep { font-size: .88rem; } }
