@import url("https://fonts.googleapis.com/css2?family=Hanken+Grotesk:wght@300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Hedvig+Letters+Serif&display=swap");

:root {
  --bg: #f5f1e8;
  --bg-soft: #f3efe1;
  --panel: #fffaf0;
  --panel-soft: #efe7d9;
  --text: #36302d;
  --muted: #726b63;
  --brand: #b9653b;
  --brand-soft: #f2e2d4;
  --border: #ddd3c4;
  --shadow: 0 12px 30px rgba(53, 34, 20, 0.11);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

html, body {
  margin: 0;
  padding: 0;
  font-family: "Hanken Grotesk", "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(75.34% 250.77% at 50% 50%, var(--bg-soft) 0%, var(--bg) 45%, #ffd89b 100%);
  color: var(--text);
}

a {
  color: inherit;
}

.page {
  min-height: 100vh;
}

/* Main fills at least one viewport; footer sits below the fold until scroll */
.page > main {
  min-height: 100vh;
  box-sizing: border-box;
}

.container {
  width: min(1120px, 92%);
  margin: 0 auto;
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
}

.brand-mark {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--brand);
}

.nav-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.hero {
  padding: 44px 0 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: stretch;
}

.main-home {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.home-hero {
  padding: 24px 0 32px;
  width: 100%;
  max-width: 420px;
  margin: 0 auto;
}

.hero-panel {
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 245, 229, 0.95)),
    url("assets/splash-crates.jpg") center/cover no-repeat;
  box-shadow: var(--shadow);
  padding: 24px 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
  animation: panelGlow 7s ease-in-out infinite;
}

.hero-panel--minimal {
  background: transparent;
  border: none;
  box-shadow: none;
  animation: none;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(255, 250, 240, 0.9), rgba(255, 250, 240, 0.84));
}

.hero-panel--minimal.hero-panel::before {
  display: none;
}

.hero-panel > * {
  position: relative;
  z-index: 1;
}

.app-icon {
  width: 74px;
  height: 74px;
  border-radius: 18px;
  display: block;
  margin: 0 auto 12px;
  box-shadow: 0 10px 22px rgba(32, 18, 10, 0.24);
  animation: floatY 3.8s ease-in-out infinite;
}

.app-icon--static {
  animation: none;
}

.home-logo {
  height: 34px;
  width: auto;
  display: block;
  margin: 0 auto 16px;
}

.sprouting-soon {
  margin: 0;
  color: #233332;
  text-align: center;
  font-family: "Hedvig Letters Serif", Georgia, "Times New Roman", serif;
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: 36.669px;
}

.launch-line {
  margin: 0;
  color: var(--text);
  font-weight: 600;
  font-size: clamp(1.1rem, 3.5vw, 1.35rem);
}

.hero-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.visual-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}

.visual-tile {
  min-height: 138px;
  border-radius: 16px;
  background-size: cover;
  background-position: center;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.visual-tile.tall {
  grid-row: span 2;
  min-height: 286px;
}

.single-visual {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #fff;
  animation: floatSoft 4.4s ease-in-out infinite;
  margin-bottom: 16px;
}

.single-visual img {
  width: 100%;
  height: auto;
  display: block;
  transform-origin: center;
  animation: vanPulse 6s ease-in-out infinite;
}

.eyebrow {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand);
  font-size: 0.78rem;
  margin-bottom: 8px;
}

h1, h2 {
  margin: 0 0 14px;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(1.5rem, 3.2vw, 2.2rem);
}

p {
  color: var(--muted);
  line-height: 1.65;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

.store-label {
  color: var(--brand);
  font-weight: 600;
  font-size: 0.95rem;
}

.btn {
  border: 1px solid var(--brand);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  background: var(--brand);
  color: #fff;
}

.visual-card {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #fff, var(--panel));
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.visual-placeholder {
  min-height: 300px;
  border: 2px dashed #cfb69e;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #907965;
  text-align: center;
  padding: 24px;
}

.hero-image {
  width: 100%;
  height: auto;
  display: block;
}

.sections {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 15px 0 50px;
}

.feature {
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 18px;
}

.pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--brand-soft);
  color: var(--brand);
  font-size: 0.82rem;
}

