/* Public landing page — builds on app.css tokens */
body.lp { background: #fff; font-size: 15px; scroll-behavior: smooth; }
html:has(body.lp) { scroll-behavior: smooth; scroll-padding-top: 76px; }
.lp-wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }
.lp h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 900; letter-spacing: -.015em; margin: 6px 0 12px; }
.lp-h3 { font-size: 18px; font-weight: 800; margin: 36px 0 14px; }
.lp-eyebrow { font-family: var(--display); font-size: 12.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.lp-lead { font-size: 16.5px; line-height: 1.7; color: var(--ink-2); max-width: 680px; margin: 0; }
.lp-muted { color: var(--muted); }
.lp-section { padding: 84px 0; }
.lp-tint { background: #f7f7f9; }

/* nav */
.lp-nav { position: sticky; top: 0; z-index: 30; background: #ffffffe6; backdrop-filter: blur(10px); border-bottom: 1px solid #ececf0; }
.lp-nav-in { display: flex; align-items: center; gap: 28px; height: 68px; }
.lp-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.lp-brand img { width: 40px; height: 40px; border-radius: 10px; }
.lp-brand b { display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .03em; font-size: 14px; }
.lp-brand small { display: block; color: var(--muted); font-size: 11.5px; }
.lp-links { display: flex; gap: 22px; margin-left: auto; }
.lp-links a { text-decoration: none; color: var(--ink-2); font-weight: 600; font-size: 14px; }
.lp-links a:hover { color: var(--red); }
.lp-nav-cta { display: flex; gap: 8px; }
.lp .btn { border-radius: 10px; }
.lp .btn.lg { padding: 13px 22px; font-size: 15px; }

/* hero */
.lp-hero { position: relative; overflow: hidden; color: #fff; padding: 80px 0 120px;
  background: radial-gradient(60% 60% at 100% 100%, #ff3b5233 0%, transparent 70%), linear-gradient(155deg, #d8122d 0%, #a50d22 55%, #5c0713 100%); }
.lp-hero-in { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: center; }
.lp-kicker { display: inline-block; font-family: var(--display); font-weight: 700; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; padding: 6px 12px; border-radius: 20px; background: #ffffff1f; border: 1px solid #ffffff33; }
.lp-hero h1 { font-size: clamp(34px, 5vw, 60px); line-height: 1.04; font-weight: 900; text-transform: uppercase; margin: 18px 0 8px; }
.lp-hero h1 em { font-style: normal; color: #1a0306; }
.lp-hero .energy { color: #fff; font-size: clamp(26px, 3.4vw, 44px); line-height: 1; }
.lp-hero p { font-size: 18px; line-height: 1.6; color: #ffffffd9; max-width: 560px; margin: 22px 0 30px; }
.lp-hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.lp-btn-white { background: #fff; color: var(--red); border-color: #fff; }
.lp-btn-white:hover { background: #fff1f2; }
.lp-btn-line { background: transparent; color: #fff; border-color: #ffffff80; }
.lp-btn-line:hover { background: #ffffff1a; }
.lp-next { background: #fff; color: var(--ink); border-radius: 20px; padding: 26px; box-shadow: 0 30px 60px -24px #0007; display: grid; gap: 14px; }
.lp-next-label { font-family: var(--display); font-weight: 800; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.lp-next-date { display: flex; align-items: center; gap: 14px; }
.lp-next-date b { font-family: var(--display); font-size: 56px; font-weight: 900; line-height: 1; color: var(--red); }
.lp-next-date span { font-weight: 700; line-height: 1.35; }
.lp-next ul { list-style: none; margin: 0; padding: 14px 0; display: grid; gap: 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-next li { display: flex; gap: 10px; color: var(--ink-2); }
.lp-next small { color: var(--muted); text-align: center; }
.lp-next li .i { color: var(--red); margin-top: 2px; }
.lp-values i { color: var(--red); }
.lp-values i .i { width: 24px; height: 24px; }
.lp-eyebrow .i { vertical-align: -.22em; margin-right: 2px; }
.lp-poster-loc .i, .lp-foot .i { vertical-align: -.2em; }
.lp-event a .i { color: var(--red); }
.lp-done-ico { width: 72px; height: 72px; margin: 0 auto 6px; border-radius: 50%; background: var(--green-soft); color: var(--green); display: grid; place-items: center; }
.lp-done-ico .i { width: 36px; height: 36px; }

/* stats */
.lp-stats { position: relative; z-index: 2; margin-top: -56px; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); background: #fff; border-radius: 18px; box-shadow: 0 20px 50px -20px #1a0a0e40; border: 1px solid #ececf0; }
.lp-stats > div { padding: 24px 26px; display: grid; gap: 4px; }
.lp-stats > div + div { border-left: 1px solid #ececf0; }
.lp-stats b { font-family: var(--display); font-size: 34px; font-weight: 900; color: var(--ink); letter-spacing: -.02em; }
.lp-stats span { color: var(--ink-2); font-weight: 600; line-height: 1.35; }
.lp-stats small { color: var(--muted); font-weight: 400; }

/* about */
.lp-about { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
.lp-values { display: grid; gap: 14px; }
.lp-values > div { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; padding: 18px; border: 1px solid #ececf0; border-radius: 14px; }
.lp-values i { grid-row: span 2; width: 48px; height: 48px; border-radius: 12px; background: var(--red-soft); display: grid; place-items: center; font-style: normal; font-size: 22px; }
.lp-values b { font-size: 15.5px; }
.lp-values p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.lp-flow { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.lp-flow li { counter-increment: s; position: relative; padding: 18px 16px; border-radius: 14px; background: #f7f7f9; display: grid; gap: 4px; }
.lp-flow li::before { content: counter(s); width: 28px; height: 28px; border-radius: 50%; background: var(--red); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 13px; margin-bottom: 6px; }
.lp-flow span { color: var(--muted); font-size: 13.5px; }

/* this week (dark, like the chapter's social posts) */
.lp-dark { background: radial-gradient(60% 50% at 0% 100%, #b30d2466 0%, transparent 70%), radial-gradient(50% 40% at 100% 0%, #6d081566 0%, transparent 70%), #0b0b0e; color: #fff; }
.lp-dark .lp-muted { color: #ffffff99; }
.lp-posters { display: grid; grid-template-columns: repeat(auto-fit, minmax(420px, 1fr)); gap: 20px; margin-top: 24px; }
.lp-poster { display: grid; grid-template-columns: 170px 1fr; gap: 22px; padding: 22px; border-radius: 20px; background: #ffffff08; border: 1px solid #ffffff1a; }
.lp-poster-photo { aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; border: 2px solid var(--red); box-shadow: 0 0 30px #d0112b55; display: grid; place-items: center; background: radial-gradient(80% 60% at 50% 100%, #8f0a1b, #1a1a20); }
.lp-poster-photo img { width: 100%; height: 100%; object-fit: cover; }
.lp-poster-photo .av { width: 70%; height: auto; aspect-ratio: 1; font-size: 54px; }
.lp-poster-logo img { width: 80px; height: 80px; border-radius: 16px; }
.lp-poster-tag { display: inline-block; border: 1px solid #ffffff55; padding: 3px 10px; font-family: var(--display); font-weight: 700; letter-spacing: .18em; font-size: 11.5px; }
.lp-poster h3 { font-size: 22px; font-weight: 900; text-transform: uppercase; margin: 10px 0 6px; line-height: 1.15; }
.lp-poster-field { margin-top: 10px; }
.lp-poster-field small { display: block; font-family: var(--display); font-weight: 700; letter-spacing: .16em; font-size: 10.5px; color: #ffffff8c; text-transform: uppercase; }
.lp-poster-field b { font-size: 17px; }
.lp-poster-loc { display: inline-block; margin-top: 12px; padding: 5px 12px; border-radius: 20px; background: #ffffff14; font-size: 13px; }
.lp-week-empty { margin-top: 24px; display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; padding: 24px 28px; border-radius: 20px; background: #ffffff08; border: 1px solid #ffffff1a; }
.lp-week-empty > div { display: grid; gap: 4px; padding-right: 28px; border-right: 1px solid #ffffff1a; }
.lp-week-empty b { font-family: var(--display); font-size: 20px; font-weight: 800; }
.lp-week-empty span, .lp-week-empty p { color: #ffffffb3; margin: 0; }
@media (max-width: 860px) { .lp-week-empty { grid-template-columns: 1fr; } .lp-week-empty > div { border-right: 0; padding-right: 0; } }
.lp-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.lp-products article { background: #ffffff0a; border: 1px solid #ffffff1a; border-radius: 16px; overflow: hidden; }
.lp-products img { width: 100%; height: 160px; object-fit: cover; display: block; }
.lp-products div { padding: 14px 16px; display: grid; gap: 4px; }
.lp-products small { color: #ffffff8c; }
.lp-products p { margin: 4px 0 0; color: #ffffffcc; font-size: 14px; }
.lp-price { color: #ff6b7d; font-weight: 700; }

/* language switch */
.lp-lang { height: 36px; min-width: 42px; border: 1px solid #dcdee5; background: #fff; border-radius: 10px; font-weight: 800; font-size: 12.5px; letter-spacing: .06em; cursor: pointer; color: var(--ink-2); }
.lp-lang:hover { border-color: var(--red); color: var(--red); }

/* weekly top */
.lp-tops { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 14px; margin-top: 24px; }
.lp-top { background: #fff; border: 1px solid #ececf0; border-radius: 18px; padding: 20px; display: grid; gap: 10px; align-content: start; }
.lp-top-title { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.lp-top-first { display: grid; grid-template-columns: auto 1fr; gap: 4px 12px; align-items: center; padding-bottom: 12px; border-bottom: 1px solid #f0f1f4; }
.lp-top-first .av.lg { grid-row: span 2; width: 56px; height: 56px; border-radius: 16px; box-shadow: 0 0 0 3px #fff, 0 0 0 5px #e8b21e; }
.lp-top-first b { display: block; }
.lp-top-first small { color: var(--muted); font-size: 12.5px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.lp-top-val { grid-column: 2; justify-self: start; font-family: var(--display); font-weight: 900; color: var(--red); font-size: 18px; }
.lp-top-row { display: grid; grid-template-columns: 22px 1fr auto; gap: 8px; font-size: 13.5px; color: var(--ink-2); }
.lp-top-row i { font-style: normal; color: var(--muted); font-weight: 700; }

/* events */
.lp-events { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 14px; margin: 24px 0 12px; }
.lp-event { display: grid; grid-template-columns: 76px 1fr; gap: 16px; padding: 18px; border: 1px solid #ececf0; border-radius: 16px; background: #fff; }
.lp-event-date { border-radius: 12px; background: var(--red-soft); color: var(--red); display: grid; place-content: center; text-align: center; height: 76px; }
.lp-event-date b { font-family: var(--display); font-size: 26px; font-weight: 900; line-height: 1; }
.lp-event-date small { font-size: 11.5px; font-weight: 700; margin-top: 2px; }
.lp-event-weekly { border-style: dashed; background: #fafafb; }
.lp-event-weekly .lp-event-date { background: #0b0b0e; color: #fff; }
.lp-event-weekly .lp-event-date b { font-size: 19px; }
.lp-event-type { font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--red); }
.lp-event h4 { margin: 4px 0; font-size: 16px; }
.lp-event p { margin: 0; color: var(--muted); font-size: 13.5px; }
.lp-event a { display: inline-block; margin-top: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.lp-event a:hover { color: var(--red); }

/* offers */
.lp-offers { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-top: 24px; }
.lp-offer { border: 1px solid #ececf0; border-radius: 18px; overflow: hidden; background: #fff; display: grid; grid-template-rows: auto 1fr; }
.lp-offer img { width: 100%; height: 170px; object-fit: cover; display: block; }
.lp-offer-body { padding: 18px; display: grid; gap: 8px; align-content: start; position: relative; }
.lp-offer-disc { justify-self: start; background: var(--red); color: #fff; font-family: var(--display); font-weight: 900; font-size: 15px; padding: 4px 12px; border-radius: 8px; }
.lp-offer h4 { margin: 0; font-size: 17px; }
.lp-offer p { margin: 0; color: var(--ink-2); font-size: 14px; }
.lp-offer-by { display: grid; padding-top: 8px; border-top: 1px solid #f0f1f4; font-size: 13.5px; }
.lp-offer-by small { color: var(--muted); }
.lp-offer-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.lp-offer-foot small { color: var(--muted); }

/* stories */
.lp-stories { columns: 3 300px; column-gap: 16px; margin-top: 24px; }
.lp-story { break-inside: avoid; margin: 0 0 16px; background: #fff; border: 1px solid #ececf0; border-radius: 18px; padding: 24px; display: grid; gap: 14px; }
.lp-story blockquote { margin: 0; font-size: 16px; line-height: 1.65; color: var(--ink); position: relative; padding-top: 22px; }
.lp-story blockquote::before { content: "“"; position: absolute; top: -14px; left: -4px; font-family: Georgia, serif; font-size: 64px; color: var(--red); line-height: 1; }
.lp-story-result { justify-self: start; background: var(--red-soft); color: var(--red-dark); font-weight: 700; font-size: 13.5px; padding: 5px 12px; border-radius: 8px; }
.lp-story figcaption { display: flex; gap: 12px; align-items: center; }
.lp-story figcaption span { display: grid; }
.lp-story figcaption small { color: var(--muted); }

/* gallery */
.lp-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 200px; gap: 10px; margin-top: 24px; }
.lp-gallery button { position: relative; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: #f0f1f4; }
.lp-gallery { grid-auto-flow: dense; }
.lp-gallery button:first-child { grid-column: span 2; grid-row: span 2; }
.lp-gallery img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.lp-gallery button:hover img { transform: scale(1.04); }
.lp-gallery span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 12px 10px; color: #fff; font-size: 13px; text-align: left; background: linear-gradient(transparent, #000a); }

/* members */
.lp-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 22px; }
.lp-head-row input { max-width: 340px; height: 46px; border-radius: 12px; padding: 0 16px; }
.lp-members { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.lp-member { display: flex; gap: 14px; align-items: center; text-align: left; padding: 14px; border: 1px solid #ececf0; border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .15s, box-shadow .15s, transform .15s; }
.lp-member:hover { border-color: #e3b3ba; box-shadow: 0 10px 24px -14px #d0112b66; transform: translateY(-2px); }
.lp-member .av.lg { width: 52px; height: 52px; font-size: 21px; border-radius: 14px; }
.lp-member-text { display: grid; min-width: 0; }
.lp-member-text b { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-member-cat { color: var(--red); font-weight: 600; font-size: 13px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lp-member-text small { color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lp-empty { text-align: center; color: var(--muted); padding: 24px; }
.lp-profile { display: flex; gap: 18px; align-items: center; margin-bottom: 8px; }
.lp-profile .av.xl { border-radius: 22px; width: 88px; height: 88px; }
.lp-mh { margin: 18px 0 6px; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* open categories */
.lp-open { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; margin: 28px 0 16px; }
.lp-open button { display: grid; gap: 8px; text-align: left; padding: 18px; border-radius: 14px; border: 1.5px dashed #d9a3ab; background: #fff; cursor: pointer; transition: all .15s; }
.lp-open button span { font-weight: 700; font-size: 15px; }
.lp-open button i { font-style: normal; font-size: 13px; color: var(--red); font-weight: 600; }
.lp-open button:hover { border-style: solid; border-color: var(--red); box-shadow: 0 10px 24px -14px #d0112b66; }

/* visit */
.lp-visit { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 520px); gap: 56px; align-items: start; }
.lp-steps { list-style: none; counter-reset: s; margin: 28px 0 0; padding: 0; display: grid; gap: 18px; }
.lp-steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; column-gap: 14px; }
.lp-steps li::before { content: counter(s); grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; background: var(--red-soft); color: var(--red); font-weight: 800; display: grid; place-items: center; }
.lp-steps span { color: var(--muted); }
.lp-form { background: #fff; border: 1px solid #ececf0; border-radius: 20px; padding: 28px; box-shadow: 0 24px 50px -28px #1a0a0e40; display: grid; gap: 16px; }
.lp-form h3 { font-size: 20px; font-weight: 800; }
.lp-form small { color: var(--muted); text-align: center; }
.lp-form input, .lp-form textarea { padding: 10px 12px; border-radius: 10px; }
.lp-done { text-align: center; padding: 20px 0; display: grid; gap: 6px; }
.lp-done p { margin: 0; color: var(--ink-2); }
.lp-done-when { margin-top: 10px !important; padding: 14px; border-radius: 12px; background: var(--red-soft); }

/* footer */
.lp-foot { background: #0b0b0e; color: #ffffffb3; padding: 56px 0 28px; }
.lp-foot-in { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.lp-foot-in > div { display: grid; gap: 6px; align-content: start; font-size: 14px; }
.lp-foot-in > div > b { color: #fff; margin-bottom: 4px; }
.lp-foot a { color: #ffffffb3; text-decoration: none; }
.lp-foot a:hover { color: #fff; }
.lp-foot .lp-brand b { color: #fff; }
.lp-foot .lp-brand small { color: #ffffff80; }
.lp-copy { margin-top: 40px; padding-top: 20px; border-top: 1px solid #ffffff1a; font-size: 12.5px; color: #ffffff66; }

@media (max-width: 1000px) {
  .lp-links { display: none; }
  .lp-nav-cta { margin-left: auto; }
  .lp-hero-in, .lp-about, .lp-visit { grid-template-columns: 1fr; gap: 36px; }
  .lp-flow { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-foot-in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .lp-wrap { width: calc(100% - 32px); }
  .lp-nav-cta .btn.ghost { display: none; }
  .lp-brand small { display: none; }
  .lp-hero { padding: 48px 0 96px; }
  .lp-section { padding: 60px 0; }
  .lp-stats { grid-auto-flow: row; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-stats > div:nth-child(3) { border-left: 0; }
  .lp-stats > div:nth-child(n+3) { border-top: 1px solid #ececf0; }
  .lp-stats > div { padding: 18px; }
  .lp-stats b { font-size: 26px; }
  .lp-poster, .lp-posters { grid-template-columns: 1fr; }
  .lp-poster-photo { max-width: 200px; }
  .lp-flow, .lp-foot-in { grid-template-columns: 1fr; }
  .lp-events { grid-template-columns: 1fr; }
  .lp-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 150px; }
  .lp-nav-cta .btn.primary { padding: 7px 10px; }
}
