/* YouMind Core Equation — from index.html home-section-1 + home-mobile-diagnostic */

.ymct-core-equation {
  font: 400 16px/1.5 Poppins, sans-serif;
  color: #031728;
  background: #fff;
  width: 100%;
  max-width: none !important;
  box-sizing: border-box;
  overflow: hidden;
  /* index.html: .home-section + .home-section { margin-top:120px } on white main */
  padding-top: 120px;
  padding-bottom: 0;
}
.ymct-core-equation.alignfull {
  width: 100vw;
  max-width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
}
.ymct-core-equation *,
.ymct-core-equation *::before,
.ymct-core-equation *::after { box-sizing: border-box; }
.ymct-core-equation p { margin: 0; }
.ymct-core-equation .ceq-web { display: block; }
.ymct-core-equation .ceq-mobile { display: none; }
@media (max-width: 767px) {
  .ymct-core-equation .ceq-web { display: none; }
  .ymct-core-equation .ceq-mobile { display: block; }
}

.ymct-core-equation .sc79{background-color:#fff;display:flex;flex-direction:column;gap:52px;align-items:center;justify-content:center;padding-left:clamp(24px,5.556vw,80px);padding-right:clamp(24px,5.556vw,80px);position:relative;width:100%;max-width:1440px;margin-inline:auto;height:auto;}
.ymct-core-equation .sc80{display:flex;gap:20px;align-items:center;justify-content:center;position:relative;flex-shrink:0;width:100%;}
.ymct-core-equation .sc81{overflow-wrap:break-word;font-family:Poppins,Arial,sans-serif;font-weight:500;line-height:1.3;position:relative;flex-shrink:0;color:#0a0a0a;font-size:clamp(28px,3.33vw,48px);text-transform:uppercase;white-space:normal;text-align:center;}
.ymct-core-equation .sc82{display:flex;gap:20px;align-items:flex-end;justify-content:center;overflow:visible;position:relative;flex-shrink:0;width:100%;}
.ymct-core-equation .sc83{background-color:#fcfcfc;box-shadow:inset 0 0 0 1px var(--border,#f2f2f2);--border:#f2f2f2;display:flex;flex:1 1 0;flex-direction:column;gap:24px;align-items:center;justify-content:center;min-width:0;padding:24px;position:relative;border-radius:32px;}
.ymct-core-equation .sc84{overflow-wrap:break-word;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;line-height:1.2;position:relative;flex-shrink:0;text-align:center;width:100%;}
.ymct-core-equation .sc85{font-family:Poppins,Arial,sans-serif;font-weight:500;position:relative;flex-shrink:0;color:#021019;font-size:32px;width:100%;}
.ymct-core-equation .sc86{font-family:Poppins,Arial,sans-serif;font-weight:400;position:relative;flex-shrink:0;color:#031728;font-size:16px;letter-spacing:0.32px;width:100%;}
.ymct-core-equation .sc87{background-color:rgba(250,250,250,0.62);box-shadow:inset 0 0 0 1px var(--border,#f2f2f2);--border:#f2f2f2;display:flex;flex:1.55 1 0;flex-direction:column;gap:24px;align-items:flex-start;padding:24px;position:relative;border-radius:32px;min-width:0;max-width:544px;}
.ymct-core-equation .sc88{height:337px;position:relative;flex-shrink:0;width:100%;}
.ymct-core-equation .sc89{position:absolute;inset:0;max-width:none;object-fit:cover;width:100%;height:100%;pointer-events:none}
.ymct-core-equation .sc90{position:absolute;background:linear-gradient(180deg,var(--from),var(--to));bottom:-0.11px;--from:rgba(252,252,252,0);height:33px;left:68px;--to:#fcfcfc;width:340px;background-image:linear-gradient(180deg,rgba(252,252,252,0) 0%,#fcfcfc 100%)}
.ymct-core-equation .sc91{overflow-wrap:break-word;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;line-height:1.2;position:relative;flex-shrink:0;text-align:center;width:100%;}
.ymct-core-equation .sc92{font-family:Poppins,Arial,sans-serif;font-weight:500;position:relative;flex-shrink:0;color:#021019;font-size:32px;width:100%;}
.ymct-core-equation .sc93{font-family:Poppins,Arial,sans-serif;font-weight:400;position:relative;flex-shrink:0;color:#031728;font-size:16px;letter-spacing:0.32px;width:100%;}
.ymct-core-equation .sc94{background-color:rgba(250,250,250,0.62);box-shadow:inset 0 0 0 1px var(--border,#f2f2f2);--border:#f2f2f2;display:flex;flex:1 1 0;flex-direction:column;gap:24px;align-items:flex-start;min-width:0;padding:24px;position:relative;border-radius:32px;}
.ymct-core-equation .sc95{height:237px;position:relative;flex-shrink:0;width:100%;max-width:298px;align-self:center;}
.ymct-core-equation .sc96{position:absolute;inset:0;max-width:none;object-fit:cover;width:100%;height:100%;pointer-events:none}
.ymct-core-equation .sc97{position:absolute;background:linear-gradient(180deg,var(--from),var(--to));bottom:-0.11px;--from:rgba(252,252,252,0);height:33px;left:50%;--to:#fcfcfc;width:min(340px,100%);transform:translateX(-50%);background-image:linear-gradient(180deg,rgba(252,252,252,0) 0%,#fcfcfc 100%)}
.ymct-core-equation .sc98{overflow-wrap:break-word;display:flex;flex-direction:column;gap:8px;align-items:center;justify-content:center;line-height:1.2;position:relative;flex-shrink:0;text-align:center;width:100%;}
.ymct-core-equation .sc99{font-family:Poppins,Arial,sans-serif;font-weight:500;position:relative;flex-shrink:0;color:#021019;font-size:32px;width:100%;}
.ymct-core-equation .sc100{font-family:Poppins,Arial,sans-serif;font-weight:400;position:relative;flex-shrink:0;color:#031728;font-size:16px;letter-spacing:0.32px;width:100%;}
.ymct-core-equation .sc551{display:flex;flex-direction:column;gap:20px;align-items:center;position:relative;width:100%;height:auto;}
.ymct-core-equation .sc552{overflow-wrap:break-word;font-family:Poppins,Arial,sans-serif;font-weight:500;line-height:1.2;position:relative;flex-shrink:0;color:#0a0a0a;font-size:32px;text-align:center;width:327px;}
.ymct-core-equation .sc553{display:flex;flex-direction:column;gap:24px;align-items:center;position:relative;flex-shrink:0;}
.ymct-core-equation .sc554{display:flex;gap:20px;align-items:flex-start;position:relative;flex-shrink:0;width:361px;}
.ymct-core-equation .sc555{background-color:rgba(250,250,250,0.62);box-shadow:inset 0 0 0 1px var(--border,#f2f2f2);--border:#f2f2f2;display:flex;flex-direction:column;gap:24px;align-items:center;justify-content:center;padding:16px;position:relative;border-radius:24px;align-self:stretch;flex-shrink:0;width:296px;}
.ymct-core-equation .sc556{overflow-wrap:break-word;display:flex;flex-direction:column;font-family:Poppins,Arial,sans-serif;font-weight:500;gap:8px;align-items:center;justify-content:center;position:relative;flex-shrink:0;text-align:center;width:100%;}
.ymct-core-equation .sc557{line-height:1.4;position:relative;flex-shrink:0;color:#021019;font-size:24px;width:100%;}
.ymct-core-equation .sc558{line-height:normal;position:relative;flex-shrink:0;color:#031728;font-size:14px;width:100%;}
.ymct-core-equation .sc559{background-color:rgba(250,250,250,0.62);box-shadow:inset 0 0 0 1px var(--border,#f2f2f2);--border:#f2f2f2;display:flex;flex-direction:column;gap:24px;align-items:flex-start;padding:16px;position:relative;border-radius:24px;align-self:stretch;flex-shrink:0;width:361px;}
.ymct-core-equation .sc560{height:233px;position:relative;flex-shrink:0;width:259px;}
.ymct-core-equation .sc561{position:absolute;inset:0;pointer-events:none}
.ymct-core-equation .sc562{position:absolute;max-width:none;object-fit:cover;width:100%;height:100%;}
.ymct-core-equation .sc563{position:absolute;max-width:none;object-fit:cover;width:100%;height:100%;}
.ymct-core-equation .sc564{overflow-wrap:break-word;display:flex;flex-direction:column;font-family:Poppins,Arial,sans-serif;font-weight:500;gap:8px;align-items:center;justify-content:center;position:relative;flex-shrink:0;text-align:center;width:100%;}
.ymct-core-equation .sc565{line-height:1.4;position:relative;flex-shrink:0;color:#021019;font-size:24px;width:100%;}
.ymct-core-equation .sc566{line-height:normal;position:relative;flex-shrink:0;color:#031728;font-size:14px;width:100%;}
.ymct-core-equation .sc567{background-color:rgba(250,250,250,0.62);box-shadow:inset 0 0 0 1px var(--border,#f2f2f2);--border:#f2f2f2;display:flex;flex-direction:column;gap:24px;align-items:flex-start;padding:16px;position:relative;border-radius:24px;align-self:stretch;flex-shrink:0;width:361px;}
.ymct-core-equation .sc568{overflow-wrap:break-word;display:flex;flex-direction:column;font-family:Poppins,Arial,sans-serif;font-weight:500;gap:8px;align-items:center;justify-content:center;position:relative;flex-shrink:0;text-align:center;width:100%;}
.ymct-core-equation .sc569{line-height:1.4;position:relative;flex-shrink:0;color:#021019;font-size:24px;width:100%;}
.ymct-core-equation .sc570{line-height:normal;position:relative;flex-shrink:0;color:#031728;font-size:14px;width:100%;}
.ymct-core-equation .sc571{display:flex;align-items:center;justify-content:space-between;padding-left:124px;padding-right:124px;position:relative;flex-shrink:0;width:100%;}
.ymct-core-equation .sc572{display:flex;align-items:center;justify-content:center;position:relative;flex-shrink:0;}
.ymct-core-equation .sc573{flex:none;transform:scaleY(-1) rotate(180deg);}
.ymct-core-equation .sc574{position:relative;width:46px;height:46px;}
.ymct-core-equation .sc575{position:absolute;display:block;inset:0;max-width:none;width:100%;height:100%;}
.ymct-core-equation .sc576{position:relative;flex-shrink:0;width:46px;height:46px;}
.ymct-core-equation .sc577{position:absolute;display:block;inset:0;max-width:none;width:100%;height:100%;}

.ymct-core-equation .home-section { width: 100%; margin-top: 0; overflow: visible; }
.ymct-core-equation .home-section > .sc79 { width: 100%; max-width: 1440px; margin-inline: auto; height: auto; }
.ymct-core-equation .home-section-1 [data-node-id="609:3643"] { width: 100%; }
.ymct-core-equation .home-state-image { width: 100%; max-width: 298px; height: auto; aspect-ratio: 298 / 237; position: relative; flex-shrink: 0; overflow: hidden; }
.ymct-core-equation .home-state-image img { display: block; width: 100% !important; height: 100% !important; object-fit: cover; }
.ymct-core-equation .home-mobile-diagnostic { margin: 32px 16px 0; overflow: hidden; }

/* Exact Figma desktop widths when viewport is wide enough */
@media (min-width: 1440px) {
  .ymct-core-equation .sc79 { padding-left: 80px; padding-right: 80px; gap: 52px; }
  .ymct-core-equation .sc81 { font-size: 48px; white-space: nowrap; }
  .ymct-core-equation .sc87 { flex: 0 0 544px; width: 544px; max-width: 544px; }
  .ymct-core-equation .sc95 { width: 298px; max-width: 298px; }
  .ymct-core-equation .home-state-image { width: 298px; max-width: 298px; height: 237px; aspect-ratio: auto; }
}

/* Tablet — mirrors index.html @media (768–1439) home-section-1 rules */
@media (min-width: 768px) and (max-width: 1439px) {
  .ymct-core-equation .sc79 { gap: 36px; }
  .ymct-core-equation .sc81 { font-size: 36px; white-space: normal; text-align: center; }
  .ymct-core-equation .sc82 { flex-wrap: wrap; align-items: stretch; gap: 16px; overflow: visible; }
  .ymct-core-equation .sc83,
  .ymct-core-equation .sc94 { flex: 1 1 280px; min-width: 0; }
  .ymct-core-equation .sc87 { flex: 1 1 42%; width: 42%; max-width: 100%; }
  .ymct-core-equation .sc91 { width: 100%; }
  .ymct-core-equation .home-state-image { width: 100%; max-width: none; height: auto; }
  .ymct-core-equation .home-state-image img { width: 100% !important; height: auto !important; object-fit: contain; }
  .ymct-core-equation .sc95 { width: 100%; max-width: none; height: auto; aspect-ratio: 298 / 237; }
  .ymct-core-equation .sc95 img { object-fit: contain; }
  .ymct-core-equation .sc88 { height: auto; aspect-ratio: 496 / 337; }
}

/* Mobile extras — mirrors index.html home-mobile-diagnostic rules */
@media (max-width: 767px) {
  .ymct-core-equation { padding-top: 32px; padding-bottom: 0; }
  .ymct-core-equation .home-section { margin-top: 0; }
  .ymct-core-equation .sc552 { width: 100%; white-space: normal; text-align: center; }
  .ymct-core-equation .home-mobile-diagnostic [data-node-id="609:3656"] {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    width: 100%;
    align-items: stretch;
    -webkit-overflow-scrolling: touch;
  }
  .ymct-core-equation .home-mobile-diagnostic [data-node-id="609:3656"] > div { scroll-snap-align: start; }
  .ymct-core-equation .home-mobile-diagnostic [data-node-id="609:3653"] { height: auto; }
}
@media (max-width: 374px) {
  .ymct-core-equation .sc552 { width: 100%; }
}
