/* The landing page only (src/pages/landing.ts), on top of styles.css.
   Everything is under .lp so nothing here can touch a share page.
   One font file, served from this site: no font host sees a visitor. */
@font-face {
  font-family: "Bricolage Grotesque";
  src: url("/fonts/bricolage-800.woff2") format("woff2");
  font-weight: 800; font-style: normal; font-display: swap;
}
.lp {
  --o: #e8590c;        /* brand orange: big white type sits on it, small text on it is dark */
  --o-deep: #cc4a06;   /* orange that small white text can sit on (the Bojio button) */
  --o-text: #b33f0a;   /* orange for small text on white */
  --o2: #ff7b33;       /* orange on dark */
  --ink: #121212;
  --ink2: #1e1e1e;
  --paper: #fffbf7;
  --soft: #5c534d;
  --display: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  background: var(--paper); color: #1c1917; overflow: hidden;
}
.lp h1, .lp h2 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; text-wrap: balance; }
.lp em { font-style: normal; }
.lp-i { width: 1em; height: 1em; fill: currentColor; flex: none; }

/* ----- opening line + photo pile ----- */
.lp-hero { padding: 30px 20px 0; }
.lp-hero h1 { font-size: clamp(46px, 13.5vw, 64px); line-height: 0.94; }
.lp-hero h1 em { color: var(--o); }
.lp-hero p { margin-top: 14px; font-size: 17px; color: var(--soft); max-width: 36ch; }
.lp-stores { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.lp-store {
  min-width: 150px; padding: 9px 16px; border-radius: 14px; background: #1c1917; color: #fff;
  display: flex; flex-direction: column; line-height: 1.25; text-decoration: none;
}
.lp-store small { font-size: 12px; color: #c4bcb6; }
.lp-store b { font-size: 16px; }
a.lp-store:hover { background: #33302d; color: #fff; }

.lp-pile { position: relative; max-width: 400px; aspect-ratio: 340 / 300; margin: 24px auto 0; }
.lp-print {
  position: absolute; margin: 0; width: 44%; background: #fff; color: #1c1917;
  padding: 6px 6px 8px; border-radius: 12px; box-shadow: 0 10px 26px rgba(60, 30, 10, 0.22);
  transition: transform 0.25s ease;
}
.lp-print img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; }
.lp-print figcaption { padding: 6px 2px 0; font-size: 12px; line-height: 1.3; font-weight: 700; white-space: nowrap; }
.lp-print figcaption b { display: block; overflow: hidden; text-overflow: ellipsis; }
.lp-print figcaption span { display: block; color: var(--o-text); }
.lp-print.p1 { left: 2%; top: 9%; transform: rotate(-9deg); }
.lp-print.p2 { right: 2%; top: 5%; transform: rotate(8deg); }
.lp-print.p2 figcaption { text-align: right; } /* its left half sits under the middle photo */
.lp-print.p3 { left: 28%; top: 15%; transform: rotate(-1deg); z-index: 2; }
.lp-chip {
  position: absolute; z-index: 3; right: 5%; bottom: 3%; transform: rotate(6deg);
  background: var(--o); color: #fff; font-family: var(--display); font-weight: 800; font-size: 19px;
  padding: 7px 15px; border-radius: 18px 18px 18px 5px; box-shadow: 0 6px 16px rgba(60, 30, 10, 0.25);
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .lp-pile:hover .p1 { transform: rotate(-13deg) translate(-5%, -2%); }
  .lp-pile:hover .p2 { transform: rotate(12deg) translate(5%, -2%); }
  .lp-pile:hover .p3 { transform: rotate(1deg) translateY(-3%); }
}

/* ----- the chat ----- */
.lp-talk { margin-top: 18px; padding: 32px 0 30px; border-radius: 28px 28px 0 0; background: var(--ink); color: #f2f2f2; }
.lp-talk h2 { max-width: 440px; margin: 0 auto; padding: 0 20px; font-size: 36px; line-height: 1; }
.lp-talk h2 em { color: var(--o2); }
.lp-chat { max-width: 440px; margin: 0 auto; padding: 12px 16px 0; display: flex; flex-direction: column; gap: 8px; }
.lp-who { font-size: 12px; color: #a3a3a3; margin: 6px 0 -3px 6px; }
.lp-who.me { align-self: flex-end; margin: 6px 6px -3px 0; }
.lp-bub {
  align-self: flex-start; max-width: 80%; padding: 10px 14px; font-size: 16px;
  border-radius: 18px 18px 18px 5px; background: #272727; color: #f2f2f2;
}
.lp-bub.me { align-self: flex-end; border-radius: 18px 18px 5px 18px; background: var(--o); color: #fff; }
.lp-bub.big { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.1; padding: 11px 16px; }
.lp-bub.pic { width: 64%; padding: 5px; }
.lp-bub.pic img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.lp-bub.pic span { display: block; padding: 7px 6px 3px; font-size: 13px; color: #d9d2cc; }
.lp-bub.pic b { display: block; font-size: 15px; color: #fff; }
.lp-sys { align-self: center; text-align: center; margin: 4px 0; font-size: 12px; color: #a3a3a3; }
.lp-plan { display: flex; align-items: center; gap: 10px; padding: 12px; border-radius: 16px; background: #fff; color: #1a1a1a; }
.lp-date {
  flex: none; width: 46px; padding: 6px 0; border-radius: 10px; background: #fff0e6; color: var(--o-text);
  text-align: center; font-weight: 800; font-size: 18px; line-height: 1.1;
}
.lp-date small { display: block; font-size: 10px; letter-spacing: 0.08em; }
.lp-what { flex: 1; min-width: 0; font-size: 13px; color: #666; }
.lp-what b { display: block; font-size: 15px; color: #1a1a1a; }
.lp-faces { display: flex; padding-left: 7px; }
.lp-faces span {
  width: 26px; height: 26px; margin-left: -7px; border-radius: 50%; border: 2px solid #fff;
  display: grid; place-items: center; font-size: 11px; font-weight: 800;
}
.lp-faces .f1 { background: #ffd9bf; color: #7a2e06; }
.lp-faces .f2 { background: #cde7d8; color: #1f5a3a; }
.lp-faces .f3 { background: #d6dcf5; color: #2b3a7a; }

/* ----- the loud blocks ----- */
.lp-blk { padding: 46px 20px; }
.lp-in { max-width: 1040px; margin: 0 auto; display: flex; flex-direction: column; gap: 24px; }
.lp-say h2 { font-size: clamp(68px, 21vw, 104px); line-height: 0.9; }
.lp-say p { margin-top: 14px; font-size: 17px; max-width: 38ch; }
.lp-blk.orange { background: var(--o); color: #fff; }
.lp-blk.orange .lp-say p { color: #1c1917; font-weight: 500; }
.lp-blk.paper .lp-say h2 { color: var(--o); }
.lp-blk.paper .lp-say p { color: var(--soft); }
.lp-blk.dark { background: var(--ink2); color: #f2f2f2; }
.lp-blk.dark .lp-say p { color: #c4bcb6; }
.lp-blk.where .lp-say h2 { font-size: clamp(42px, 12vw, 64px); line-height: 0.98; letter-spacing: -0.02em; color: #1c1917; }
.lp-blk.where .lp-say h2 em { color: var(--o); }

.lp-duo { position: relative; width: 100%; max-width: 400px; aspect-ratio: 340 / 266; margin: 0 auto; }
.lp-duo .lp-print { box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35); }
.lp-print.d1 { left: 4%; top: 3%; transform: rotate(-7deg); }
.lp-print.d2 { right: 4%; top: 8%; transform: rotate(6deg); }

/* drawn app screens */
.lp-screen { width: 100%; max-width: 400px; margin: 0 auto; display: flex; flex-direction: column; gap: 10px; }
.lp-cal { padding: 14px; border-radius: 16px; background: #fff; color: #1a1a1a; box-shadow: 0 6px 22px rgba(60, 30, 10, 0.12); display: flex; flex-direction: column; gap: 10px; }
.lp-cal-top { display: flex; justify-content: space-between; align-items: center; font-weight: 700; font-size: 15px; }
.lp-cal-top span { padding: 3px 9px; border-radius: 999px; background: #fff0e6; color: var(--o-text); font-size: 12px; }
.lp-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.lp-days div { aspect-ratio: 1; border-radius: 8px; background: #f4f1ee; color: #7a726b; font-size: 11px; display: grid; place-items: center; overflow: hidden; }
.lp-days img { width: 100%; height: 100%; object-fit: cover; }
.lp-row {
  display: flex; align-items: center; gap: 10px; padding: 8px 12px 8px 8px; border-radius: 14px;
  background: #fff; color: #666; font-size: 12px; box-shadow: 0 3px 12px rgba(60, 30, 10, 0.1);
}
.lp-row img { flex: none; width: 46px; height: 46px; border-radius: 10px; object-fit: cover; }
.lp-row-text { flex: 1; min-width: 0; }
.lp-row b { display: block; font-size: 14px; color: #1a1a1a; }
.lp-row i { flex: none; font-style: normal; font-family: var(--display); font-weight: 800; font-size: 13px; color: var(--o-text); white-space: nowrap; }
.lp-stars { flex: none; display: inline-flex; gap: 1px; font-size: 14px; color: var(--o); }
.lp-stars .off { opacity: 0.28; }

.lp-post { padding: 12px; border-radius: 18px; background: #fff; color: #1a1a1a; display: flex; flex-direction: column; gap: 9px; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35); }
.lp-post-who { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.lp-av { width: 28px; height: 28px; border-radius: 50%; background: #ffd9bf; color: #7a2e06; display: grid; place-items: center; font-weight: 800; font-size: 13px; }
.lp-post-who b { flex: 1; }
.lp-post-who i { font-style: normal; font-size: 12px; color: #6b6b6b; }
.lp-post > img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 12px; }
.lp-post-dish { font-weight: 700; font-size: 16px; }
.lp-post-place { display: flex; align-items: center; gap: 4px; font-weight: 600; font-size: 13px; color: var(--o-text); }
.lp-post-acts { display: flex; align-items: center; gap: 12px; font-size: 20px; }
.lp-post-acts small { margin-left: -8px; font-size: 12px; font-weight: 600; color: #6b6b6b; }
.lp-bj { margin-left: auto; padding: 8px 16px; border-radius: 999px; background: var(--o-deep); color: #fff; font-size: 14px; font-weight: 900; }

.lp-map { position: relative; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: #ece9e6; box-shadow: 0 6px 22px rgba(60, 30, 10, 0.12); }
.lp-map::before {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(115deg, transparent 47%, #fff 47% 50%, transparent 50%),
    linear-gradient(20deg, transparent 60%, #fff 60% 62.5%, transparent 62.5%),
    linear-gradient(80deg, transparent 28%, #fff 28% 30%, transparent 30%);
}
.lp-heat { position: absolute; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(232, 89, 12, 0.62), rgba(255, 123, 51, 0.22) 55%, transparent 72%); }
.lp-heat.h1 { width: 52%; left: -6%; top: 16%; }
.lp-heat.h2 { width: 40%; right: 2%; top: -12%; }
.lp-pin { position: absolute; width: 50px; height: 50px; border-radius: 50%; border: 3px solid #fff; overflow: hidden; box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3); }
.lp-pin img { width: 100%; height: 100%; object-fit: cover; }
.lp-pin.n1 { left: 17%; top: 36%; }
.lp-pin.n2 { right: 18%; top: 12%; }
.lp-pin.n3 { right: 10%; bottom: 10%; }
.lp-lbl { position: absolute; padding: 2px 7px; border-radius: 6px; background: rgba(255, 255, 255, 0.92); color: #3a3532; font-size: 11px; font-weight: 700; }
.lp-lbl.n1 { left: 12%; top: 63%; }
.lp-lbl.n2 { right: 15%; top: 39%; }

/* ----- download ----- */
.lp-cta { padding: 46px 20px 38px; background: var(--o); color: #fff; }
.lp-cta .lp-in { gap: 0; }
.lp-cta h2 { font-size: 40px; line-height: 1.02; }
.lp-cta .lp-store { background: #fff; color: #1c1917; }
.lp-cta .lp-store small { color: #6b625c; }
.lp-cta a.lp-store:hover { background: #ffe9d8; color: #1c1917; }
.lp-foot { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; font-weight: 500; color: #1c1917; }
.lp-foot a { color: #1c1917; }

@media (min-width: 860px) {
  .lp-hero {
    max-width: 1104px; margin: 0 auto; padding: 64px 32px 28px;
    display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center; gap: 40px;
  }
  .lp-hero h1 { font-size: clamp(58px, 6.6vw, 84px); }
  .lp-hero p { font-size: 20px; margin-top: 20px; }
  .lp-stores { margin-top: 28px; }
  .lp-pile { width: 100%; max-width: 460px; margin: 0 auto; }
  .lp-talk { margin-top: 40px; padding: 64px 0 60px; border-radius: 44px 44px 0 0; }
  .lp-talk h2 { font-size: 56px; text-align: center; max-width: none; }
  .lp-chat { padding-top: 22px; }
  .lp-blk { padding: 88px 32px; }
  .lp-in { flex-direction: row; align-items: center; gap: 64px; }
  .lp-in > * { flex: 1; }
  .lp-in.flip { flex-direction: row-reverse; }
  .lp-say h2 { font-size: clamp(104px, 11vw, 136px); }
  .lp-say p { font-size: 20px; margin-top: 20px; }
  .lp-blk.where .lp-say h2 { font-size: clamp(56px, 6vw, 76px); }
  .lp-cta { padding: 72px 32px 56px; }
  .lp-cta .lp-in { flex-direction: column; align-items: flex-start; }
  .lp-cta h2 { font-size: 56px; }
}
