/* SAYSAY LINGO v8.4 — About page rebuilt without changing the Figma design. */
body[data-page="about"] .fig-frame-page{isolation:isolate}

/* The source Figma exporter emits some background rectangles after their text nodes.
   Restore the intended Figma paint order instead of moving/recreating the content. */
body[data-page="about"] .fig-desktop-wrap .fig-frame-page > .fig-rounded_rectangle{z-index:1!important}
body[data-page="about"] .fig-desktop-wrap .fig-frame-page > .fig-rounded_rectangle:has(>img){z-index:3!important}
body[data-page="about"] .fig-desktop-wrap .fig-frame-page > .fig-frame{z-index:4!important}
body[data-page="about"] .fig-desktop-wrap .fig-frame-page > .fig-text-node,
body[data-page="about"] .fig-desktop-wrap .fig-frame-page > .fig-instance-node{z-index:5!important}

/* Exact top section: beige background stays behind all original Figma copy/photo/buttons. */
body[data-page="about"] #fig-325-2077{z-index:0!important}
body[data-page="about"] #fig-32-435{z-index:3!important}
body[data-page="about"] #fig-31-433,
body[data-page="about"] #fig-32-434,
body[data-page="about"] #fig-33-455,
body[data-page="about"] #fig-325-2071,
body[data-page="about"] #fig-325-2072{z-index:6!important}

/* Story blocks. */
body[data-page="about"] #fig-325-2081,
body[data-page="about"] #fig-325-2083{z-index:0!important}
body[data-page="about"] #fig-33-443,
body[data-page="about"] #fig-325-2107{z-index:3!important}
body[data-page="about"] #fig-325-2079{z-index:4!important}
body[data-page="about"] #fig-33-439,
body[data-page="about"] #fig-33-441,
body[data-page="about"] #fig-33-446{z-index:6!important}

/* Author method background and statistics. */
body[data-page="about"] #fig-325-2124{z-index:1!important}
body[data-page="about"] #fig-33-452,
body[data-page="about"] #fig-33-454,
body[data-page="about"] #fig-325-2109,
body[data-page="about"] #fig-325-2113,
body[data-page="about"] #fig-327-2369{z-index:6!important}

/* Certificates: preserve the Figma geometry and the existing working carousel. */
body[data-page="about"] .about-cert-viewport{z-index:7!important}
body[data-page="about"] #fig-33-461{z-index:8!important}
body[data-page="about"] #fig-326-2129,
body[data-page="about"] #fig-326-2135{z-index:9!important;pointer-events:auto!important;cursor:pointer!important}

/* Teachers: use the homepage carousel itself — same width, card geometry and popup DOM. */
body[data-page="about"] .about-teacher-viewport{left:120px!important;top:2735px!important;width:1225px!important;height:666px!important;z-index:7!important}
body[data-page="about"] #fig-327-2257{z-index:8!important}
body[data-page="about"] #fig-327-2293,
body[data-page="about"] #fig-327-2296{z-index:9!important;pointer-events:auto!important;cursor:pointer!important}
body[data-page="about"] .v83-hide-static-teacher{visibility:hidden!important;pointer-events:none!important}

/* The exact homepage SVG arrows were inserted into the Figma arrow circles. */
body[data-page="about"] #fig-326-2129::before,
body[data-page="about"] #fig-326-2135::before,
body[data-page="about"] #fig-327-2293::before,
body[data-page="about"] #fig-327-2296::before,
body[data-page="about"] #fig-326-2129::after,
body[data-page="about"] #fig-326-2135::after,
body[data-page="about"] #fig-327-2293::after,
body[data-page="about"] #fig-327-2296::after{display:none!important;content:none!important}
body[data-page="about"] [data-teacher-prev] .fig-vector,
body[data-page="about"] [data-teacher-next] .fig-vector,
body[data-page="about"] [data-cert-prev] .fig-vector,
body[data-page="about"] [data-cert-next] .fig-vector{z-index:3!important}

/* Final CTA: exact Figma positions, no text collision or disappearing copy. */
body[data-page="about"] #fig-327-2306{z-index:1!important}
body[data-page="about"] #fig-327-2307,
body[data-page="about"] #fig-327-2308,
body[data-page="about"] #fig-327-2309,
body[data-page="about"] #fig-327-2310{z-index:8!important}
body[data-page="about"] #fig-327-2307,
body[data-page="about"] #fig-327-2308,
body[data-page="about"] #fig-327-2309,
body[data-page="about"] #fig-327-2310 .fig-text-node{white-space:nowrap!important}
body[data-page="about"] #fig-327-2310{cursor:pointer!important}

/* Never hide About copy as a side-effect of reveal animation. */
body[data-page="about"] .fig-text-node{opacity:1!important}

@media(max-width:700px){
  body[data-page="about"] .fig-mobile-wrap .fig-frame-page > .fig-rounded_rectangle{z-index:1!important}
  body[data-page="about"] .fig-mobile-wrap .fig-frame-page > .fig-rounded_rectangle:has(>img){z-index:3!important}
  body[data-page="about"] .fig-mobile-wrap .fig-frame-page > .fig-frame{z-index:4!important}
  body[data-page="about"] .fig-mobile-wrap .fig-frame-page > .fig-text-node,
  body[data-page="about"] .fig-mobile-wrap .fig-frame-page > .fig-instance-node{z-index:6!important}
  body[data-page="about"] .fig-mobile-wrap .fig-text-node{opacity:1!important}
}
