/* ================================================================
   QUALZY — Communities Page Styles
   All styles specific to features/communities.html
   ================================================================ */


/* HERO SCREENSHOT BRIDGE
   ---------------------------------------------------------------- */
.comm-screenshot-bridge {
  background: linear-gradient(to bottom, var(--wh) 0%, var(--wh) 50%, var(--op) 50%);
  padding: 0 24px;
}

.comm-hero-screenshot {
  max-width: 960px;
  margin: 0 auto;
}

.comm-hero-screenshot img {
  width: 100%;
  display: block;
  filter:
    drop-shadow(0 24px 56px rgba(0,0,0,0.12))
    drop-shadow(0 0 60px rgba(232,97,44,0.18));
  animation: heroImgReveal 1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s both;
}

@keyframes heroImgReveal {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0)    scale(1);    }
}


/* PLATFORM SHOWCASE
   ---------------------------------------------------------------- */
.comm-showcase {
  background: var(--op);
}

.comm-showcase-hd {
  text-align: center;
  max-width: 680px;
  margin: 0 auto;
}

.comm-showcase-hd .stit {
  text-align: center;
}

@media (max-width: 768px) {
  .comm-showcase-hd {
    margin-bottom: 32px;
  }
}


/* HERO
   ---------------------------------------------------------------- */
.hero {
  padding-top: 64px; /* nav height offset */
  background: var(--wh);
  position: relative;
  overflow: hidden;
}

/* Decorative blobs */
.hd1 {
  position: absolute;
  top: -160px; right: -160px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: var(--op);
  z-index: 0;
}

.hd1::after {
  content: '';
  position: absolute;
  inset: 70px;
  border-radius: 50%;
  background: var(--om);
}

.hd2 {
  position: absolute;
  bottom: 60px; left: -80px;
  width: 220px; height: 220px;
  border-radius: 50%;
  background: var(--op);
  z-index: 0;
}

.hsvg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* Hero inner content */
.comm-back {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.45);
  text-decoration: none;
  margin-bottom: 24px;
  transition: color var(--t-base);
}
.comm-back:hover { color: rgba(255,255,255,0.85); }

.hi {
  position: relative;
  z-index: 1;
  max-width: 860px;
  margin: 0 auto;
  padding: 72px 48px 88px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hi h1 {
  font-family: var(--font-display);
  font-size: clamp(50px, 6.5vw, 86px);
  font-weight: 900;
  line-height: 1.0;
  color: var(--dk);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.hi h1 em {
  font-style: italic;
  color: var(--o);
}

.hsub {
  font-size: 19px;
  color: var(--mid);
  line-height: 1.65;
  margin-bottom: 36px;
  max-width: 760px;
  font-weight: 300;
}

.hbtns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 52px;
}


/* PROBLEM SECTION
   ---------------------------------------------------------------- */
.pb {
  background: var(--dk);
  padding: 80px;
}

.pb-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 100px;
  align-items: start;
}

.pb .stit {
  color: #fff;
  font-size: clamp(30px, 3.8vw, 44px);
  margin-bottom: 18px;
}

.pb .sbod {
  color: rgba(255, 255, 255, 0.55);
  max-width: 460px;
}

.pbs .ps {
  padding: 28px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 28px;
  align-items: start;
}

.pbs .ps:last-child { border-bottom: none; }

.pn {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 900;
  color: var(--o);
  line-height: 1;
}

.pt strong {
  color: #fff;
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
}

.pt p { color: rgba(255, 255, 255, 0.45); font-size: 14px; line-height: 1.6; }


/* MAIZY ENGAGE
   ---------------------------------------------------------------- */
.me { background: var(--wh); }

.meh { text-align: center; margin-bottom: 72px; }
.meh .stit { color: var(--dk); }
.meh .sbod { color: var(--mid); margin: 0 auto; }

