/* assets/css/brochure.css - /brochure landing page. Tokens from places.css, list styles from blog.css. */

.brPage { --br-gap: 64px; }

/* ---------- hero ---------- */
.brHero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 48px;
  align-items: center;
  margin: 8px 0 28px;
}
.brEyebrow { margin: 0 0 10px; color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; }
.brTitle { margin: 0 0 16px; font-size: clamp(30px, 4.4vw, 50px); line-height: 1.08; letter-spacing: -.015em; }
.brLead { margin: 0 0 18px; max-width: 580px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.brVersion { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 22px; }
.brVersion span { padding: 4px 12px; border-radius: 999px; background: var(--blue-soft); color: var(--blue); font-size: 14px; font-weight: 600; }
.brActions { display: flex; flex-wrap: wrap; gap: 10px; }
.brBtn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px;
  border-radius: 14px;
  background: var(--blue);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(55, 73, 240, .17);
}
.brBtn:hover { filter: brightness(1.1); color: #fff; }
.brHeroImg { justify-self: center; width: min(100%, 440px); }
.brHeroImg img { display: block; width: 100%; height: auto; border-radius: 20px; }

/* ---------- section nav ---------- */
.brNav {
  position: sticky;
  top: 70px;
  z-index: 5;
  display: flex;
  gap: 6px;
  margin: 0 0 var(--br-gap);
  padding: 8px 0;
  overflow-x: auto;
  scrollbar-width: none;
  background: #f4f4f4;               /* the page background (style.css body) */
}
.brNav::-webkit-scrollbar { display: none; }
.brNav a {
  flex: none;
  padding: 8px 14px;
  border: 1px solid var(--stroke);
  border-radius: 999px;
  background: #fff;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.brNav a:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- sections ---------- */
.brSection { margin: 0 0 var(--br-gap); scroll-margin-top: 130px; }
.brSection h2 { margin: 0 0 12px; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; }
.brSectionLead { max-width: 720px; margin: 0 0 22px; color: #3B4658; font-size: 18px; line-height: 1.6; }
.brSub { margin: 32px 0 14px; font-size: 20px; }

/* why: problems */
.brProblems { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.brProblems li {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 18px 20px;
  border: 1px solid var(--stroke);
  border-radius: 16px;
  background: #fff;
}
.brProblems strong { font-size: 17px; }
.brProblems span, .brPoints span, .brTips span, .brSteps span { color: #3B4658; font-size: 15px; line-height: 1.5; }

/* goal */
.brGoal { padding: 32px; border-radius: 24px; background: var(--blue); color: #fff; }
.brGoal .brSectionLead { color: rgba(255, 255, 255, .9); }
.brPoints { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0; padding: 0; list-style: none; }
.brPoints li { display: flex; flex-direction: column; gap: 6px; margin: 0; padding: 16px 18px; border-radius: 16px; background: rgba(255, 255, 255, .12); }
.brPoints strong { font-size: 17px; }
.brGoal .brPoints span { color: rgba(255, 255, 255, .85); }

/* inside: side A / side B */
.brSideRow { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 32px; align-items: center; margin: 0 0 28px; }
.brSideText h3 { margin: 0 0 8px; font-size: 22px; }
.brSideText p { margin: 0; color: #3B4658; font-size: 16px; line-height: 1.6; }
.brPair { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.brPhoto { display: block; overflow: hidden; border-radius: 16px; background: #fff; }
.brPhoto img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .3s; }
.brPhoto:hover img { transform: scale(1.03); }

.brTips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: tip; }
.brTips li, .brSteps li {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 18px 18px 18px 60px;
  border-radius: 16px;
  background: var(--blue-soft);
  counter-increment: tip;
}
body.rtl .brTips li, body.rtl .brSteps li { padding: 18px 60px 18px 18px; }
.brTips li::before, .brSteps li::before {
  content: counter(tip);
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
}
.brTips strong, .brSteps strong { font-size: 16px; }

/* paper */
.brPaper { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: center; }
.brSpecs { display: grid; gap: 0; margin: 0; }
.brSpecs div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--stroke); }
.brSpecs div:first-child { border-top: 1px solid var(--stroke); }
.brSpecs dt { color: var(--muted); font-size: 15px; }
.brSpecs dd { margin: 0; font-size: 16px; font-weight: 600; }

/* get a copy / help: cards */
.brCards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.brCard {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 20px;
  border: 1px solid var(--stroke);
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  text-decoration: none;
}
a.brCard:hover { border-color: var(--blue); }
.brCard h3 { margin: 0; font-size: 18px; }
.brCard p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.5; }
.brCard--main { grid-column: span 2; background: var(--blue-soft); border-color: transparent; }
.brCard--main .brActions { margin-top: 8px; }
.brMore { margin-top: 6px; color: var(--blue); font-size: 15px; font-weight: 600; }

/* how to print */
.brSteps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0; padding: 0; list-style: none; counter-reset: tip; }

/* audience */
.brAudience { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.brAudience li { margin: 0; padding: 10px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--stroke); font-size: 15px; font-weight: 600; }

/* versions */
.brLog .blogItemTitle { font-size: 18px; }

/* owner-only reminder (localhost): a text still to write */
.brTodo { margin: 10px 0 0; padding: 10px 14px; border: 1px dashed #E0B43C; border-radius: 10px; background: #FFF6DD; color: #5A4500; font-size: 14px; line-height: 1.45; }

.brCredits { margin: 0 0 40px; color: var(--muted); font-size: 14px; }

@media (max-width: 900px) {
  .brPage { --br-gap: 48px; }
  .brHero { grid-template-columns: 1fr; gap: 24px; }
  .brHeroImg { width: min(80%, 360px); }
  .brProblems, .brPoints, .brTips, .brSteps { grid-template-columns: 1fr; }
  .brSideRow, .brPaper { grid-template-columns: 1fr; gap: 16px; }
  .brCard--main { grid-column: auto; }
  .brGoal { padding: 24px 20px; border-radius: 20px; }
  .brNav { top: 64px; }
}
@media (max-width: 600px) {
  .brLead, .brSectionLead { font-size: 16px; }
  .brActions { flex-direction: column; }
  .brBtn { justify-content: center; }
  .brSpecs div { grid-template-columns: 110px 1fr; }
}