.content-page {
  padding: 28px 0 55px;
}

.paper {
  border: 1px solid var(--border);
  background: linear-gradient(180deg, #fff, var(--panel));
  border-radius: 20px;
  padding: clamp(16px, 3vw, 30px);
  max-width: 860px;
  margin: 0 auto;
}

.policy-text {
  white-space: pre-wrap;
  color: #433a36;
  line-height: 1.55;
  font-size: 0.96rem;
}

.form-grid {
  display: grid;
  gap: 14px;
}

label {
  font-weight: 600;
  font-size: 0.92rem;
}

input, select, textarea {
  width: 100%;
  margin-top: 7px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  padding: 10px 12px;
  font: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.help-text {
  font-size: 0.9rem;
  color: var(--muted);
}

footer {
  border-top: 1px solid var(--border);
  padding: 20px 0;
  background: rgba(245, 241, 232, 0.85);
}

.footer-inner { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--text);
}

.sections { grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .hero-panel:not(.hero-panel--minimal) {
    padding: 30px 30px 34px;
  }

  .hero-panel--minimal {
    padding: 36px 32px 40px;
  }

  .footer-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .single-visual {
    margin-bottom: 0;
    height: 100%;
  }

  .single-visual img {
    height: 100%;
    object-fit: cover;
  }

  .content-page {
    padding-top: 44px;
  }
}

@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

@keyframes floatSoft {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

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

@keyframes panelGlow {
  0%, 100% { box-shadow: 0 12px 30px rgba(53, 34, 20, 0.11); }
  50% { box-shadow: 0 18px 42px rgba(185, 101, 59, 0.2); }
}

/* —— Figma landing (node 1473:5323) —— */
.page--landing {
  background: #f7efdd;
}

html:has(.page--landing),
body:has(.page--landing) {
  background: #f7efdd;
  margin: 0;
}

.body--landing footer,
body:has(.page--landing) > footer {
  display: none !important;
}

.page--landing > .landing {
  min-height: 100vh;
  min-height: 100dvh;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.landing__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(2.5rem, 6vw, 7.5rem) clamp(1rem, 4vw, 2rem) clamp(1.5rem, 3vw, 3rem);
}

.landing__logo {
  width: clamp(9rem, 19vw, 22.75rem);
  height: auto;
  display: block;
}

.landing__tagline {
  margin: clamp(1.5rem, 3.2vw, 3.5rem) 0 0;
  padding: 0;
  color: #233332;
  text-align: center;
  font-family: "Hedvig Letters Serif", Georgia, "Times New Roman", serif;
  font-size: clamp(1.75rem, 2.92vw, 3.5025rem);
  font-style: normal;
  font-weight: 400;
  line-height: 1.41034;
  letter-spacing: -0.01em;
}

.landing__tagline-line {
  white-space: nowrap;
}

.landing__stores {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 4vw, 4.91rem);
  margin-top: clamp(1.5rem, 3vw, 3rem);
  width: 100%;
  max-width: min(95vw, 51.4rem);
}

.store-badge {
  display: block;
  width: clamp(9rem, 24vw, 22.875rem);
  height: auto;
  aspect-ratio: 366 / 114;
  flex: 0 0 auto;
}

.landing__illustration-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: auto;
  line-height: 0;
}

.landing__illustration-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: clamp(2rem, 6vw, 5rem);
  background: linear-gradient(to bottom, #f7efdd 0%, rgba(247, 239, 221, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.landing__illustration {
  display: block;
  margin: 0 auto;
  width: 100%;
  height: auto;
}

.landing__illustration--desktop {
  max-width: 1210px;
  aspect-ratio: 1210 / 400;
  object-fit: cover;
  object-position: center bottom;
}

.landing__illustration--mobile {
  display: none;
}

@media (max-width: 767px) {
  .landing__illustration--desktop {
    display: none;
  }

  .landing__illustration--mobile {
    display: block;
    max-width: none;
    width: 100%;
    object-fit: cover;
  }

  .landing__stores {
    gap: 1rem;
  }

  .store-badge {
    width: clamp(8.5rem, 40vw, 18rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing__illustration {
    opacity: 1;
  }
}