.mec {
  background: var(--op);
  border: 1.5px solid rgba(232, 97, 44, 0.18);
  border-radius: 20px;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

.mec::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(232, 97, 44, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.mebg {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(232, 97, 44, 0.1);
  border: 1px solid rgba(232, 97, 44, 0.22);
  color: var(--o);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 20px;
}

.mect {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  color: var(--dk);
  line-height: 1.1;
  margin-bottom: 16px;
}

.mect em { font-style: italic; color: var(--o); }

.mecb {
  font-size: 17px;
  color: var(--mid);
  max-width: 600px;
  line-height: 1.7;
  font-weight: 300;
  margin-bottom: 44px;
}

.meg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.mf {
  background: #fff;
  border: 1.5px solid var(--rule);
  border-radius: 14px;
  padding: 28px;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}

.mf:hover {
  border-color: rgba(232, 97, 44, 0.35);
  box-shadow: 0 4px 20px rgba(232, 97, 44, 0.1);
}

.mfi { width: 36px; height: 36px; margin-bottom: 14px; display: block; }
.mfi svg { width: 36px; height: 36px; stroke: var(--o); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.mft { font-size: 14px; font-weight: 700; color: var(--dk); margin-bottom: 6px; }
.mfb { font-size: 13px; color: var(--mid); line-height: 1.6; }


/* INTERVENTION TIERS
   ---------------------------------------------------------------- */
.ti { background: #F4EFE6; padding: 80px; }
.tii { max-width: 1200px; margin: 0 auto; }
.tih { text-align: center; margin-bottom: 44px; }
.tih .stit { color: var(--dk); font-size: clamp(24px, 3vw, 38px); }

.tg {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.tc {
  border-radius: 14px;
  padding: 26px 22px;
  position: relative;
  overflow: hidden;
}

.tg-g { background: rgba(26, 102, 48, 0.08);  border: 1.5px solid rgba(26, 102, 48, 0.22); }
.tg-y { background: rgba(160, 115, 0, 0.07); border: 1.5px solid rgba(160, 115, 0, 0.2); }
.tg-o { background: rgba(232, 97, 44, 0.08);  border: 1.5px solid rgba(232, 97, 44, 0.22); }
.tg-r { background: rgba(180, 30, 30, 0.07);  border: 1.5px solid rgba(180, 30, 30, 0.2); }

.td { width: 9px; height: 9px; border-radius: 50%; margin-bottom: 10px; }
.tg-g .td { background: #2E7D32; }
.tg-y .td { background: #9A6F00; }
.tg-o .td { background: var(--o); }
.tg-r .td { background: #B71C1C; }

.tl  { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mu); margin-bottom: 3px; }
.tn  { font-size: 17px; font-weight: 700; color: var(--dk); margin-bottom: 8px; }
.tgh { font-family: var(--font-display); font-size: 38px; font-weight: 900; color: rgba(0, 0, 0, 0.06); position: absolute; right: 14px; top: 10px; line-height: 1; }
.tt  { font-size: 13px; color: var(--mid); line-height: 1.6; }


/* ADMIN BRIEFING
   ---------------------------------------------------------------- */
.br { background: var(--wh); }

.brg {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.brb2 {
  font-size: 16px;
  color: var(--mid);
  line-height: 1.7;
  font-weight: 300;
  margin-top: 18px;
}

/* Briefing card (dark UI mockup) */
.brc {
  background: var(--dk);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18);
}

.brt {
  background: #161614;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bri {
  width: 26px; height: 26px;
  border-radius: 6px;
  background: var(--o);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.brtt { font-size: 13px; font-weight: 700; color: #fff; }
.brd  { font-size: 10px; color: rgba(255, 255, 255, 0.35); }

.brbd { padding: 18px; display: flex; flex-direction: column; gap: 11px; }

.brsr { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.brst { background: rgba(255, 255, 255, 0.04); border-radius: 8px; padding: 11px; text-align: center; }
.brsv { font-family: var(--font-display); font-size: 24px; font-weight: 900; display: block; line-height: 1; }
.brsv.g { color: #4CAF50; }
.brsv.w { color: #FFC107; }
.brsv.b { color: #ef5350; }
.brsk { font-size: 10px; color: rgba(255, 255, 255, 0.35); margin-top: 3px; }

.brrec {
  background: rgba(232, 97, 44, 0.06);
  border: 1px solid rgba(232, 97, 44, 0.18);
  border-radius: 10px;
  padding: 13px 15px;
}

.brrh { display: flex; align-items: center; gap: 8px; margin-bottom: 9px; }
.brrl { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--o); }
.brrc { background: var(--o); color: #fff; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 100px; }

.brrow {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  padding: 9px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brrow:last-child { border-bottom: none; }

.brck {
  width: 17px; height: 17px;
  border-radius: 4px;
  border: 1.5px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
  margin-top: 2px;
  cursor: pointer;
  transition: all var(--t-fast);
}

.brck:hover { border-color: var(--o); background: rgba(232, 97, 44, 0.15); }

.brtx { font-size: 12px; color: rgba(255, 255, 255, 0.68); line-height: 1.5; flex: 1; }
.brtx strong { color: #fff; }

.brbg { flex-shrink: 0; font-size: 10px; font-weight: 700; padding: 3px 8px; border-radius: 100px; }
.ba { background: rgba(76, 175, 80, 0.15); color: #4CAF50; }
.bv { background: rgba(232, 97, 44, 0.15); color: var(--o); }


/* FEATURES GRID
   ---------------------------------------------------------------- */
.fe { background: var(--wh); }

.feh {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 60px;
}

.feb { font-size: 17px; color: var(--mid); line-height: 1.7; font-weight: 300; }

.fg {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}

.fc {
  background: #fff;
  padding: 38px 34px;
  position: relative;
  overflow: hidden;
  transition: background var(--t-base);
}

.fc::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--o);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s;
}

.fc:hover { background: var(--op); }
.fc:hover::after { transform: scaleX(1); }

.fci { width: 38px; height: 38px; margin-bottom: 16px; display: block; }
.fci svg { width: 38px; height: 38px; stroke: var(--o); fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.fct { font-size: 17px; font-weight: 700; color: var(--dk); margin-bottom: 8px; }
.fcb { font-size: 14px; color: var(--mid); line-height: 1.6; }

.fctg { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 14px; }
.ftg {
  background: var(--op);
  color: var(--o);
  font-size: 11px;
  font-weight: 600;
  padding: 3px 9px;
  border-radius: 100px;
  border: 1px solid rgba(232, 97, 44, 0.2);
}


/* SUB-COMMUNITIES
   ---------------------------------------------------------------- */
.sc { background: #fff; }

.sc-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 72px;
  align-items: center;
}

/* Copy column */
.sc-copy {}

/* Mini architecture diagram */
.sc-arch {
  margin: 32px 0 28px;
}

.sc-arch-master {
  background: var(--dk);
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.sc-arch-master-tag {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
  white-space: nowrap;
}

.sc-arch-master-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.sc-arch-connector {
  display: flex;
  justify-content: center;
  gap: 80px;
  padding: 5px 0;
  position: relative;
}

.sc-arch-connector::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 48%;
  border-top: 1.5px dashed rgba(232, 97, 44, 0.35);
}

.sc-arch-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--o);
  display: block;
  margin-top: -1px;
}

.sc-arch-line { display: none; }

.sc-arch-subs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.sc-arch-sub {
  border-radius: 9px;
  padding: 14px 16px;
  border: 1.5px solid;
}

.sc-arch-sub--pet {
  background: rgba(52, 168, 83, 0.06);
  border-color: rgba(52, 168, 83, 0.25);
}

.sc-arch-sub--vet {
  background: rgba(232, 97, 44, 0.06);
  border-color: rgba(232, 97, 44, 0.25);
}

.sc-arch-sub-domain {
  font-size: 14px;
  font-weight: 700;
  color: var(--dk);
  margin-bottom: 3px;
}

.sc-arch-sub--pet .sc-arch-sub-domain { color: #1e7e3e; }
.sc-arch-sub--vet .sc-arch-sub-domain { color: var(--o); }

.sc-arch-sub-label {
  font-size: 11px;
  color: var(--mu);
}

/* Bullet points */
.sc-pts {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sc-pts li {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.55;
  padding-left: 18px;
  position: relative;
}

.sc-pts li::before {
  content: '';
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--o);
  opacity: 0.7;
}

/* Slider column */
.sc-slider-wrap {}

.sc-slider {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  cursor: ew-resize;
  user-select: none;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
  touch-action: pan-y;
}

/* Both images share the same space */
.sc-img {
  display: block;
  width: 100%;
  height: auto;
}

.sc-img--back {
  /* sits underneath, always full width */
}

.sc-img--front {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  clip-path: inset(0 50% 0 0); /* JS updates this */
}

/* Divider line */
.sc-divider {
  position: absolute;
  top: 0; left: 50%;
  height: 100%;
  width: 2px;
  background: #fff;
  transform: translateX(-50%);
  pointer-events: none;
}

.sc-divider::before,
.sc-divider::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: rgba(255, 255, 255, 0.5);
}

/* Drag handle */
.sc-handle {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 14px rgba(0, 0, 0, 0.22);
  pointer-events: none;
}

.sc-handle svg {
  width: 20px; height: 20px;
  stroke: var(--dk);
  flex-shrink: 0;
}

/* Corner labels */
.sc-lbl {
  position: absolute;
  top: 14px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 5px 10px;
  border-radius: 100px;
  backdrop-filter: blur(6px);
  pointer-events: none;
}

.sc-lbl--l {
  left: 14px;
  background: rgba(52, 168, 83, 0.85);
  color: #fff;
}

.sc-lbl--r {
  right: 14px;
  background: rgba(232, 97, 44, 0.85);
  color: #fff;
}

/* Hint text */
.sc-hint {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 12px;
  color: var(--mu);
  text-align: center;
}

.sc-hint svg {
  width: 14px; height: 14px;
  stroke: var(--mu);
  flex-shrink: 0;
}

@media (max-width: 1024px) {
  .sc-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 600px) {
  .sc-arch-subs { grid-template-columns: 1fr; }
}


/* SOLUTION BRIDGE
   ---------------------------------------------------------------- */
.sol-br { background: var(--op); }

.sol-br-hd {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
}

.sol-br-hd .stit { text-align: center; }

.sol-br-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.sol-br-card {
  background: #fff;
  border: 1px solid rgba(232, 97, 44, 0.14);
  border-radius: 16px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: box-shadow 0.2s, border-color 0.2s;
}

.sol-br-card:hover {
  border-color: rgba(232, 97, 44, 0.3);
  box-shadow: 0 6px 28px rgba(232, 97, 44, 0.08);
}

.sol-br-icon {
  width: 46px; height: 46px;
  background: var(--op);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sol-br-icon svg {
  width: 22px; height: 22px;
  stroke: var(--o);
}

.sol-br-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--dk);
  line-height: 1.3;
}

.sol-br-body {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.65;
  flex: 1;
}

.sol-br-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.sol-br-tags span {
  font-size: 11px;
  font-weight: 600;
  color: var(--o);
  background: rgba(232, 97, 44, 0.08);
  border-radius: 100px;
  padding: 4px 10px;
}

@media (max-width: 900px) {
  .sol-br-grid { grid-template-columns: 1fr; }
  .sol-br-hd { margin-bottom: 48px; }
}


/* PARTICIPANT EXPERIENCE
   ---------------------------------------------------------------- */
.pt-sec { background: var(--dk); padding: 100px 80px; }
.pt-inn { max-width: 1200px; margin: 0 auto; }

.pt-hd { margin-bottom: 60px; }
.pt-hd .stit { color: #fff; }
.pt-hd .sbod { color: rgba(255, 255, 255, 0.5); }

.pt-sc {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: 20px;
  align-items: start;
}

/* Participant sidebar panels */
.ps2 { background: #1A1917; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.07); overflow: hidden; }
.psb { height: 8px; background: #0F0E0C; }
.psc { padding: 14px; }
.psl { font-size: 10px; font-weight: 700; color: rgba(255, 255, 255, 0.38); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 10px; }
.pi2 { background: rgba(255, 255, 255, 0.04); border-radius: 7px; padding: 10px; margin-bottom: 7px; }
.pit { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, 0.8); margin-bottom: 3px; }
.pim { font-size: 10px; color: rgba(255, 255, 255, 0.35); }

/* Participant central panel */
.pct { background: #1A1917; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.07); overflow: hidden; margin-bottom: 16px; }

.pch {
  background: linear-gradient(135deg, #252420, #1A1917);
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  gap: 14px;
  align-items: center;
}

.pcav {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--o), var(--ol));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 900;
  color: #fff;
  flex-shrink: 0;
}

.pcn  { font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.pcs  { font-size: 11px; color: var(--o); font-weight: 600; }
.pcch { display: flex; gap: 6px; margin-top: 6px; flex-wrap: wrap; }
.chp  { background: rgba(255, 255, 255, 0.06); border-radius: 100px; padding: 3px 9px; font-size: 10px; color: rgba(255, 255, 255, 0.58); }

.pcbd { padding: 14px; }

.pac2 { border-radius: 9px; padding: 14px; margin-bottom: 8px; border-left: 3px solid transparent; }
.pac2.pl { background: rgba(33, 150, 243, 0.07);  border-left-color: #2196F3; }
.pac2.pd { background: rgba(156, 39, 176, 0.07); border-left-color: #9C27B0; }
.pac2.pm { background: rgba(232, 97, 44, 0.07);  border-left-color: var(--o); }

.pty { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 5px; }
.pac2.pl .pty { color: #2196F3; }
.pac2.pd .pty { color: #9C27B0; }
.pac2.pm .pty { color: var(--o); }

.pati { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.85); margin-bottom: 3px; }
.pade { font-size: 11px; color: rgba(255, 255, 255, 0.38); margin-bottom: 7px; }
.paft { display: flex; align-items: center; justify-content: space-between; }
.patm { font-size: 10px; color: rgba(255, 255, 255, 0.32); }
.pact { font-size: 10px; font-weight: 700; padding: 4px 10px; border-radius: 5px; background: rgba(255, 255, 255, 0.07); color: rgba(255, 255, 255, 0.65); }

/* Members corner */
.mc2  { background: #1A1917; border-radius: 12px; border: 1px solid rgba(255, 255, 255, 0.07); padding: 14px; }
.mc2l { font-size: 10px; font-weight: 700; color: var(--o); text-transform: uppercase; letter-spacing: 0.07em; margin-bottom: 10px; }
.mc2v { background: rgba(232, 97, 44, 0.06); border-radius: 7px; padding: 10px; margin-bottom: 8px; }
.mc2v p { font-size: 11px; color: rgba(255, 255, 255, 0.6); line-height: 1.5; }
.mc2v p strong { color: #fff; }
.mc2v p em { color: var(--o); font-style: normal; font-weight: 700; }

.wn  { display: flex; align-items: center; gap: 7px; background: rgba(255, 255, 255, 0.03); border-radius: 5px; padding: 7px; margin-bottom: 5px; }
.wnr { font-size: 11px; color: rgba(255, 255, 255, 0.28); width: 18px; }
.wnn { font-size: 11px; color: rgba(255, 255, 255, 0.62); flex: 1; }
.wnp { font-size: 10px; font-weight: 700; color: #FFC107; }


/* CLIP REEL CREATOR
   ---------------------------------------------------------------- */
.re { background: var(--op); }

.reg {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.rev { background: var(--dk); border-radius: 14px; overflow: hidden; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.18); }

.rtl  { padding: 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
.rtll { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--o); margin-bottom: 13px; }

.trk {
  position: relative;
  height: 44px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: 7px;
  overflow: hidden;
  display: flex;
  margin-bottom: 7px;
}

.cl { height: 100%; border-right: 2px solid #1A1917; display: flex; align-items: center; padding: 0 8px; font-size: 10px; font-weight: 600; color: #fff; }
.c1 { background: rgba(33, 150, 243, 0.5);  width: 22%; }
.c2 { background: rgba(232, 97, 44, 0.5);   width: 18%; }
.c3 { background: rgba(76, 175, 80, 0.5);   width: 25%; }
.c4 { background: rgba(156, 39, 176, 0.5);  width: 16%; }
.c5 { background: rgba(255, 193, 7, 0.4);   width: 14%; }

.ph { position: absolute; top: 0; bottom: 0; left: 58%; width: 2px; background: #fff; pointer-events: none; }
.ph::before { content: ''; position: absolute; top: 0; left: -4px; border: 5px solid transparent; border-top-color: #fff; }

.tlch { display: flex; gap: 5px; flex-wrap: wrap; }
.tlc  { font-size: 10px; color: rgba(255, 255, 255, 0.38); background: rgba(255, 255, 255, 0.04); border-radius: 100px; padding: 3px 9px; }

.rsec { padding: 18px 24px 24px; }

.rsr { display: flex; gap: 10px; align-items: center; padding: 9px; background: rgba(255, 255, 255, 0.03); border-radius: 7px; margin-bottom: 6px; cursor: pointer; }
.rsr:hover { background: rgba(255, 255, 255, 0.06); }

.rsc { width: 11px; height: 11px; border-radius: 3px; flex-shrink: 0; }
.rsn { font-size: 12px; color: rgba(255, 255, 255, 0.68); flex: 1; }
.rsd { font-size: 10px; color: rgba(255, 255, 255, 0.32); }

.rex { margin: 0 24px 24px; background: var(--o); border-radius: 7px; padding: 13px 18px; display: flex; align-items: center; justify-content: space-between; cursor: pointer; }
.rext { font-size: 13px; font-weight: 700; color: #fff; }
.rexs { font-size: 11px; color: rgba(255, 255, 255, 0.65); }

.rf2  { display: flex; gap: 14px; align-items: flex-start; margin-top: 20px; }
.rf2i { width: 38px; height: 38px; border-radius: 9px; background: var(--om); border: 1px solid rgba(232, 97, 44, 0.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 17px; }
.rf2t { font-weight: 700; color: var(--dk); margin-bottom: 3px; font-size: 15px; }
.rf2b { font-size: 13px; color: var(--mid); }


/* COMPETITOR COMPARISON
   ---------------------------------------------------------------- */
.co { background: var(--op); }

.co-hd {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.co-hd .stit { text-align: center; }
.co-hd .sbod { text-align: center; margin: 0; }

.cot {
  width: 100%;
  border-collapse: collapse;
  margin-top: 44px;
}

.cot th {
  padding: 14px 18px;
  text-align: left;
  font-size: 13px;
  font-weight: 700;
  border-bottom: 2px solid var(--rule);
}

.cot th.q  { background: var(--o); color: #fff; border-radius: 8px 8px 0 0; }
.cot th.o  { color: var(--mu); font-weight: 500; }
.cot th:first-child { color: var(--mid); font-weight: 400; }

.cot td {
  padding: 13px 18px;
  font-size: 13px;
  border-bottom: 1px solid var(--rule);
  vertical-align: middle;
}

.cot td:first-child { color: var(--mid); font-weight: 500; }
.cot td.q { background: var(--op); font-weight: 700; color: var(--dk); }
.cot tr:last-child td { border-bottom: none; }

.ck { color: #2E7D32; font-size: 17px; }
.cx { color: #d0cbc4; font-size: 17px; }
.cp { color: #9A6F00; font-size: 13px; font-weight: 600; }


/* PANEL → COMMUNITY CONTEXT SECTION
   ---------------------------------------------------------------- */
.comm-ctx {
  background: #fff;
  border-top: 1px solid var(--rule);
}

.comm-ctx-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.comm-ctx-copy {}

.comm-ctx-copy .stit {
  margin-bottom: 20px;
}

.comm-ctx-note {
  font-size: 14px;
  color: var(--mu);
  line-height: 1.65;
  font-style: italic;
  margin-top: 16px;
  padding: 14px 18px;
  background: var(--op);
  border-left: 3px solid rgba(250, 88, 2, 0.4);
  border-radius: 0 8px 8px 0;
}

.comm-ctx-link {
  display: inline-flex;
  align-items: center;
  margin-top: 28px;
  font-size: 14px;
  font-weight: 600;
  color: var(--o);
  text-decoration: none;
  border: 1.5px solid rgba(250, 88, 2, 0.35);
  border-radius: 8px;
  padding: 10px 18px;
  transition: all var(--t-base);
}

.comm-ctx-link:hover {
  background: var(--o);
  color: #fff;
  border-color: var(--o);
}

.comm-ctx-visual {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.comm-ctx-tier {
  background: var(--wh);
  border: 1.5px solid var(--rule);
  border-radius: 14px;
  padding: 28px 30px;
  transition: border-color var(--t-base);
}

.comm-ctx-tier:hover {
  border-color: rgba(250, 88, 2, 0.2);
}

.comm-ctx-tier--featured {
  background: var(--op);
  border-color: rgba(250, 88, 2, 0.35);
}

.comm-ctx-tier--featured:hover {
  border-color: var(--o);
}

.comm-ctx-tier-tag {
  display: inline-flex;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mu);
  background: rgba(0, 0, 0, 0.05);
  border-radius: 100px;
  padding: 3px 10px;
  margin-bottom: 12px;
}

.comm-ctx-tier-tag--o {
  color: var(--o);
  background: rgba(250, 88, 2, 0.1);
}

.comm-ctx-tier-name {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--dk);
  margin-bottom: 10px;
}

.comm-ctx-tier-desc {
  font-size: 13px;
  color: var(--mid);
  line-height: 1.65;
  font-weight: 300;
}

.comm-ctx-tier-link {
  display: inline-flex;
  margin-top: 14px;
  font-size: 12px;
  font-weight: 600;
  color: var(--mu);
  text-decoration: none;
  transition: color var(--t-base);
}

.comm-ctx-tier-link:hover {
  color: var(--o);
}

.comm-ctx-arrow {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  font-size: 12px;
  font-weight: 600;
  color: var(--o);
  letter-spacing: 0.04em;
}

.comm-ctx-arrow svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}


/* RESPONSIVE — COMMUNITIES PAGE
   ---------------------------------------------------------------- */
@media (max-width: 900px) {
  .hi { padding: 60px 24px; }

  .pb  { padding: 60px 24px; }
  .ti  { padding: 60px 24px; }
  .pt-sec { padding: 60px 24px; }

  .comm-ctx-grid { grid-template-columns: 1fr; gap: 40px; }

  .pb-grid { grid-template-columns: 1fr; gap: 40px; }
  .brg     { grid-template-columns: 1fr; gap: 40px; }
  .feh     { grid-template-columns: 1fr; gap: 40px; }
  .scg     { grid-template-columns: 1fr; gap: 40px; }
  .reg     { grid-template-columns: 1fr; gap: 40px; }

  .pbs .ps { grid-template-columns: 80px 1fr; gap: 20px; }

  .meg { grid-template-columns: 1fr 1fr; }
  .tg  { grid-template-columns: 1fr 1fr; }
  .fg  { grid-template-columns: 1fr 1fr; }

  .pt-sc { grid-template-columns: 1fr; }
  .ps2:not(.psc-mid) { display: none; }

  .cot { font-size: 11px; }
  .cot th, .cot td { padding: 9px 10px; }
}
