/* ==========================================================================
   About page — design D01-About (desktop 1440) and M01-About (mobile 390)
   Public pages: full-bleed sections between the public header and footer.
   Signed-in visitors see the same content inside the app workspace.
   ========================================================================== */

body.page-about { background: #F5FAF7; }
body.page-about:not([data-user-id]) .shell-main { padding: 0; max-width: none; }

.pa {
  --pa-pad: 80px;
  color: #0B2A1F;
  font-family: 'Manrope', var(--font-body, system-ui), sans-serif;
  display: flex;
  flex-direction: column;
}
.pa *, .pa *::before, .pa *::after { box-sizing: border-box; }
.pa h1, .pa h2, .pa h3, .pa p { margin: 0; }
.pa a { text-decoration: none; }
.pa svg { flex-shrink: 0; }

/* Inside the signed-in app shell the workspace already has padding */
body[data-user-id] .pa { --pa-pad: 0px; max-width: 1376px; margin: 0 auto; width: 100%; }
body[data-user-id] .pa-hero { padding: 48px 40px; border-radius: 28px; }

.pa .oz-btn--lg { height: 52px; padding: 0 24px; font-size: 16px; border-radius: 14px; }

.pa-eyebrow {
  font-size: 13px;
  font-weight: 800;
  color: #0B7F58;
  text-transform: uppercase;
  letter-spacing: .08em;
}

/* ── Hero ── */
.pa-hero {
  padding: 80px var(--pa-pad) 64px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 64px;
  align-items: center;
  background-image: radial-gradient(#C9E3D5 1.2px, transparent 1.2px);
  background-size: 22px 22px;
}
.pa-hero__text { display: flex; flex-direction: column; gap: 22px; }
.pa-hero__title {
  font-family: 'Unbounded', var(--font-display, sans-serif);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 54px;
  line-height: 1.1;
  color: #0B2A1F;
}
.pa-hero__mark {
  background: #FACC15;
  padding: 0 10px;
  border-radius: 14px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
.pa-hero__lead { font-size: 19px; line-height: 1.65; color: #4A6358; max-width: 600px; }
.pa-hero__actions { display: flex; gap: 12px; flex-wrap: wrap; }

.pa-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 24px;
}
.pa-stat { padding: 32px; }
.pa-stat:nth-child(odd) { border-right: 1px solid #DCEAE2; }
.pa-stat:nth-child(-n+2) { border-bottom: 1px solid #DCEAE2; }
.pa-stat__num {
  font-family: 'Unbounded', var(--font-display, sans-serif);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 44px;
  line-height: 1.2;
  color: #0B7F58;
}
.pa-stat__label { font-size: 16px; color: #4A6358; margin-top: 6px; }

/* ── Sections ── */
.pa-section { padding: 72px var(--pa-pad) 0; display: flex; flex-direction: column; gap: 32px; }
.pa-section--why { padding-top: 40px; }
.pa-section--cta { padding-bottom: 72px; }
.pa-h2 {
  font-family: 'Unbounded', var(--font-display, sans-serif);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 38px;
  line-height: 1.2;
  color: #0B2A1F;
}

.pa-ic {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: #E3F4EC;
  color: #0B7F58;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pa-ic svg { width: 26px; height: 26px; }

.pa-why { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.pa-why__card { padding: 32px; display: flex; flex-direction: column; gap: 14px; border-radius: 24px; }
.pa-why__body { display: flex; flex-direction: column; gap: 14px; }
.pa-why__title { font-family: 'Manrope', var(--font-body, sans-serif); font-size: 22px; font-weight: 800; letter-spacing: 0; color: #0B2A1F; }
.pa-why__text { font-size: 17px; line-height: 1.6; color: #4A6358; }

.pa-team { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.pa-member { padding: 28px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; border-radius: 24px; }
.pa-member__avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #FACC15;
  color: #0B2A1F;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: 'Unbounded', var(--font-display, sans-serif);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 22px;
}
.pa-member__name { font-size: 19px; font-weight: 800; }
.pa-member__role { font-size: 15px; color: #4A6358; }

.pa-cta {
  background: #0B2A1F;
  border-radius: 32px;
  padding: 56px 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}
.pa-cta__title {
  font-family: 'Unbounded', var(--font-display, sans-serif);
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 36px;
  line-height: 1.2;
  color: #FFFFFF;
}
.pa-cta__lead { margin-top: 12px !important; font-size: 18px; color: #B9D8C9; }
.pa-cta__actions { display: flex; gap: 12px; flex-shrink: 0; }
.pa-cta .oz-btn--ghost-dark:hover { border-color: #FFFFFF; color: #FFFFFF; }

@media (max-width: 1200px) {
  .pa { --pa-pad: 40px; }
  .pa-hero { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .pa-team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pa-cta { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 1000px) {
  .pa-why { grid-template-columns: minmax(0, 1fr); }
}

/* ── Mobile: M01-About ── */
@media (max-width: 767px) {
  .pa { --pa-pad: 16px; }
  body[data-user-id] .pa { --pa-pad: 0px; }

  .pa-hero {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 28px var(--pa-pad) 0;
    background-image: none;
  }
  body[data-user-id] .pa-hero { padding: 0; border-radius: 0; }
  .pa-hero__text {
    gap: 16px;
    margin: -28px calc(-1 * var(--pa-pad)) 0;
    padding: 28px var(--pa-pad) 8px;
    background-image: radial-gradient(#C9E3D5 1.2px, transparent 1.2px);
    background-size: 20px 20px;
  }
  body[data-user-id] .pa-hero__text { margin: 0; padding: 0 0 8px; }
  .pa-eyebrow { font-size: 12px; }
  .pa-hero__title { font-size: 30px; line-height: 1.15; }
  .pa-hero__mark { padding: 0 6px; border-radius: 10px; }
  .pa-hero__lead { font-size: 16px; line-height: 1.6; }
  .pa-hero__actions { display: none; }

  .pa-stats { border-radius: 20px; }
  .pa-stat { padding: 18px; }
  .pa-stat__num { font-size: 28px; }
  .pa-stat__label { font-size: 14px; margin-top: 0; }

  .pa-section { padding: 40px var(--pa-pad) 0; gap: 12px; }
  .pa-section--why { padding-top: 40px; }
  .pa-section--cta { padding-bottom: 32px; }
  .pa-h2 { font-size: 24px; margin-bottom: 6px; }

  .pa-why { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pa-why__card { padding: 18px; flex-direction: row; gap: 14px; border-radius: 20px; }
  .pa-why__body { gap: 4px; }
  .pa-ic { width: 44px; height: 44px; border-radius: 13px; }
  .pa-ic svg { width: 22px; height: 22px; }
  .pa-why__title { font-size: 17px; }
  .pa-why__text { font-size: 15px; line-height: 1.55; }

  .pa-team { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .pa-member { padding: 18px; flex-direction: row; align-items: center; border-radius: 20px; }
  .pa-member__avatar { width: 56px; height: 56px; font-size: 18px; }
  .pa-member__info { flex-grow: 1; }
  .pa-member__name { font-size: 17px; }
  .pa-member__role { font-size: 14px; }

  .pa-cta { border-radius: 24px; padding: 24px 20px; flex-direction: column; align-items: stretch; gap: 14px; }
  .pa-cta__title { font-size: 22px; line-height: 1.25; }
  .pa-cta__lead { margin-top: 0 !important; font-size: 15px; line-height: 1.55; }
  .pa-cta__actions { flex-direction: column; gap: 14px; }
  .pa-cta__actions .oz-btn { width: 100%; }
}
