/* Emotify guide: the visual sections (diagrams, charts, animated scenes). Loaded after guide.css.
   Flat colours only. Rules of the road:
   - every element's resting style is its final, readable state; keyframes animate *towards* it,
     so reduced motion (animation: none) always leaves a complete picture;
   - loops only run while their section is on screen and the tab is visible ([data-vz-live].is-live). */

.gd-body [hidden] { display: none !important; }
.gd-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[data-vz-live]:not(.is-live) *, [data-vz-live]:not(.is-live) *::before, [data-vz-live]:not(.is-live) *::after { animation-play-state: paused !important; }

@keyframes gdSpin { to { transform: rotate(360deg); } }
@keyframes gdPing { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.35); opacity: 0; } }
@keyframes gdBlink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
@keyframes gdGrowY { from { transform: scaleY(0); } }
@keyframes gdGrowX { from { transform: scaleX(0); } }
@keyframes gdPop { from { opacity: 0; transform: scale(.6); } }
@keyframes gdIn { from { opacity: 0; transform: translateY(10px); } }
@keyframes gdArc { from { stroke-dasharray: 0 1; } }
@keyframes gdDraw { from { stroke-dashoffset: 1; } }
@keyframes gdFlow { to { stroke-dashoffset: -22; } }
@keyframes gdHalo { 0% { transform: scale(.6); opacity: .35; } 100% { transform: scale(1.6); opacity: 0; } }

/* speech bubble: Mo or a child talking */
.gd-bub { position: relative; display: inline-block; background: #fff; color: var(--char); border-radius: 18px; padding: 10px 15px; font-weight: 600; font-size: .95rem; line-height: 1.35; box-shadow: 0 10px 26px -14px rgba(51, 61, 71, .45); max-width: 26ch; }
.gd-bub::after { content: ""; position: absolute; left: 22px; bottom: -6px; width: 14px; height: 14px; background: inherit; transform: rotate(45deg); border-radius: 0 0 3px 0; }

/* ================================================================ schools 1: ecosystem */
.gd-eco { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.gd-eco-map { position: relative; width: 100%; max-width: 580px; aspect-ratio: 1; margin: 0 auto; }
.gd-eco-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gd-eco-rings circle { fill: none; stroke: var(--red-20); stroke-width: 1.5; stroke-dasharray: 3 7; }
.gd-eco-rings circle:first-child { fill: #fff; stroke: var(--red-20); stroke-dasharray: none; }
.gd-eco-rings .far { stroke: var(--char-10); stroke-dasharray: none; }
.gd-eco-orbit { transform-origin: 300px 300px; animation: gdSpin 46s linear infinite; }
.gd-eco-orbit.b { animation-duration: 30s; animation-direction: reverse; }
.gd-eco-link path { fill: none; stroke-linecap: round; }
.gd-eco-link .base { stroke: var(--char-20); stroke-width: 2; stroke-dasharray: 2 8; }
.gd-eco-link .draw { stroke: var(--red); stroke-width: 4; stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset .9s cubic-bezier(.2, .7, .2, 1), stroke .3s; }
.gd-eco-link.is-on .draw { stroke-dashoffset: 0; }
.gd-eco-link.is-all .draw { stroke: var(--red-40); }
.gd-eco-link .flow { stroke: #fff; stroke-width: 4; stroke-dasharray: 0 22; opacity: 0; transition: opacity .3s .5s; }
.gd-eco-link.is-on .flow { opacity: 1; animation: gdFlow 1.1s linear infinite; }

.gd-eco-node { position: absolute; left: var(--x); top: var(--y); width: 21%; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; border: 0; background: none; font: inherit; color: var(--char); cursor: pointer; -webkit-tap-highlight-color: transparent; z-index: 1; }
.gd-eco-node.is-center { width: 30%; gap: 14px; }
.gd-eco-disc { position: relative; width: 100%; aspect-ratio: 1; border-radius: 50%; background: #fff; display: grid; place-items: center; border: 3px solid var(--char-10); box-shadow: 0 16px 34px -20px rgba(51, 61, 71, .55); transition: transform .4s cubic-bezier(.2, .7, .2, 1), border-color .3s, box-shadow .3s; }
.gd-eco-disc .illo { width: 50%; height: auto; }
.gd-eco-is-center, .gd-eco-node.is-center .gd-eco-disc { background: var(--bg); border-color: var(--red-20); }
.gd-eco-mo { display: grid; place-items: center; width: 84%; }
.gd-eco-mo .mo { width: 100%; height: auto; }
.gd-eco-node:hover .gd-eco-disc { transform: scale(1.05); border-color: var(--red-40); }
.gd-eco-node.is-on .gd-eco-disc { border-color: var(--red); transform: scale(1.08); box-shadow: 0 0 0 8px var(--red-10), 0 20px 36px -18px rgba(211, 17, 69, .55); }
.gd-eco-node.is-on .gd-eco-disc::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--red); animation: gdPing 2.2s ease-out infinite; }
.gd-eco-name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: clamp(.78rem, 1.3vw, 1.02rem); line-height: 1.1; padding: 4px 11px; border-radius: 999px; background: #fff; box-shadow: 0 4px 12px -8px rgba(51, 61, 71, .5); text-align: center; transition: background .3s, color .3s; }
.gd-eco-node.is-on .gd-eco-name { background: var(--red); color: #fff; }
.gd-eco-node:focus-visible { outline: none; }
.gd-eco-node:focus-visible .gd-eco-disc { outline: 3px solid var(--blue); outline-offset: 6px; }
.gd-eco-hint { position: absolute; left: 0; right: 0; bottom: -6px; margin: 0; display: flex; justify-content: center; align-items: center; gap: 6px; font-size: .85rem; font-weight: 600; color: var(--char-60); transition: opacity .4s; }
.gd-eco[data-user] .gd-eco-hint { opacity: 0; }

.gd-eco-panel { min-width: 0; }
.gd-eco-k { display: flex; align-items: center; gap: 10px; margin: 0 0 6px; font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.gd-eco-role h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: clamp(2rem, 3.6vw, 3rem); line-height: .95; margin: 0 0 16px; color: var(--char); }
.gd-eco-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gd-eco-list li { display: flex; gap: 12px; align-items: flex-start; font-size: 1.04rem; line-height: 1.45; color: var(--char); }
.gd-eco-list .ico { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--red); color: #fff; margin-top: -1px; }
.gd-eco-role.is-swap h3, .gd-eco-role.is-swap .gd-eco-k { animation: gdIn .45s cubic-bezier(.2, .7, .2, 1) backwards; }
.gd-eco-role.is-swap li { animation: gdIn .5s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--j) * 60ms + 60ms); }
.gd-eco-role.is-swap .gd-pvw { animation: gdIn .6s cubic-bezier(.2, .7, .2, 1) .25s backwards; }

/* live previews */
.gd-pvw { margin-top: 22px; background: #fff; border: 1px solid var(--char-10); border-radius: 22px; padding: 16px 18px 18px; box-shadow: 0 1px 2px rgba(51, 61, 71, .05), 0 24px 44px -30px rgba(51, 61, 71, .45); max-width: 460px; }
.gd-pvw-k { display: flex; align-items: center; gap: 8px; margin: 0 0 12px; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--char-60); }
.gd-pvw-k small { margin-left: auto; padding: 2px 9px; border-radius: 999px; background: var(--char-5); font-size: .7rem; letter-spacing: .06em; }
.gd-pvw-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); animation: gdBlink 1.6s ease-in-out infinite; }
/* student */
.gd-pvs-top { display: flex; align-items: center; gap: 12px; }
.gd-pvs-top b { font-size: 1.08rem; }
.gd-pvs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0; }
.gd-pvs-chip { padding: 6px 13px; border-radius: 999px; border: 2px solid var(--char-10); font-weight: 700; font-size: .9rem; color: var(--char); }
.gd-pvs-chip.is-pick { border-color: #c3ad2f; background: #c3ad2f; color: #2E2604; animation: gdPick 7s infinite; }
@keyframes gdPick { 0%, 22% { border-color: var(--char-10); background: #fff; color: var(--char); transform: scale(1); } 26% { transform: scale(1.1); } 30%, 100% { border-color: #c3ad2f; background: #c3ad2f; color: #2E2604; transform: scale(1); } }
.gd-pvs-big { display: flex; align-items: center; gap: 10px; }
.gd-pvs-big small { font-weight: 700; color: var(--char-60); font-size: .82rem; }
.gd-pvs-dots { display: flex; gap: 5px; }
.gd-pvs-dots i { width: 14px; height: 14px; border-radius: 50%; background: var(--char-10); }
.gd-pvs-dots i.on { background: #c3ad2f; animation: gdDotPop 7s calc(var(--k) * 110ms) infinite backwards; }
@keyframes gdDotPop { 0%, 34% { transform: scale(0); } 39% { transform: scale(1.3); } 43%, 100% { transform: scale(1); } }
.gd-pvs-talk { display: inline-flex; align-items: center; gap: 7px; margin-top: 12px; padding: 7px 14px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 700; font-size: .9rem; animation: gdTalk 7s infinite backwards; }
@keyframes gdTalk { 0%, 55% { opacity: 0; transform: translateY(8px) scale(.9); } 62%, 100% { opacity: 1; transform: none; } }
/* teacher */
.gd-pvt-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; }
.gd-pvt-head span { font-size: .85rem; font-weight: 600; color: var(--char-60); }
.gd-pvt-bars { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; align-items: end; }
.gd-pvt-col { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.gd-pvt-bar { display: block; width: 100%; max-width: 34px; height: 92px; border-radius: 9px 9px 4px 4px; background: var(--c); transform-origin: bottom; transform: scaleY(var(--h)); animation: gdMood 6s ease-in-out infinite; animation-delay: calc(var(--j) * -0.7s); }
.gd-pvt-bar b { display: none; }
@keyframes gdMood { 0%, 100% { transform: scaleY(var(--h)); } 50% { transform: scaleY(var(--h2)); } }
/* wellbeing */
.gd-pva-t { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--char); }
.gd-pva-t .ico { color: var(--red); }
.gd-pva ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gd-pva li { display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 8px 10px; border-radius: 14px; background: var(--char-5); animation: gdRow 9s calc(var(--j) * .35s) infinite backwards; }
@keyframes gdRow { 0% { opacity: 0; transform: translateX(-18px); } 7%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.gd-pva-av { width: 32px; height: 32px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; font-weight: 800; }
.gd-pva-txt { font-size: .9rem; line-height: 1.3; color: var(--char-80); min-width: 0; }
.gd-pva-txt b { display: block; color: var(--char); }
.gd-pva-ack { display: inline-flex; align-items: center; gap: 4px; padding: 4px 9px; border-radius: 999px; background: var(--green-20); color: var(--green-ink); font-weight: 700; font-size: .76rem; white-space: nowrap; animation: gdAck 9s calc(var(--j) * .9s) infinite backwards; }
@keyframes gdAck { 0%, 38% { opacity: 0; transform: scale(.6); } 44%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* leaders */
.gd-pvl-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.gd-pvl-stats > div { background: var(--bg); border-radius: 14px; padding: 10px 12px; }
.gd-pvl-stats b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--red); }
.gd-pvl-stats span { font-size: .8rem; font-weight: 600; color: var(--char-80); }
.gd-pvl-zone { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; }
.gd-pvl-donut { width: 112px; height: 112px; }
.gd-pvl-donut circle, .gd-dk-donut circle { fill: none; stroke: var(--c); stroke-width: 16; stroke-dasharray: var(--len) 1; stroke-dashoffset: var(--off); transform: rotate(-90deg); transform-origin: 60px 60px; }
.gd-eco-role.is-swap .gd-pvl-donut circle { animation: gdArc .9s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--j) * 140ms + .35s); }
.gd-pvl-donut text { text-anchor: middle; font-family: var(--font-display); font-weight: 800; font-size: 24px; fill: var(--char); }
.gd-pvl-donut text.s { font-family: var(--font-body); font-weight: 600; font-size: 8.5px; fill: var(--char-60); }
.gd-pvl-zone b { font-size: .88rem; }
.gd-pvl-zone ul { list-style: none; margin: 6px 0 0; padding: 0; display: grid; gap: 4px; }
.gd-pvl-zone li { display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--char-80); }
.gd-pvl-zone li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c); }
.gd-pvl-zone li span { margin-left: auto; font-weight: 700; color: var(--char); }

@media (max-width: 900px) {
  .gd-eco { grid-template-columns: minmax(0, 1fr); }
  .gd-eco-map { max-width: 460px; }
  .gd-pvw { max-width: none; }
}
@media (max-width: 480px) {
  .gd-eco-name { font-size: .72rem; padding: 3px 8px; }
  .gd-eco-node { width: 23%; gap: 5px; }
  .gd-eco-node.is-center { width: 32%; }
  .gd-pvl-zone { grid-template-columns: 92px minmax(0, 1fr); }
  .gd-pvl-donut { width: 92px; height: 92px; }
}

/* ================================================================ schools 2: pipeline */
.gd-pipe { position: relative; }
.gd-pipe-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.gd-pipe-track, .gd-pipe-line { fill: none; stroke-linecap: round; stroke-width: 4; }
.gd-pipe-track { stroke: var(--char-20); stroke-dasharray: 1 11; }
.gd-pipe-line { stroke: var(--red); }
.gd-pipe-dot .core { fill: var(--red); stroke: #fff; stroke-width: 3.5; }
.gd-pipe-dot .halo { fill: var(--red); transform-box: fill-box; transform-origin: center; animation: gdHalo 1.6s ease-out infinite; }
.gd-pipe.is-static .gd-pipe-dot { display: none; }
.gd-pipe-stages { position: relative; z-index: 1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.gd-pipe-stage { display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 0; }
.gd-pipe-scene { width: 100%; aspect-ratio: 5 / 4; border-radius: 26px; background: var(--bg); display: grid; place-items: center; overflow: hidden; transition: opacity .5s, filter .5s, transform .5s cubic-bezier(.2, .7, .2, 1), box-shadow .5s; opacity: .7; filter: grayscale(.8); }
.gd-pipe-stage.is-on .gd-pipe-scene { opacity: 1; filter: none; transform: translateY(-4px); box-shadow: 0 26px 44px -34px rgba(211, 17, 69, .6); }
.gd-pipe-node { display: grid; place-items: center; width: 46px; height: 46px; margin: 18px 0 6px; border-radius: 50%; background: #fff; border: 3px solid var(--char-20); color: var(--char-40); transition: background .35s, border-color .35s, color .35s, transform .35s cubic-bezier(.3, 1.6, .5, 1); }
.gd-pipe-stage.is-on .gd-pipe-node { background: var(--red); border-color: var(--red); color: #fff; transform: scale(1.12); }
.gd-pipe-n { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(3.4rem, 6vw, 5.4rem); line-height: .82; letter-spacing: -.02em; color: var(--red-20); transition: color .5s; }
.gd-pipe-stage.is-on .gd-pipe-n { color: var(--red); }
.gd-pipe-txt h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: clamp(1.4rem, 2vw, 1.75rem); line-height: 1; margin: 8px 0 8px; color: var(--char); }
.gd-pipe-txt p { margin: 0; color: var(--char-80); font-size: .98rem; line-height: 1.5; }
.gd-pipe-stage:not(.is-on) .gd-sc *, .gd-pipe-stage:not(.is-on) .gd-sc *::before { animation-play-state: paused !important; }

/* scenes: small illustrated moments, about 200 x 150 */
.gd-sc { position: relative; width: 200px; height: 152px; font-family: var(--font-body); }
.gd-sc-printer { position: absolute; left: 22px; right: 22px; top: 18px; height: 54px; border-radius: 14px; background: var(--char); }
.gd-sc-printer::before { content: ""; position: absolute; left: 26px; right: 26px; top: -10px; height: 14px; border-radius: 6px 6px 0 0; background: var(--char-80); }
.gd-sc-led { position: absolute; right: 14px; top: 12px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: gdBlink 1.2s ease-in-out infinite; }
.gd-sc-slot { position: absolute; left: 16px; right: 16px; bottom: 9px; height: 6px; border-radius: 3px; background: #1C232A; }
.gd-sc-out { position: absolute; left: 40px; right: 40px; top: 63px; height: 88px; overflow: hidden; }
.gd-sc-card { position: relative; height: 84px; padding: 8px 10px; border-radius: 0 0 10px 10px; background: #fff; border-top: 4px solid var(--red); box-shadow: 0 10px 18px -12px rgba(51, 61, 71, .6); display: grid; align-content: start; gap: 3px; text-align: left; animation: gdPrint 4.5s cubic-bezier(.3, .7, .3, 1) infinite; }
@keyframes gdPrint { 0% { transform: translateY(-100%); } 38%, 90% { transform: none; opacity: 1; } 100% { transform: none; opacity: 0; } }
.gd-sc-card b { font-family: var(--font-display); text-transform: uppercase; font-size: 11px; letter-spacing: .08em; color: var(--red); }
.gd-sc-card span { display: flex; justify-content: space-between; align-items: baseline; gap: 6px; font-size: 10px; color: var(--char-60); }
.gd-sc-card code { font-family: var(--font-body); font-weight: 800; font-size: 12px; color: var(--char); }
.gd-sc-cut { position: absolute; left: 8px; right: 8px; bottom: 6px; border-top: 2px dashed var(--char-10); }

.gd-sc-join { position: absolute; left: 50%; top: 8px; width: 132px; margin-left: -66px; padding: 9px 10px 10px; border-radius: 18px; background: #fff; box-shadow: 0 14px 26px -18px rgba(51, 61, 71, .6); display: grid; justify-items: center; gap: 6px; }
.gd-sc-join b { font-size: 10px; font-weight: 800; color: var(--char); white-space: nowrap; }
.gd-sc-pin { display: flex; gap: 7px; }
.gd-sc-pin i { width: 11px; height: 11px; border-radius: 50%; border: 2px solid var(--red); background: var(--red); animation: gdPinDot 4s infinite backwards; }
.gd-sc-pin i:nth-child(2) { animation-delay: .4s; } .gd-sc-pin i:nth-child(3) { animation-delay: .8s; } .gd-sc-pin i:nth-child(4) { animation-delay: 1.2s; }
@keyframes gdPinDot { 0%, 9% { background: transparent; transform: scale(1); } 12% { background: var(--red); transform: scale(1.3); } 16%, 86% { background: var(--red); transform: scale(1); } 100% { background: transparent; } }
.gd-sc-keys { display: grid; grid-template-columns: repeat(3, 30px); gap: 4px; }
.gd-sc-keys i { height: 17px; border-radius: 6px; background: var(--char-5); font-style: normal; font-weight: 700; font-size: 10px; line-height: 17px; text-align: center; color: var(--char); }
.gd-sc-keys i.blank { background: transparent; }
.gd-sc-keys i.k1, .gd-sc-keys i.k3, .gd-sc-keys i.k5, .gd-sc-keys i.k7 { animation: gdKey 4s infinite; }
.gd-sc-keys i.k3 { animation-delay: .4s; } .gd-sc-keys i.k5 { animation-delay: .8s; } .gd-sc-keys i.k7 { animation-delay: 1.2s; }
.gd-sc-keys i.k11 { background: var(--green); color: #fff; animation: gdKeyOk 4s infinite; }
@keyframes gdKey { 0%, 8% { background: var(--char-5); color: var(--char); } 10% { background: var(--red); color: #fff; } 16%, 100% { background: var(--char-5); color: var(--char); } }
@keyframes gdKeyOk { 0%, 44% { background: var(--char-5); color: var(--char); transform: none; } 47% { transform: scale(1.2); } 50%, 88% { background: var(--green); color: #fff; transform: none; } 100% { background: var(--char-5); color: var(--char); } }

.gd-sc-check { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 10px; padding: 0 8px; }
.gd-sc-breathe { position: relative; width: 92px; height: 92px; display: grid; place-items: center; }
.gd-sc-breathe span { position: absolute; inset: 0; border-radius: 50%; background: #2b743a; animation: gdBreathe 4.5s ease-in-out infinite; }
.gd-sc-breathe .r3 { opacity: .12; } .gd-sc-breathe .r2 { inset: 9px; opacity: .2; animation-delay: .15s; } .gd-sc-breathe .r1 { inset: 18px; opacity: .3; animation-delay: .3s; }
@keyframes gdBreathe { 0%, 100% { transform: scale(.72); } 50% { transform: scale(1); } }
.gd-sc-breathe .face-svg { position: relative; width: 50px; height: 50px; }
.gd-sc-now { text-align: left; display: grid; gap: 5px; }
.gd-sc-now small { font-size: 10px; font-weight: 700; color: var(--char-60); line-height: 1.2; }
.gd-sc-meter { display: block; height: 10px; border-radius: 5px; background: #fff; overflow: hidden; }
.gd-sc-meter i { display: block; height: 100%; border-radius: 5px; background: #2b743a; transform-origin: left; transform: scaleX(.43); animation: gdCalm 4.5s ease-in-out infinite; }
@keyframes gdCalm { 0%, 20% { transform: scaleX(.71); background: #c3ad2f; } 60%, 100% { transform: scaleX(.43); background: #2b743a; } }
.gd-sc-word { display: flex; align-items: center; flex-wrap: wrap; gap: 3px; font-size: 10.5px; font-weight: 700; color: var(--char); }
.gd-sc-word b { color: var(--char-40); display: inline-flex; }
.gd-sc-tag { position: absolute; left: 10px; top: 8px; padding: 3px 9px; border-radius: 999px; background: #fff; font-size: 10px; font-weight: 700; color: #2b743a; }

.gd-sc-track { display: grid; place-items: center; }
.gd-sc-chart { width: 160px; padding: 10px 12px 10px; border-radius: 16px; background: #fff; box-shadow: 0 14px 26px -18px rgba(51, 61, 71, .6); text-align: left; }
.gd-sc-chart b { display: block; font-size: 10px; font-weight: 800; color: var(--char); margin-bottom: 8px; }
.gd-sc-bars { display: flex; align-items: flex-end; gap: 8px; height: 70px; border-bottom: 2px solid var(--char-10); }
.gd-sc-bars i { flex: 1; height: calc(var(--h) * 100%); display: flex; transform-origin: bottom; animation: gdBarLoop 5s calc(var(--j) * 120ms) infinite backwards; }
.gd-sc-bars u { flex: 1; border-radius: 5px 5px 2px 2px; background: var(--c); }
@keyframes gdBarLoop { 0% { transform: scaleY(0); } 22%, 92% { transform: none; } 100% { transform: scaleY(0); } }
.gd-sc-ok { position: absolute; right: 18px; top: 14px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--green); color: #fff; animation: gdOk 5s infinite backwards; }
@keyframes gdOk { 0%, 30% { transform: scale(0); } 36% { transform: scale(1.25); } 40%, 92% { transform: none; } 100% { transform: scale(0); } }

@media (max-width: 959px) {
  .gd-pipe-stages { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .gd-pipe-stage .gd-pipe-scene { max-width: 520px; }
  .gd-pipe-stage { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 16px; align-items: start; text-align: left; }
  .gd-pipe-node { grid-column: 1; grid-row: 1; margin: 6px 0 0; }
  .gd-pipe-txt { grid-column: 2; grid-row: 1; }
  .gd-pipe-scene { grid-column: 2; grid-row: 2; margin-top: 14px; aspect-ratio: 16 / 10; }
  .gd-pipe-n { font-size: 3.4rem; }
}

/* ================================================================ schools 3: dashboard anatomy */
.gd-subhead-wrap { margin: clamp(56px, 8vw, 104px) 0 22px; max-width: 760px; }
.gd-subhead-wrap .gd-subhead { margin: 0 0 8px; }
.gd-subhead-wrap p { margin: 0; color: var(--char-80); font-size: 1.08rem; }
.gd-dash { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(280px, 1fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.gd-dash-stage { min-width: 0; }
.gd-dash-view { position: relative; overflow: hidden; border-radius: 22px; background: var(--char-5); border: 1px solid var(--char-10); box-shadow: 0 40px 70px -46px rgba(51, 61, 71, .55); }
.gd-dash-canvas { position: absolute; left: 0; top: 0; width: 960px; height: 600px; transform-origin: 0 0; background: var(--char-5); font-family: var(--font-body); color: var(--char); transition: transform .7s cubic-bezier(.2, .7, .2, 1); }
.gd-dash-eg { margin: 10px 4px 0; font-size: .82rem; font-weight: 600; color: var(--char-60); }
.gd-dk-side { position: absolute; left: 0; top: 0; bottom: 0; width: 168px; background: var(--char); color: #fff; padding: 18px 14px; }
.gd-dk-logo { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.gd-dk-logo .mo { width: 30px; height: 30px; }
.gd-dk-logo b { font-family: var(--font-display); text-transform: uppercase; font-size: 20px; letter-spacing: .02em; }
.gd-dk-nav { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.gd-dk-nav li { display: flex; align-items: center; gap: 8px; padding: 8px 10px; border-radius: 10px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .72); }
.gd-dk-nav li.on { background: rgba(255, 255, 255, .12); color: #fff; }
.gd-dk-top { position: absolute; left: 168px; right: 0; top: 0; height: 66px; display: flex; align-items: center; gap: 12px; padding: 0 20px; }
.gd-dk-top > b { font-family: var(--font-display); text-transform: uppercase; font-size: 24px; letter-spacing: .01em; }
.gd-dk-pill { padding: 4px 11px; border-radius: 999px; background: var(--red-10); color: var(--red); font-weight: 700; font-size: 12px; }
.gd-dk-in { margin-left: auto; display: flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; background: #fff; font-size: 12px; font-weight: 700; }
.gd-dk-in i { width: 56px; height: 7px; border-radius: 4px; background: var(--char-10); overflow: hidden; }
.gd-dk-in i::after { content: ""; display: block; height: 100%; background: var(--green); transform-origin: left; transform: scaleX(var(--p)); }
.gd-dash.is-play .gd-dk-in i::after { animation: gdGrowX 1.2s .3s cubic-bezier(.2, .7, .2, 1) backwards; }
.gd-dr { position: absolute; transition: opacity .45s, transform .45s cubic-bezier(.2, .7, .2, 1); }
.gd-dash-canvas .gd-dr:not(.is-focus) { opacity: .4; }
.gd-dr.is-focus { z-index: 2; }
.gd-dr.is-focus::before { content: ""; position: absolute; inset: -6px; border-radius: 21px; border: 3px solid var(--red); box-shadow: 0 0 0 7px rgba(211, 17, 69, .12); pointer-events: none; animation: gdPop .35s cubic-bezier(.3, 1.4, .5, 1); }
.gd-dk-card { position: absolute; inset: 0; background: #fff; border-radius: 16px; padding: 14px 16px; box-shadow: 0 1px 2px rgba(51, 61, 71, .06); overflow: hidden; }
.gd-dk-h { display: flex; align-items: center; gap: 6px; margin: 0 0 10px; font-size: 13px; font-weight: 800; color: var(--char); }
.gd-dk-h .ico { color: var(--red); }
.gd-dk-badge { margin-left: auto; min-width: 22px; height: 22px; border-radius: 11px; background: var(--red); color: #fff; font-size: 12px; display: grid; place-items: center; }
.gd-dk-split { display: grid; grid-template-columns: minmax(0, 1fr) 130px; gap: 16px; height: calc(100% - 30px); }
.gd-dk-bars { display: flex; align-items: flex-end; gap: 14px; height: 100%; padding-bottom: 20px; position: relative; }
.gd-dk-day { flex: 1; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; align-items: center; position: relative; }
.gd-dk-stack { width: 100%; max-width: 40px; display: flex; flex-direction: column-reverse; gap: 2px; transform-origin: bottom; }
.gd-dk-stack i { display: block; border-radius: 4px; min-height: 4px; }
.gd-dk-day small { position: absolute; bottom: -20px; font-size: 11px; font-weight: 700; color: var(--char-60); }
.gd-dash.is-play .gd-dk-stack { animation: gdGrowY .9s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--k) * 110ms + .2s); }
.gd-dk-mix { display: grid; justify-items: center; align-content: center; gap: 6px; }
.gd-dk-donut { width: 120px; height: 120px; }
.gd-dash.is-play .gd-dk-donut circle { animation: gdArc 1s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--j) * 110ms + .5s); }
.gd-dk-donut text { text-anchor: middle; font-family: var(--font-display); font-weight: 800; font-size: 24px; fill: var(--char); }
.gd-dk-mix small { font-size: 11px; font-weight: 700; color: var(--char-60); }
.gd-dk-alerts { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.gd-dk-alerts li { display: grid; grid-template-columns: 10px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; background: var(--char-5); font-size: 12px; line-height: 1.3; color: var(--char-80); }
.gd-dash.is-play .gd-dk-alerts li { animation: gdSlide .6s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--k) * 180ms + .4s); }
@keyframes gdSlide { from { opacity: 0; transform: translateX(26px); } }
.gd-dk-alerts b { display: block; color: var(--char); font-size: 12.5px; }
.gd-dk-alerts .sev { width: 10px; height: 10px; border-radius: 50%; }
.sev.s0 { background: var(--red); } .sev.s1, .sev.s2 { background: var(--zone-tip); }
.gd-dk-ack { display: grid; font-style: normal; font-size: 11px; font-weight: 700; }
.gd-dk-ack > span { grid-area: 1 / 1; display: inline-flex; align-items: center; justify-content: center; gap: 3px; padding: 4px 8px; border-radius: 999px; white-space: nowrap; }
.gd-dk-ack .a { border: 1.5px solid var(--char-20); color: var(--char); background: #fff; animation: gdAckA 9s infinite backwards; animation-delay: calc(var(--k) * 1.3s); }
.gd-dk-ack .b { background: var(--green-20); color: var(--green-ink); opacity: 0; animation: gdAckB 9s infinite backwards; animation-delay: calc(var(--k) * 1.3s); }
@keyframes gdAckA { 0%, 30% { opacity: 1; transform: none; } 34%, 94% { opacity: 0; transform: scale(.8); } 100% { opacity: 1; transform: none; } }
@keyframes gdAckB { 0%, 33% { opacity: 0; transform: scale(.6); } 38% { opacity: 1; transform: scale(1.1); } 41%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.gd-dk-task { margin-bottom: 12px; }
.gd-dk-task b { display: block; font-size: 13px; margin-bottom: 5px; }
.gd-dk-prog { display: block; height: 10px; border-radius: 5px; background: var(--char-10); overflow: hidden; }
.gd-dk-prog i { display: block; height: 100%; border-radius: 5px; background: var(--red); transform-origin: left; transform: scaleX(var(--p)); }
.gd-dash.is-play .gd-dk-prog i { animation: gdGrowX 1.3s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--k) * 200ms + .6s); }
.gd-dk-task small { font-size: 11px; font-weight: 600; color: var(--char-60); }
.gd-dk-who { display: flex; gap: 5px; margin-top: 4px; }
.gd-dk-who i { width: 20px; height: 20px; border-radius: 50%; background: var(--char-10); }
.gd-dk-who i.y { background: var(--green); }
.gd-dash.is-play .gd-dk-who i.y { animation: gdPop .4s cubic-bezier(.3, 1.5, .5, 1) backwards; animation-delay: calc(var(--k) * 90ms + 1.2s); }
.gd-dk-stu-top { display: flex; align-items: center; gap: 10px; }
.gd-dk-stu-top b { display: block; font-size: 15px; }
.gd-dk-stu-top small { font-size: 11px; color: var(--char-60); font-weight: 600; }
.gd-dk-spark { display: block; width: 100%; height: auto; margin: 10px 0 6px; overflow: visible; }
.gd-dk-spark polyline { fill: none; stroke: #3686c7; stroke-width: 3.5; stroke-linejoin: round; stroke-linecap: round; stroke-dasharray: 1; }
.gd-dash.is-play .gd-dk-spark polyline { animation: gdDraw 1.6s .6s ease-out backwards; }
.gd-dk-sw { display: flex; align-items: center; gap: 6px; margin: 0; padding: 8px 10px; border-radius: 12px; background: var(--char-5); font-size: 12px; font-weight: 600; }
.gd-dk-sw span { margin-right: auto; }
.gd-dk-sw b { font-family: var(--font-display); font-size: 18px; color: var(--zone-tip); }
.gd-dk-sw b.lo { color: var(--zone-calm); }
.gd-dk-note { background: var(--yellow-20); }
.gd-dk-staff { margin-left: auto; padding: 2px 8px; border-radius: 999px; background: var(--char); color: #fff; font-size: 10px; }
.gd-dk-txt { margin: 0; font-size: 12px; line-height: 1.4; color: var(--char-80); }
.gd-dk-bubble { display: flex; align-items: flex-end; gap: 8px; }
.gd-dk-bubble span { flex: 1; padding: 8px 11px; border-radius: 14px 14px 4px 14px; background: var(--red); color: #fff; font-size: 12px; line-height: 1.35; font-weight: 600; }
.gd-dk-bubble i { width: 30px; height: 30px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--char); color: #fff; }
.gd-dash.is-play .gd-dk-bubble span { animation: gdIn .6s 1.4s cubic-bezier(.2, .7, .2, 1) backwards; }
.gd-dk-cards { position: absolute; inset: 0; border-radius: 16px; background: rgba(255, 255, 255, .07); padding: 14px; color: #fff; }
.gd-dk-lc { position: absolute; left: 22px; top: 18px; width: 82px; height: 54px; border-radius: 8px; background: #fff; border-top: 5px solid var(--red); box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .5); }
.gd-dk-lc.l3 { transform: translate(24px, 4px) rotate(9deg); opacity: .7; } .gd-dk-lc.l2 { transform: translate(12px, 2px) rotate(4deg); opacity: .85; }
.gd-dk-lc b, .gd-dk-lc i { position: absolute; left: 9px; height: 5px; border-radius: 3px; background: var(--char-20); }
.gd-dk-lc b { top: 8px; width: 40px; background: var(--char-40); } .gd-dk-lc i { top: 20px; width: 56px; } .gd-dk-lc i + i { top: 31px; width: 30px; }
.gd-dk-cards p { position: absolute; left: 14px; right: 10px; bottom: 12px; margin: 0; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; }
.gd-dk-demo { position: absolute; inset: 0; border-radius: 16px; background: rgba(255, 255, 255, .07); padding: 16px 14px; display: grid; align-content: center; gap: 4px; color: #fff; }
.gd-dk-demo .ico { color: var(--yellow); }
.gd-dk-demo b { font-family: var(--font-display); text-transform: uppercase; font-size: 18px; }
.gd-dk-demo small { font-size: 11.5px; color: rgba(255, 255, 255, .72); font-weight: 600; }
.gd-dhot { position: absolute; left: -11px; top: -11px; z-index: 3; width: 30px; height: 30px; padding: 0; border-radius: 50%; border: 3px solid #fff; background: var(--red); color: #fff; font: 800 14px/1 var(--font-body); cursor: pointer; box-shadow: 0 6px 14px -6px rgba(211, 17, 69, .8); transition: transform .25s; }
.gd-dhot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--red); animation: gdPing 2s ease-out infinite; }
.gd-dr:not(.is-focus) .gd-dhot { background: var(--char); box-shadow: none; }
.gd-dr:not(.is-focus) .gd-dhot::after { display: none; }
.gd-dhot:hover { transform: scale(1.15); }

.gd-dash-side { display: grid; gap: 16px; min-width: 0; }
.gd-dash-info { background: var(--bg); border-radius: 24px; padding: clamp(20px, 2.4vw, 28px); min-height: 230px; }
.gd-dash-info.is-swap > * { animation: gdIn .45s cubic-bezier(.2, .7, .2, 1) backwards; }
.gd-dash-info.is-swap > *:nth-child(2) { animation-delay: .05s; } .gd-dash-info.is-swap > *:nth-child(3) { animation-delay: .1s; }
.gd-dash-of { display: flex; align-items: baseline; gap: 12px; margin: 0 0 8px; font-size: .85rem; font-weight: 700; color: var(--char-60); }
.gd-dash-n { font-family: var(--font-display); font-weight: 800; font-size: 3.6rem; line-height: .8; color: var(--red); }
.gd-dash-info h4 { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1; margin: 0 0 10px; color: var(--char); }
.gd-dash-info p[data-d] { margin: 0; color: var(--char-80); line-height: 1.55; }
.gd-dash-tabs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.gd-dash-tab { position: relative; overflow: hidden; display: flex; align-items: center; gap: 8px; min-height: 46px; padding: 8px 10px; border-radius: 14px; border: 2px solid var(--char-10); background: #fff; font: inherit; font-size: .88rem; font-weight: 700; color: var(--char); text-align: left; cursor: pointer; transition: border-color .2s, background .2s; }
.gd-dash-tab .n { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--char-10); display: grid; place-items: center; font-size: .78rem; }
.gd-dash-tab .ico { flex: none; color: var(--red); }
.gd-dash-tab .t { line-height: 1.15; min-width: 0; }
.gd-dash-tab:hover { border-color: var(--red-20); }
.gd-dash-tab.is-on { border-color: var(--red); background: var(--red-10); }
.gd-dash-tab.is-on .n { background: var(--red); color: #fff; }
.gd-dash-prog { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--red); transform-origin: left; transform: scaleX(0); }
.gd-dash:not([data-user]) .gd-dash-tab.is-on .gd-dash-prog { animation: gdTimer 5.2s linear; }
@keyframes gdTimer { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.gd-dash-nav { display: flex; gap: 8px; }
.gd-dash-arrow { width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--char-20); background: #fff; color: var(--char); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, background .2s, color .2s; }
.gd-dash-arrow:hover { border-color: var(--red); color: var(--red); }
@media (max-width: 1080px) {
  .gd-dash { grid-template-columns: minmax(0, 1fr); }
  .gd-dash-side { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: start; }
  .gd-dash-nav { grid-column: 1 / -1; }
}
@media (max-width: 700px) {
  .gd-dash-side { grid-template-columns: minmax(0, 1fr); }
  .gd-dash-info { min-height: 0; }
  .gd-dash-tabs { grid-template-columns: repeat(8, minmax(0, 1fr)); gap: 6px; }
  .gd-dash-tab { justify-content: center; padding: 6px 0; min-height: 42px; }
  .gd-dash-tab .ico, .gd-dash-tab .t { display: none; }
  .gd-dash-nav { justify-content: center; }
  .gd-dash.is-zoom .gd-dash-canvas .gd-dr:not(.is-focus) { opacity: .55; }
}

/* ================================================================ schools 4: privacy, two sides */
.gd-pv-sides { display: grid; grid-template-columns: minmax(0, 1fr) 64px minmax(0, 1fr); align-items: stretch; }
.gd-pv-side { border-radius: 30px; padding: clamp(22px, 3vw, 38px); min-width: 0; }
.gd-pv-side h3 { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.1rem); line-height: 1; margin: 0 0 18px; }
.gd-pv-see { background: #fff; border: 1px solid var(--char-10); box-shadow: 0 30px 60px -48px rgba(51, 61, 71, .6); }
.gd-pv-see h3 { color: var(--char); } .gd-pv-see h3 .ico { color: var(--red); }
.gd-pv-priv { background: var(--char); color: #fff; }
.gd-pv-priv h3 { color: #fff; }
.gd-pv-priv h3 .gd-lock { width: 24px; height: 24px; color: var(--red-40); }
.gd-lock .kh { fill: var(--char); } .gd-lock .kh2 { stroke: var(--char); }
.gd-pv-cap { margin: 0 0 10px; font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--char-60); }
.gd-pv-week { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(6px, 1.4vw, 14px); padding: 34px 14px 12px; border-radius: 20px; background: var(--bg); margin-bottom: 20px; }
.gd-pv-day { display: flex; flex-direction: column; align-items: center; gap: 5px; min-width: 0; text-align: center; }
.gd-pv-see { display: flex; flex-direction: column; }
.gd-pv-see .gd-pv-week { flex: 1; min-height: 210px; max-height: 300px; }
.gd-pv-col { position: relative; width: 100%; max-width: 46px; flex: 1; min-height: 118px; display: flex; align-items: flex-end; }
.gd-pv-bar { position: relative; width: 100%; height: calc(var(--h) * 100%); border-radius: 10px 10px 5px 5px; background: var(--c); transform-origin: bottom; display: flex; justify-content: center; }
.gd-pv-bar b { margin-top: 5px; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; color: #fff; line-height: 1; }
.gd-pv-see.is-in .gd-pv-bar { animation: gdGrowY .9s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--k) * 130ms + .3s); }
.gd-pv-after { position: absolute; left: -4px; right: -4px; bottom: calc(var(--a) * 100%); border-top: 3px dashed var(--char); }
.gd-pv-swtag { position: absolute; left: 50%; bottom: calc(var(--h) * 100% + 8px); transform: translateX(-50%); display: inline-flex; align-items: center; gap: 1px; padding: 2px 7px; border-radius: 999px; background: var(--char); color: #fff; font-size: .7rem; font-weight: 800; white-space: nowrap; }
.gd-pv-page { position: absolute; left: 50%; bottom: calc(var(--h) * 100% + 8px); width: 26px; height: 32px; margin-left: -13px; border-radius: 4px; background: #fff; border: 2.5px solid var(--c); display: grid; align-content: center; gap: 3px; padding: 0 5px; transition: transform .4s cubic-bezier(.3, 1.5, .5, 1); }
.gd-pv-page i { display: block; height: 2.5px; border-radius: 2px; background: var(--c); opacity: 0; transition: opacity .4s; }
.gd-pv.is-shared .gd-pv-page { transform: scale(1.15) rotate(-6deg); }
.gd-pv.is-shared .gd-pv-page i { opacity: 1; }
.gd-pv-day .face-svg { width: 30px; height: 30px; }
.gd-pv-word { font-size: .8rem; font-weight: 700; line-height: 1.15; color: var(--char); overflow-wrap: anywhere; }
.gd-pv-day small { font-size: .74rem; font-weight: 600; color: var(--char-60); }
.gd-pv-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.gd-pv-list li { display: flex; gap: 12px; align-items: flex-start; font-size: .98rem; line-height: 1.45; }
.gd-pv-see .gd-pv-list li { color: var(--char-80); }
.gd-pv-see .gd-pv-list .ico { flex: none; color: var(--red); margin-top: 2px; }
.gd-pv-priv .gd-pv-list li { color: rgba(255, 255, 255, .85); }
.gd-pv-priv .gd-pv-list .ico { flex: none; color: var(--red-40); margin-top: 3px; }
.gd-pv-lens { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 120px; }
.gd-pv-lens::before { content: ""; position: absolute; top: 40px; bottom: 40px; left: 50%; border-left: 2px dashed var(--char-20); }
.gd-pv-lens span { position: relative; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--red); box-shadow: 0 8px 20px -10px rgba(51, 61, 71, .5); }
.gd-pv-lens span.lk { background: var(--char); color: var(--red-40); }
.gd-pv-lens .gd-lock { width: 22px; height: 22px; }
.gd-pv-diary { position: relative; margin: 4px 0 20px; padding: 0 0 30px; }
.gd-pv-paper { position: relative; background: #FFFDF8; color: var(--char); border-radius: 6px 18px 18px 6px; padding: 18px 22px 18px 32px; transform: rotate(-1.2deg); box-shadow: 0 24px 40px -26px rgba(0, 0, 0, .7); }
.gd-pv-paper::before { content: ""; position: absolute; left: 18px; top: 0; bottom: 0; border-left: 2px solid var(--salmon); }
.gd-pv-date { display: flex; align-items: center; gap: 8px; margin: 0 0 8px; font-weight: 800; font-size: .9rem; color: var(--char-80); }
.gd-pv-text { margin: 0 0 12px; font-size: 1.02rem; line-height: 1.6; }
.gd-pv-words { display: block; filter: blur(5px); transition: filter .7s ease; user-select: none; }
.gd-pv.is-shared .gd-pv-words { filter: none; }
.gd-pv-doodle { position: relative; width: 150px; border-radius: 12px; overflow: hidden; background: var(--char-5); }
.gd-pv-doodle-art { display: block; width: 100%; height: auto; }
.gd-pv-cover { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--char-10); color: var(--char-80); font-weight: 700; font-size: .8rem; transition: opacity .5s .2s, transform .5s .2s; }
.gd-pv-cover .gd-lock { width: 16px; height: 16px; color: var(--char-60); }
.gd-pv-cover .gd-lock .kh { fill: var(--char-10); } .gd-pv-cover .gd-lock .kh2 { stroke: var(--char-10); }
.gd-pv.is-shared .gd-pv-cover { opacity: 0; transform: translateY(-100%); }
.gd-pv-padlock { position: absolute; left: 50%; top: 40%; width: 74px; height: 74px; margin: -37px 0 0 -37px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; box-shadow: 0 0 0 8px rgba(211, 17, 69, .22), 0 20px 30px -14px rgba(0, 0, 0, .6); transition: opacity .4s .45s, transform .5s .45s cubic-bezier(.5, 0, .7, .4); }
.gd-pv-padlock .gd-lock { width: 38px; height: 38px; }
.gd-pv-padlock .gd-lock .kh { fill: var(--red); } .gd-pv-padlock .gd-lock .kh2 { stroke: var(--red); }
.gd-lock .sh { transition: transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.gd-pv.is-shared .gd-pv-padlock { opacity: 0; transform: scale(.6) translateY(-20px); }
.gd-pv.is-shared .gd-pv-padlock .sh { transform: translateY(-6px); }
.gd-pv-kid { position: absolute; right: -6px; bottom: -6px; display: flex; align-items: flex-end; gap: 8px; flex-direction: row-reverse; }
.gd-pv-kid .face-svg { flex: none; width: 44px; height: 44px; }
.gd-pv-kid .gd-bub { font-size: .88rem; padding: 8px 13px; margin-bottom: 26px; }
.gd-pv-kid .gd-bub::after { left: auto; right: 14px; }
.gd-pv.is-shared .gd-pv-kid .gd-bub { animation: gdPop .4s cubic-bezier(.3, 1.5, .5, 1); }
.gd-pv-share { margin-bottom: 18px; }
.gd-pv-share p { margin: 0 0 12px; color: rgba(255, 255, 255, .8); font-size: .95rem; line-height: 1.5; }
.gd-pv-share p b { display: block; color: #fff; font-size: 1.05rem; margin-bottom: 2px; }
.gd-pv-switch { width: 100%; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px; border: 2px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .06); color: #fff; font: inherit; text-align: left; cursor: pointer; transition: border-color .25s, background .25s; }
.gd-pv-switch:hover { border-color: rgba(255, 255, 255, .45); }
.gd-pv-switch[aria-checked="true"] { border-color: var(--red-40); background: rgba(211, 17, 69, .2); }
.gd-pv-sw-t { flex: 1; min-width: 0; }
.gd-pv-sw-t b { display: block; font-size: 1rem; }
.gd-pv-sw-t small { display: block; color: rgba(255, 255, 255, .7); font-size: .86rem; margin-top: 2px; }
.gd-pv-knob { flex: none; position: relative; width: 56px; height: 32px; border-radius: 16px; background: var(--char-60); transition: background .25s; }
.gd-pv-knob i { position: absolute; left: 4px; top: 4px; width: 24px; height: 24px; border-radius: 50%; background: #fff; transition: transform .3s cubic-bezier(.3, 1.4, .5, 1); }
.gd-pv-switch[aria-checked="true"] .gd-pv-knob { background: var(--red); }
.gd-pv-switch[aria-checked="true"] .gd-pv-knob i { transform: translateX(24px); }
.gd-pv-switch:not([aria-checked="true"]) .gd-pv-knob { animation: gdNudge 3.4s ease-in-out infinite; }
@keyframes gdNudge { 0%, 70%, 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } 80% { box-shadow: 0 0 0 7px rgba(255, 255, 255, .2); } }

.gd-pv-safe { margin-top: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr) auto; gap: clamp(18px, 3vw, 36px); align-items: center; padding: clamp(22px, 3vw, 36px); border-radius: 30px; background: #fff; border: 1px solid var(--char-10); }
.gd-pv-safe-txt h3 { display: flex; align-items: center; gap: 12px; font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 1.9rem); line-height: 1; margin: 0 0 10px; color: var(--char); }
.gd-pv-safe-txt h3 .gd-shield { width: 38px; height: 38px; flex: none; }
.gd-pv-safe-txt p { margin: 0; color: var(--char-80); line-height: 1.55; }
.gd-shield .s1 { fill: var(--red); } .gd-shield .s2 { fill: #fff; opacity: .16; } .gd-shield .s3 { stroke: #fff; }
.gd-pv-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.gd-pv-flow li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.gd-pv-flow li:not(:last-child)::after { content: ""; position: absolute; top: 33px; left: calc(50% + 42px); right: calc(-50% + 42px); border-top: 3px dotted var(--red-40); }
.gd-pf-art { width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); animation: gdBeat 4.2s ease-in-out infinite; animation-delay: calc(var(--k) * .7s); }
@keyframes gdBeat { 0%, 12%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(211, 17, 69, 0); } 18% { transform: scale(1.12); box-shadow: 0 0 0 8px rgba(211, 17, 69, .14); } 26% { transform: scale(1); } }
.gd-pf-art .gd-shield { width: 40px; height: 40px; }
.gd-pf-page { width: 32px; height: 40px; border-radius: 4px; background: #fff; border: 2.5px solid var(--char-40); display: grid; align-content: center; gap: 4px; padding: 0 5px; }
.gd-pf-page i { display: block; height: 3px; border-radius: 2px; background: var(--char-20); }
.gd-pf-page i.hl { height: 6px; background: var(--red); transform-origin: left; animation: gdHL 4.2s ease-in-out infinite; }
@keyframes gdHL { 0% { transform: scaleX(0); } 14%, 100% { transform: none; } }
.gd-pf-staff { color: var(--red); display: grid; }
.gd-pf-staff .ico { fill: var(--red); }
.gd-pf-t { font-size: .88rem; font-weight: 600; line-height: 1.3; color: var(--char); }
.gd-pv-mo { position: relative; display: flex; flex-direction: column; align-items: center; }
.gd-pv-mo .gd-bub { background: var(--red); color: #fff; font-size: .9rem; max-width: 19ch; margin-bottom: 10px; text-align: center; }
.gd-pv-mo .gd-bub::after { left: 50%; margin-left: -7px; }
.gd-pv-mo .mo { width: 92px; height: 92px; }

.gd-rings { margin-top: clamp(36px, 5vw, 64px); }
.gd-rings h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: 1.8rem; margin: 0 0 18px; color: var(--char); }
.gd-rings-in { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(20px, 4vw, 56px); align-items: center; }
.gd-rings-art { width: 100%; max-width: 260px; height: auto; margin: 0 auto; display: block; }
.gd-rings-art .r0 { fill: #fff; stroke: var(--char-20); stroke-width: 2; }
.gd-rings-art .r1 { fill: var(--red-10); stroke: var(--red-40); stroke-width: 2; }
.gd-rings-art .r2 { fill: var(--red); }
.gd-rings.is-in .gd-rings-art circle { animation: gdPop .7s cubic-bezier(.3, 1.4, .5, 1) backwards; transform-box: fill-box; transform-origin: center; }
.gd-rings.is-in .gd-rings-art .r1 { animation-delay: .15s; } .gd-rings.is-in .gd-rings-art .r2 { animation-delay: .3s; }
.gd-rings-art text { text-anchor: middle; font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 15px; letter-spacing: .04em; }
.gd-rings-art .t0 { fill: var(--char); } .gd-rings-art .t1 { fill: var(--red); } .gd-rings-art .t2 { fill: #fff; }
.gd-rings-list { margin: 0; display: grid; gap: 12px; }
.gd-rings-list > div { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 16px; align-items: center; padding: 14px 18px; border-radius: 18px; background: #fff; border-left: 6px solid var(--c); }
.gd-rings-list dt { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: 1.3rem; color: var(--char); }
.gd-rings-list dd { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 14px; font-size: .95rem; color: var(--char); }
.gd-rings-list small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--char-60); margin-bottom: 2px; }
@media (max-width: 960px) {
  .gd-pv-sides { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .gd-pv-lens { flex-direction: row; height: 64px; gap: 90px; }
  .gd-pv-lens::before { top: 50%; bottom: auto; left: 40px; right: 40px; border-left: 0; border-top: 2px dashed var(--char-20); }
  .gd-pv-safe { grid-template-columns: minmax(0, 1fr); }
  .gd-pv-mo { flex-direction: row-reverse; justify-content: center; gap: 10px; }
  .gd-pv-mo .gd-bub { margin-bottom: 0; }
  .gd-pv-mo .gd-bub::after { left: -5px; top: 50%; bottom: auto; margin: -7px 0 0; }
  .gd-rings-in { grid-template-columns: minmax(0, 1fr); }
  .gd-rings-art { max-width: 220px; }
  .gd-rings-list > div { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
@media (max-width: 520px) {
  .gd-pv-week { padding: 34px 6px 10px; }
  .gd-pv-word { font-size: .64rem; overflow-wrap: normal; hyphens: auto; -webkit-hyphens: auto; }
  .gd-pv-week { gap: 4px; }
  .gd-pv-flow li:not(:last-child)::after { left: calc(50% + 34px); right: calc(-50% + 34px); }
  .gd-pf-art { width: 60px; height: 60px; }
  .gd-pf-t { font-size: .8rem; }
  .gd-rings-list dd { grid-template-columns: minmax(0, 1fr); gap: 6px; }
  .gd-pv-kid .gd-bub { max-width: 20ch; }
}

/* ================================================================ schools 5: launch timeline */
.gd-tl { position: relative; }
.gd-tl-track { position: absolute; left: 33px; right: calc((100% - 2 * clamp(16px, 3vw, 40px)) / 3 - 33px); top: 31px; height: 4px; border-radius: 2px; background: var(--char-10); }
.gd-tl-track i { display: block; height: 100%; border-radius: 2px; background: var(--red); transform-origin: left; transform: scaleX(0); transition: transform 1.8s cubic-bezier(.4, .1, .2, 1) .3s; }
.gd-tl.is-in .gd-tl-track i { transform: none; }
.gd-tl-list { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 3vw, 40px); }
.gd-tl-ph { min-width: 0; }
.gd-tl-mark { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: #fff; border: 4px solid var(--char-10); color: var(--char-40); margin-bottom: 18px; transition: border-color .4s, color .4s, background .4s, transform .4s cubic-bezier(.3, 1.5, .5, 1); transition-delay: calc(var(--k) * .7s + .3s); }
.gd-tl.is-in .gd-tl-mark { border-color: var(--red); color: #fff; background: var(--red); transform: scale(1.06); }
.gd-tl-ph:nth-child(3) .gd-tl-mark .ico { animation: gdSpin 7s linear infinite; }
.gd-tl-k { display: inline-block; margin: 0 0 6px; padding: 4px 12px; border-radius: 999px; background: var(--red-10); color: var(--red); font-weight: 700; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.gd-tl-ph h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1; margin: 4px 0 14px; color: var(--char); }
.gd-tl-ph ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.gd-tl-ph ul li { display: flex; gap: 10px; align-items: flex-start; font-size: .98rem; line-height: 1.45; color: var(--char-80); }
.gd-tl-ph ul .ico { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--green-20); color: var(--green-ink); }
.gd-tl.is-in .gd-tl-ph ul li { animation: gdIn .5s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--k) * .7s + var(--j) * 80ms + .5s); }
@media (max-width: 800px) {
  .gd-tl-track { left: 31px; right: auto; top: 30px; bottom: 30px; width: 4px; height: auto; }
  .gd-tl-track i { transform-origin: top; transform: scaleY(0); width: 100%; }
  .gd-tl-list { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .gd-tl-ph { position: relative; padding-left: 86px; }
  .gd-tl-mark { position: absolute; left: 0; top: 0; }
}

/* ================================================================ FAQ accordion */
.gd-faq-side { position: sticky; top: calc(var(--gd-hdr) + 24px); }
.gd-faq-grid .gd-faq-side .gd-head { position: static; }
.gd-faq-mo { display: flex; align-items: flex-end; gap: 12px; margin-top: 26px; }
.gd-faq-mo .mo { width: 96px; height: 96px; flex: none; }
.gd-faq-mo .gd-bub { margin-bottom: 52px; }
.gd-faq-mo .gd-bub::after { left: -5px; bottom: 14px; }
.gd-faq { border-top: 0; display: grid; gap: 10px; }
.gd-faq details { border: 1px solid var(--char-10); border-radius: 20px; background: #fff; transition: border-color .25s, box-shadow .25s; }
.gd-sec-white .gd-faq details { background: var(--char-5); border-color: transparent; }
.gd-faq details:hover { border-color: var(--red-20); }
.gd-faq details[open]:not(.is-closing) { border-color: var(--red-20); box-shadow: 0 20px 40px -30px rgba(211, 17, 69, .45); }
.gd-faq summary { gap: 14px; padding: 18px 20px; justify-content: flex-start; border-radius: 20px; }
.gd-faq summary > span { flex: 1; }
.gd-faq-n { flex: none; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: var(--red-40); min-width: 1.6em; }
.gd-faq details[open] .gd-faq-n { color: var(--red); }
.gd-faq summary i { transition: background .25s, transform .3s; }
.gd-faq details[open]:not(.is-closing) summary i { background: var(--red); transform: rotate(180deg); }
.gd-faq details[open]:not(.is-closing) summary i::before, .gd-faq details[open]:not(.is-closing) summary i::after { background: #fff; }
.gd-faq summary:focus-visible { outline-offset: -3px; }
.gd-faq-a { overflow: hidden; }
.gd-faq details .gd-faq-a p { margin: 0; padding: 0 56px 22px 66px; color: var(--char-80); line-height: 1.6; }
.gd-faq details[open] p { animation: none; }
@media (max-width: 900px) { .gd-faq-side { position: static; } .gd-faq-mo { display: none; } }
@media (max-width: 520px) { .gd-faq details .gd-faq-a p { padding: 0 18px 18px 20px; } .gd-faq summary { padding: 16px; font-size: 1.02rem; } }

/* ================================================================ hub 1: constellation */
.gd-cst { --c: var(--red); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.gd-cst-map { position: relative; width: 100%; max-width: 560px; aspect-ratio: 1; margin: 0 auto; }
.gd-cst-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gd-cst-svg .ring { fill: none; stroke: var(--red-20); stroke-width: .35; stroke-dasharray: 1 1.6; }
.gd-cst-svg .ring2 { fill: #fff; }
.gd-cst-svg .hex { fill: none; stroke: var(--char-10); stroke-width: .35; }
.gd-cst-svg .spoke { stroke: var(--char-20); stroke-width: .45; stroke-linecap: round; stroke-dasharray: .012 .03; transition: stroke .3s; }
.gd-cst-svg .spoke.on { stroke: var(--c); stroke-width: 1; stroke-dasharray: 1; animation: gdDraw .7s cubic-bezier(.2, .7, .2, 1) both; }
.gd-cst-spin { transform-origin: 50px 50px; animation: gdSpin 36s linear infinite; }
.gd-cst-spin circle { fill: var(--salmon); }
.gd-cst-spin circle:nth-child(2) { fill: var(--yellow); } .gd-cst-spin circle:nth-child(3) { fill: var(--blue); }
.gd-cst-mo { position: absolute; left: 50%; top: 50%; width: 34%; transform: translate(-50%, -54%); display: grid; place-items: center; }
.gd-cst-mo .mo { width: 100%; height: auto; }
.gd-cst-node { position: absolute; transform: translate(-50%, -50%); width: 24%; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0; border: 0; background: none; font: inherit; color: var(--char); cursor: pointer; -webkit-tap-highlight-color: transparent; }
.gd-cst-dot { position: relative; display: grid; place-items: center; width: clamp(50px, 6vw, 72px); aspect-ratio: 1; border-radius: 50%; background: #fff; border: 3px solid var(--c); color: var(--c); box-shadow: 0 14px 26px -16px rgba(51, 61, 71, .55); transition: background .3s, color .3s, transform .4s cubic-bezier(.3, 1.5, .5, 1); }
.gd-cst-node:hover .gd-cst-dot { transform: scale(1.06); }
.gd-cst-node.is-on .gd-cst-dot { background: var(--c); color: #fff; transform: scale(1.14); }
.gd-cst-node.is-on .gd-cst-dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--c); animation: gdPing 2.2s ease-out infinite; }
.gd-cst-name { font-weight: 700; font-size: clamp(.74rem, 1.1vw, .92rem); line-height: 1.15; text-align: center; padding: 3px 9px; border-radius: 999px; background: #fff; box-shadow: 0 4px 12px -8px rgba(51, 61, 71, .5); }
.gd-cst-node:focus-visible { outline: none; }
.gd-cst-node:focus-visible .gd-cst-dot { outline: 3px solid var(--blue); outline-offset: 5px; }
.gd-cst-panel { background: #fff; border-radius: 30px; padding: clamp(24px, 3vw, 40px); box-shadow: 0 30px 60px -44px rgba(51, 61, 71, .55); border: 1px solid var(--char-10); }
.gd-cst-of { display: flex; align-items: baseline; gap: 6px; margin: 0 0 16px; font-weight: 700; color: var(--char-40); }
.gd-cst-of b { font-family: var(--font-display); font-size: 3.2rem; line-height: .8; color: var(--c); transition: color .3s; }
.gd-cst-ic { display: inline-grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; background: var(--c); color: #fff; margin-bottom: 14px; }
.gd-cst-panel h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.6rem); line-height: .95; margin: 0 0 12px; color: var(--char); }
.gd-cst-panel p[data-d] { margin: 0; font-size: 1.1rem; line-height: 1.55; color: var(--char-80); min-height: 5em; }
.gd-cst-panel.is-swap > * { animation: gdIn .45s cubic-bezier(.2, .7, .2, 1) backwards; }
.gd-cst-panel.is-swap > :nth-child(2) { animation-delay: .04s; } .gd-cst-panel.is-swap > :nth-child(3) { animation-delay: .08s; } .gd-cst-panel.is-swap > :nth-child(4) { animation-delay: .12s; }
.gd-cst-bar { display: flex; gap: 6px; margin-top: 22px; }
.gd-cst-bar i { flex: 1; height: 6px; border-radius: 3px; background: var(--char-10); transition: background .3s; }
.gd-cst-bar i.on { background: var(--c); }
@media (max-width: 900px) { .gd-cst { grid-template-columns: minmax(0, 1fr); } .gd-cst-map { max-width: 440px; } .gd-cst-panel p[data-d] { min-height: 0; } }
@media (max-width: 480px) { .gd-cst-node { width: 27%; gap: 5px; } .gd-cst-name { font-size: .7rem; padding: 2px 7px; } }

/* ================================================================ hub 2: skills wheel */
.gd-skw { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, 380px) minmax(0, 1fr); gap: clamp(18px, 3vw, 44px); align-items: center; }
.gd-skw-col { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(18px, 2.4vw, 30px); }
.gd-skw-item { display: flex; gap: 14px; align-items: flex-start; border-radius: 18px; padding: 6px; outline-offset: 4px; transition: opacity .3s, transform .3s; cursor: default; }
.gd-skw-col.l .gd-skw-item { flex-direction: row-reverse; text-align: right; }
.gd-skw-col.l .gd-skw-item h3 { justify-content: flex-end; }
.gd-skw-n { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c); color: #fff; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
.gd-skw-item h3 { display: flex; align-items: center; gap: 8px; font-size: 1.2rem; margin: 6px 0 6px; color: var(--char); }
.gd-skw-item p { margin: 0; color: var(--char-80); font-size: .98rem; line-height: 1.5; }
.gd-skw-item .gd-skw-in { margin-top: 8px; font-size: .9rem; color: var(--char); }
.gd-skw-in b { display: block; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--char-60); margin-bottom: 2px; }
.gd-skw.has-hi .gd-skw-item:not(.is-hi) { opacity: .45; }
.gd-skw-wheel { position: relative; width: 100%; aspect-ratio: 1; }
.gd-skw-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.gd-skw-svg .out { fill: none; stroke: var(--red-20); stroke-width: 1.4; stroke-dasharray: 3 6; }
.gd-skw-svg .hub { fill: #fff; }
.gd-skw-seg path { fill: var(--c); stroke: var(--bg); stroke-width: 4; stroke-linejoin: round; }
.gd-skw-seg { transform-origin: 0 0; transition: transform .35s cubic-bezier(.3, 1.4, .5, 1), opacity .3s; }
.gd-skw-seg text { fill: #fff; font-family: var(--font-display); font-weight: 800; font-size: 17px; text-anchor: middle; }
.gd-skw.is-in .gd-skw-seg { animation: gdSeg .7s cubic-bezier(.3, 1.3, .5, 1) backwards; animation-delay: calc(var(--k) * 90ms + .2s); }
@keyframes gdSeg { from { transform: scale(.4); opacity: 0; } }
.gd-skw-seg.is-hi { transform: scale(1.07); }
.gd-skw.has-hi .gd-skw-seg:not(.is-hi) { opacity: .4; }
.gd-skw-mo { position: absolute; left: 50%; top: 50%; width: 30%; transform: translate(-50%, -54%); }
.gd-skw-mo .mo { width: 100%; height: auto; }
@media (max-width: 1000px) {
  .gd-skw { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .gd-skw-wheel { grid-column: 1 / -1; grid-row: 1; max-width: 320px; margin: 0 auto; }
  .gd-skw-col.l .gd-skw-item { flex-direction: row; text-align: left; }
  .gd-skw-col.l .gd-skw-item h3 { justify-content: flex-start; }
}
@media (max-width: 640px) { .gd-skw { grid-template-columns: minmax(0, 1fr); } .gd-skw-wheel { max-width: 280px; } }

/* ================================================================ hub 3: why it matters */
.gd-why2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.gd-why2-item { background: var(--bg); border-radius: 30px; padding: 14px; display: flex; flex-direction: column; }
.gd-why2-art { height: 200px; border-radius: 22px; background: #fff; display: grid; place-items: center; overflow: hidden; position: relative; }
.gd-why2-txt { padding: 22px 18px 14px; }
.gd-why2-n { font-family: var(--font-display); font-weight: 800; font-size: 1rem; letter-spacing: .08em; color: var(--red); }
.gd-why2-txt h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: clamp(1.5rem, 2.4vw, 2rem); line-height: 1; margin: 4px 0 10px; color: var(--char); }
.gd-why2-txt p { margin: 0; color: var(--char-80); font-size: 1.04rem; line-height: 1.55; }
.gd-ws { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
/* name it to tame it */
.gd-ws-gauge > svg { width: 230px; height: auto; margin-top: 30px; overflow: visible; }
.gd-ws-gauge path.z1, .gd-ws-gauge path.z2, .gd-ws-gauge path.z3 { fill: none; stroke-width: 12; }
.gd-ws-gauge .z1 { stroke: var(--zone-calm); } .gd-ws-gauge .z2 { stroke: var(--zone-tip); } .gd-ws-gauge .z3 { stroke: var(--zone-hot); }
.gd-ws-needle { transform-origin: 60px 62px; transform: rotate(-26deg); animation: gdNeedle 6s cubic-bezier(.4, 0, .2, 1) infinite; }
.gd-ws-needle path { stroke: var(--char); stroke-width: 4; stroke-linecap: round; }
.gd-ws-needle circle { fill: var(--char); }
@keyframes gdNeedle { 0%, 10% { transform: rotate(-26deg); } 20%, 38% { transform: rotate(51deg); } 41% { transform: rotate(56deg); } 66%, 100% { transform: rotate(-26deg); } }
.gd-ws-chip { position: absolute; top: 16px; left: 50%; display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px 5px 5px; border-radius: 999px; background: var(--char); color: #fff; font-weight: 800; font-size: .92rem; transform: translateX(-50%); animation: gdChip 6s cubic-bezier(.3, 1.4, .5, 1) infinite; }
@keyframes gdChip { 0%, 30% { opacity: 0; transform: translate(-50%, -26px) scale(.9); } 36% { opacity: 1; transform: translate(-50%, 3px); } 40%, 92% { opacity: 1; transform: translateX(-50%); } 100% { opacity: 0; transform: translateX(-50%); } }
.gd-ws-lv { position: absolute; top: 163px; left: 50%; width: 36px; height: 36px; border-radius: 50%; background: #fff; border: 3px solid var(--char); transform: translate(-50%, -50%); display: grid; place-items: center; }
.gd-ws-lv b { grid-area: 1 / 1; font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; line-height: 1; text-align: center; }
.gd-ws-lv .hi { color: var(--zone-hot); opacity: 0; animation: gdLvHi 6s infinite; }
.gd-ws-lv .lo { color: var(--zone-calm); animation: gdLvLo 6s infinite; }
@keyframes gdLvHi { 0%, 14% { opacity: 0; } 20%, 50% { opacity: 1; } 56%, 100% { opacity: 0; } }
@keyframes gdLvLo { 0%, 10% { opacity: 1; } 16%, 56% { opacity: 0; } 64%, 100% { opacity: 1; } }
/* co-regulation */
.gd-ws-waves svg { width: 100%; height: 100%; position: absolute; inset: 0; }
.gd-ws-waves path { fill: none; stroke-width: 2.4; stroke-linecap: round; animation: gdWave 1.8s linear infinite; }
.gd-ws-waves .w-child path { stroke: var(--red); }
.gd-ws-waves .w-adult path { stroke: var(--char-40); animation-duration: 3s; }
.gd-ws-waves .w-child { transform: scaleY(.32); animation: gdSync 7s ease-in-out infinite; }
@keyframes gdWave { to { transform: translateX(-60px); } }
@keyframes gdSync { 0%, 12% { transform: scaleY(1); } 70%, 100% { transform: scaleY(.32); } }
.gd-ws-lab { position: absolute; left: 16px; padding: 3px 10px; border-radius: 999px; font-size: .78rem; font-weight: 800; }
.gd-ws-lab.a { top: 14px; background: var(--char-10); color: var(--char); }
.gd-ws-lab.c { bottom: 14px; background: var(--red-10); color: var(--red); }
/* practise when it is easy */
.gd-ws-days { align-content: center; gap: 16px; }
.gd-ws-row { display: flex; align-items: flex-end; gap: clamp(4px, 1vw, 10px); }
.gd-ws-day { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.gd-ws-day small { font-size: .72rem; font-weight: 700; color: var(--char-60); }
.gd-ws-day .tick { position: absolute; right: -5px; top: 20px; width: 17px; height: 17px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; border: 2px solid #fff; animation: gdTick 7s infinite backwards; animation-delay: calc(var(--j) * .45s); }
.gd-ws-day.big .tick { width: 22px; height: 22px; top: 30px; background: var(--red); }
@keyframes gdTick { 0%, 4% { transform: scale(0); } 8% { transform: scale(1.3); } 11%, 94% { transform: none; } 100% { transform: scale(0); } }
.gd-ws-ready { display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px; border-radius: 999px; background: var(--red); color: #fff; font-weight: 800; font-size: .85rem; animation: gdReady 7s infinite backwards; }
@keyframes gdReady { 0%, 50% { opacity: 0; transform: translateY(8px) scale(.9); } 56%, 94% { opacity: 1; transform: none; } 100% { opacity: 0; } }
/* all feelings are okay */
.gd-ws-faces { display: flex; justify-content: center; align-items: center; gap: clamp(4px, 1.2vw, 12px); padding-top: 26px; }
.gd-ws-f { position: relative; display: grid; justify-items: center; }
.gd-ws-f .star { position: absolute; top: -32px; color: var(--yellow); animation: gdStar 6s infinite backwards; animation-delay: calc(var(--j) * .35s); }
@keyframes gdStar { 0%, 4% { opacity: 0; transform: translateY(10px) scale(.4); } 10% { opacity: 1; transform: translateY(-4px) scale(1.25); } 14%, 92% { opacity: 1; transform: none; } 100% { opacity: 0; } }
@media (max-width: 760px) { .gd-why2 { grid-template-columns: minmax(0, 1fr); } .gd-why2-art { height: 180px; } }
@media (max-width: 420px) { .gd-ws-faces .face-svg { width: 40px; height: 40px; } .gd-ws-day .face-svg { width: 28px; height: 28px; } .gd-ws-day.big .face-svg { width: 38px; height: 38px; } .gd-ws-day .tick { top: 14px; } .gd-ws-day.big .tick { top: 22px; } }

/* ================================================================ hub 4: safety shield */
.gd-shd { display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 300px) minmax(0, 1fr); gap: clamp(20px, 3.4vw, 48px); align-items: center; margin-bottom: 8px; }
.gd-shd-col { list-style: none; margin: 0; padding: 0; display: grid; gap: clamp(18px, 3vw, 36px); }
.gd-shd-item { display: flex; gap: 14px; align-items: flex-start; padding: 8px; border-radius: 18px; transition: opacity .3s, background .3s; }
.gd-shd-item:hover { background: rgba(255, 255, 255, .05); }
.gd-shd-b { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: var(--red); color: #fff; }
.gd-shd-item h3 { margin: 4px 0 6px; font-size: 1.2rem; color: #fff; }
.gd-shd-item p { margin: 0; color: rgba(255, 255, 255, .78); line-height: 1.55; }
.gd-shd.has-hi .gd-shd-item:not(.is-hi) { opacity: .45; }
.gd-shd-art { position: relative; display: grid; place-items: center; }
.gd-shd-glow { position: absolute; pointer-events: none; width: 112%; aspect-ratio: 1; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .16); animation: gdSpin 60s linear infinite; }
.gd-shd-glow::after { content: ""; position: absolute; inset: 12%; border-radius: 50%; background: rgba(211, 17, 69, .16); animation: gdBreathe 5s ease-in-out infinite; }
.gd-shd-fig { position: relative; width: 100%; }
.gd-shd-svg { display: block; width: 100%; height: auto; }
.gd-shd-q { transition: opacity .3s; }
.gd-shd-q[data-i="0"] { fill: #D31145; } .gd-shd-q[data-i="1"] { fill: #DB406A; } .gd-shd-q[data-i="2"] { fill: #A80D37; } .gd-shd-q[data-i="3"] { fill: #E4708F; }
.gd-shd.has-hi .gd-shd-q:not(.is-hi), .gd-shd.has-hi .gd-shd-ic:not(.is-hi) { opacity: .35; }
.gd-shd-edge { fill: none; stroke: #fff; stroke-width: 5; stroke-dasharray: 1; stroke-linejoin: round; }
.gd-shd.is-in .gd-shd-edge { animation: gdDraw 1.6s .3s cubic-bezier(.4, 0, .2, 1) backwards; }
.gd-shd-ic { position: absolute; transform: translate(-50%, -50%); color: #fff; transition: opacity .3s; }
.gd-shd-mo { position: absolute; bottom: -26px; right: -8px; width: 70px; }
.gd-shd-mo .mo { width: 70px; height: 70px; }
@media (max-width: 900px) {
  .gd-shd { grid-template-columns: minmax(0, 1fr); }
  .gd-shd-art { grid-row: 1; width: 200px; margin: 0 auto 20px; }
}

/* ================================================================ parents 1: skills flower */
.gd-fl { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.gd-fl-art { position: relative; width: 100%; max-width: 520px; aspect-ratio: 1; margin: 0 auto; }
.gd-fl-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gd-fl-svg .halo { fill: #fff; }
.gd-fl-svg .core { fill: #fff; stroke: var(--red-10); stroke-width: 4; }
.gd-fl-petal { transform: rotate(var(--r)); transition: transform .55s cubic-bezier(.3, 1.4, .5, 1), opacity .4s; }
.gd-fl-petal path { fill: var(--c); }
.gd-fl-petal.on { transform: rotate(var(--r)) scale(1.1); }
.gd-fl[data-sel] .gd-fl-petal:not(.on) { opacity: .5; }
.gd-fl.is-in .gd-fl-petal { animation: gdPetal .8s cubic-bezier(.3, 1.3, .5, 1) backwards; animation-delay: calc(var(--k) * 100ms + .2s); }
@keyframes gdPetal { from { transform: rotate(calc(var(--r) - 40deg)) scale(0); } }
.gd-fl-mo { position: absolute; left: 50%; top: 50%; width: 27%; transform: translate(-50%, -54%); }
.gd-fl-mo .mo { width: 100%; height: auto; }
.gd-fl-btn { position: absolute; transform: translate(-50%, -50%); width: clamp(48px, 5.6vw, 66px); aspect-ratio: 1; border-radius: 50%; border: 0; padding: 0; background: transparent; display: grid; place-items: center; cursor: pointer; transition: transform .3s; -webkit-tap-highlight-color: transparent; }
.gd-fl-btn .illo { width: 64%; height: auto; }
.gd-fl-btn:hover { transform: translate(-50%, -50%) scale(1.1); }
.gd-fl-btn.is-on { box-shadow: 0 0 0 3px #fff; }
.gd-fl-btn:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }
.gd-fl-names { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.gd-fl-names li { padding: 6px 12px; border-radius: 999px; background: var(--char-5); font-weight: 700; font-size: .88rem; color: var(--char-80); cursor: pointer; transition: background .3s, color .3s; }
.gd-fl-names li.on { background: var(--c); color: #fff; }
.gd-fl-card { --c: var(--red); background: #fff; border-radius: 28px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--char-10); border-top: 6px solid var(--c); box-shadow: 0 30px 60px -46px rgba(51, 61, 71, .55); transition: border-color .3s; }
.gd-fl-k { display: flex; align-items: baseline; gap: 12px; margin: 0 0 10px; font-weight: 700; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--char-60); }
.gd-fl-k b { font-family: var(--font-display); font-size: 2.8rem; letter-spacing: 0; line-height: .8; color: var(--c); }
.gd-fl-card h3 { font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: clamp(2rem, 3.4vw, 2.8rem); line-height: .95; margin: 0 0 10px; color: var(--char); }
.gd-fl-d { margin: 0 0 16px; font-size: 1.12rem; color: var(--char-80); }
.gd-fl-in { background: var(--bg); border-radius: 18px; padding: 14px 18px; }
.gd-fl-in b { display: block; font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: var(--char-60); margin-bottom: 4px; }
.gd-fl-in p { margin: 0; color: var(--char); line-height: 1.55; }
.gd-fl-card.is-swap > * { animation: gdIn .45s cubic-bezier(.2, .7, .2, 1) backwards; }
.gd-fl-card.is-swap > :nth-child(2) { animation-delay: .05s; } .gd-fl-card.is-swap > :nth-child(3) { animation-delay: .1s; } .gd-fl-card.is-swap > :nth-child(4) { animation-delay: .15s; }
@media (max-width: 900px) { .gd-fl { grid-template-columns: minmax(0, 1fr); } .gd-fl-art { max-width: 400px; } }

/* ================================================================ parents 2: a day at home */
.gd-day { --p: .1; }
.gd-day-sky { position: relative; overflow: hidden; border-radius: 34px; padding: clamp(56px, 7vw, 84px) 16px 22px; background: var(--yellow-20); transition: background .8s ease; }
.gd-day[data-m="1"] .gd-day-sky { background: var(--salmon-20); }
.gd-day[data-m="2"] .gd-day-sky { background: var(--green-20); }
.gd-day[data-m="3"] .gd-day-sky { background: var(--char); }
.gd-day-stars i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: #fff; opacity: 0; transition: opacity .8s; }
.gd-day[data-m="3"] .gd-day-stars i { opacity: .8; animation: gdBlink 2.4s ease-in-out infinite; }
.gd-day-stars i:nth-child(2n) { animation-delay: .8s; width: 3px; height: 3px; }
.gd-day-box { position: relative; width: min(100%, 780px); aspect-ratio: 2 / 1; margin: 0 auto; container-type: inline-size; }
.gd-day-svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gd-day-svg .track { fill: none; stroke: rgba(51, 61, 71, .2); stroke-width: .9; stroke-dasharray: 2 4; }
.gd-day-svg .fill { fill: none; stroke: var(--red); stroke-width: 1.3; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--p)); transition: stroke-dashoffset 1.1s cubic-bezier(.4, 0, .2, 1); }
.gd-day-svg .ground { stroke: rgba(51, 61, 71, .18); stroke-width: 1; }
.gd-day[data-m="3"] .gd-day-svg .track, .gd-day[data-m="3"] .gd-day-svg .ground { stroke: rgba(255, 255, 255, .3); }
.gd-day[data-m="3"] .gd-day-svg .fill { stroke: var(--red-40); }
.gd-day-sunarm { position: absolute; left: 50%; bottom: 0; width: 0; height: 0; transform: rotate(var(--a)); transition: transform 1.1s cubic-bezier(.4, 0, .2, 1); z-index: 1; pointer-events: none; }
.gd-day-sun { position: absolute; left: 0; top: -52cqw; width: clamp(44px, 9cqw, 72px); aspect-ratio: 1; transform: translate(-50%, -50%) rotate(calc(var(--a) * -1)); transition: transform 1.1s cubic-bezier(.4, 0, .2, 1); }
.gd-day-sun svg { width: 100%; height: 100%; display: block; overflow: visible; }
.gd-day-sun .sun { fill: var(--yellow); stroke: var(--yellow); transform-origin: 24px 24px; animation: gdSpin 20s linear infinite; transition: opacity .6s; }
.gd-day-sun .moon { fill: #fff; opacity: 0; transition: opacity .6s; }
.gd-day[data-m="3"] .gd-day-sun .sun { opacity: 0; }
.gd-day[data-m="3"] .gd-day-sun .moon { opacity: 1; }
.gd-day-stop { position: absolute; left: 50%; bottom: 0; width: 0; height: 0; padding: 0; border: 0; background: none; transform: rotate(var(--a)); font: inherit; cursor: pointer; z-index: 2; }
.gd-day-stop:focus-visible { outline: none; }
.gd-day-arm { position: absolute; left: 0; top: -44cqw; }
.gd-day-pin { position: absolute; left: 0; top: 0; display: grid; place-items: center; width: clamp(38px, 7cqw, 52px); aspect-ratio: 1; border-radius: 50%; background: #fff; color: var(--red); border: 3px solid var(--red); transform: translate(-50%, -50%) rotate(calc(var(--a) * -1)); transition: background .3s, color .3s, box-shadow .3s; }
.gd-day-pin b { position: absolute; top: calc(100% + 6px); left: 50%; transform: translateX(-50%); white-space: nowrap; font-size: clamp(.68rem, 1.8cqw, .9rem); font-weight: 800; color: var(--char); padding: 1px 7px; border-radius: 999px; background: rgba(255, 255, 255, .75); }
.gd-day[data-m="3"] .gd-day-pin b { color: #fff; background: rgba(255, 255, 255, .1); }
.gd-day-stop.is-on .gd-day-pin { background: var(--red); color: #fff; box-shadow: 0 0 0 6px rgba(211, 17, 69, .2); }
.gd-day-stop:hover .gd-day-pin { box-shadow: 0 0 0 6px rgba(211, 17, 69, .14); }
.gd-day-stop:focus-visible .gd-day-pin { outline: 3px solid var(--blue); outline-offset: 4px; }
.gd-day-mid { position: absolute; left: 50%; bottom: 7%; width: 56cqw; transform: translateX(-50%); text-align: center; }
.gd-day-mid p { margin: 0 0 4px; font-weight: 700; font-size: clamp(.7rem, 1.8cqw, .82rem); letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
.gd-day-mid h3 { margin: 0; font-family: var(--font-display); text-transform: uppercase; font-weight: 800; font-size: clamp(1.15rem, 5cqw, 2.6rem); line-height: 1; color: var(--char); }
.gd-day[data-m="3"] .gd-day-mid h3 { color: #fff; } .gd-day[data-m="3"] .gd-day-mid p { color: var(--red-40); }
.gd-day-mid.is-swap > * { animation: gdIn .5s cubic-bezier(.2, .7, .2, 1) backwards; }
.gd-day-panel { margin-top: 18px; }
.gd-day-set { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 2vw, 20px); }
.gd-day-card { display: flex; gap: 14px; align-items: flex-start; background: var(--char-5); border-radius: 22px; padding: 20px; }
.gd-day-set.is-swap .gd-day-card { animation: gdIn .5s cubic-bezier(.2, .7, .2, 1) backwards; animation-delay: calc(var(--j) * 80ms + .1s); }
.gd-day-ic { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 14px; background: #fff; color: var(--red); }
.gd-day-card h4 { margin: 2px 0 6px; font-size: 1.1rem; color: var(--char); }
.gd-day-card p { margin: 0; color: var(--char-80); font-size: .97rem; line-height: 1.5; }
@media (max-width: 900px) { .gd-day-set { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 600px) {
  .gd-day-sky { padding: 50px 26px 18px; border-radius: 26px; }
  .gd-day-sun { top: -50cqw; }
  .gd-day-box { margin-bottom: 64px; }
  .gd-day-mid { top: calc(100% + 12px); bottom: auto; left: 0; right: 0; width: auto; transform: none; }
  .gd-day-mid h3 { font-size: 1.5rem; }
}

/* ================================================================ parents 3: conversations */
.gd-chat { display: grid; grid-template-columns: minmax(220px, 300px) minmax(0, 1fr); gap: clamp(16px, 3vw, 36px); align-items: start; margin-bottom: clamp(20px, 3vw, 32px); }
.gd-chat-topics { display: grid; gap: 8px; }
.gd-chat-topic { display: flex; align-items: center; gap: 12px; width: 100%; padding: 10px 14px 10px 10px; border-radius: 18px; border: 2px solid var(--char-10); background: #fff; font: inherit; font-weight: 700; font-size: 1rem; color: var(--char); text-align: left; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.gd-chat-topic:hover { border-color: var(--red-20); transform: translateX(3px); }
.gd-chat-topic.is-on { border-color: var(--red); background: var(--red-10); }
.gd-chat-topic .face-svg { flex: none; }
.gd-chat-phone { background: var(--bg); border-radius: 32px; padding: 16px clamp(14px, 2.4vw, 28px) clamp(20px, 2.4vw, 28px); min-height: 460px; }
.gd-chat-bar { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 4px 0 14px; margin-bottom: 14px; border-bottom: 1px solid var(--char-10); font-size: .85rem; color: var(--char-60); }
.gd-chat-convo { display: grid; gap: 14px; }
.gd-msg { display: flex; align-items: flex-end; gap: 10px; max-width: 86%; }
.gd-msg.you { margin-left: auto; justify-content: flex-end; text-align: right; }
.gd-msg > div { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.gd-msg.you > div { align-items: flex-end; }
.gd-msg.no .gd-msg-why, .gd-msg.yes .gd-msg-why { max-width: 46ch; }
.gd-msg small { display: inline-flex; align-items: center; gap: 4px; font-size: .74rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--char-60); margin: 0 6px 4px; }
.gd-msg-b { margin: 0; display: inline-block; padding: 12px 16px; border-radius: 20px; font-size: 1.04rem; line-height: 1.4; font-weight: 600; text-align: left; }
.gd-msg.kid .gd-msg-b { background: #fff; color: var(--char); border-bottom-left-radius: 6px; box-shadow: 0 8px 18px -14px rgba(51, 61, 71, .5); }
.gd-msg.no .gd-msg-b { background: var(--char-10); color: var(--char-80); border-bottom-right-radius: 6px; }
.gd-msg.no small { color: var(--char-60); } .gd-msg.no small .ico { color: var(--red); }
.gd-msg.yes .gd-msg-b { background: var(--red); color: #fff; border-bottom-right-radius: 6px; box-shadow: 0 12px 24px -16px rgba(211, 17, 69, .8); }
.gd-msg.yes small { color: var(--red); }
.gd-msg-why { margin: 6px 6px 0; font-size: .88rem; line-height: 1.45; color: var(--char-80); }
.gd-msg-why b { color: var(--char); }
.gd-msg-b.small { font-size: .95rem; padding: 10px 14px; }
.gd-msg-av { flex: none; }
.gd-chat-convo.is-play .gd-msg { animation: gdMsg .5s cubic-bezier(.2, .7, .2, 1) backwards; }
.gd-chat-convo.is-play .gd-msg:nth-child(2) { animation-delay: 1s; }
.gd-chat-convo.is-play .gd-msg:nth-child(3) { animation-delay: 2.3s; }
.gd-chat-convo.is-play .gd-msg:nth-child(4) { animation-delay: 3.8s; }
@keyframes gdMsg { from { opacity: 0; transform: translateY(14px) scale(.96); } }
@media (max-width: 860px) {
  .gd-chat { grid-template-columns: minmax(0, 1fr); }
  .gd-chat-topics { display: flex; overflow-x: auto; gap: 8px; padding-bottom: 6px; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
  .gd-chat-topic { flex: none; width: auto; white-space: nowrap; }
  .gd-chat-topic:hover { transform: none; }
  .gd-chat-phone { min-height: 0; }
  .gd-msg { max-width: 94%; }
}

/* ================================================================ parents 4: privacy at home */
.gd-hp { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.gd-hp-item { background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); border-radius: 26px; padding: 14px 14px 24px; }
.gd-hp-art { height: 140px; border-radius: 18px; background: rgba(255, 255, 255, .06); display: grid; place-items: center; margin-bottom: 18px; overflow: hidden; }
.gd-hp-item h3 { margin: 0 8px 8px; font-size: 1.15rem; color: #fff; }
.gd-hp-item p { margin: 0 8px; color: rgba(255, 255, 255, .78); font-size: .96rem; line-height: 1.55; }
.gd-vg { position: relative; width: 150px; height: 110px; }
.gd-vg-home svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.gd-vg-home .house { fill: none; stroke: #fff; stroke-width: 3; stroke-linejoin: round; }
.gd-vg-tab { position: absolute; left: 50%; top: 52px; width: 46px; height: 34px; margin-left: -23px; border-radius: 6px; background: var(--red); display: grid; align-content: center; gap: 4px; padding: 0 7px; }
.gd-vg-tab i { height: 3px; border-radius: 2px; background: rgba(255, 255, 255, .7); }
.gd-vg-dots { position: absolute; left: 50%; top: 69px; width: 0; height: 0; animation: gdSpin 5s linear infinite; }
.gd-vg-dots i { position: absolute; width: 8px; height: 8px; margin: -4px; border-radius: 50%; background: var(--yellow); transform: rotate(calc(var(--n, 0) * 120deg)) translateX(36px); }
.gd-vg-dots i:nth-child(2) { --n: 1; background: var(--salmon); } .gd-vg-dots i:nth-child(3) { --n: 2; background: var(--green); }
.gd-vg-code { display: flex; align-items: center; justify-content: center; gap: 14px; }
.gd-vg-book { width: 54px; height: 70px; border-radius: 6px 12px 12px 6px; background: var(--salmon); display: grid; align-content: center; gap: 6px; padding: 0 10px; border-left: 6px solid var(--red); }
.gd-vg-book i { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .7); }
.gd-vg-pin { display: grid; grid-template-columns: repeat(2, 14px); gap: 8px; }
.gd-vg-pin i { width: 14px; height: 14px; border-radius: 50%; border: 2px solid #fff; background: #fff; animation: gdPinDot 4s infinite backwards; }
.gd-vg-pin i:nth-child(2) { animation-delay: .4s; } .gd-vg-pin i:nth-child(3) { animation-delay: .8s; } .gd-vg-pin i:nth-child(4) { animation-delay: 1.2s; }
.gd-vg-pin i { --red: #fff; }
.gd-vg-lock { width: 34px; color: var(--yellow); }
.gd-vg-lock .gd-lock { width: 34px; height: 34px; }
.gd-vg-lock .gd-lock .kh { fill: var(--char); } .gd-vg-lock .gd-lock .kh2 { stroke: var(--char); }
.gd-vg-lock .sh { animation: gdShut 4s infinite; }
@keyframes gdShut { 0%, 40% { transform: translateY(-6px); } 50%, 90% { transform: none; } 100% { transform: translateY(-6px); } }
.gd-vg-class { display: flex; align-items: center; justify-content: space-between; width: 190px; }
.gd-vg-a, .gd-vg-b { display: grid; place-items: center; width: 50px; height: 50px; border-radius: 16px; background: #fff; color: var(--red); position: relative; z-index: 1; }
.gd-vg-gate { position: relative; flex: 1; height: 50px; }
.gd-vg-gate::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; border-top: 2px dashed rgba(255, 255, 255, .3); }
.gd-vg-gate i { position: absolute; top: 50%; left: 0; width: 28px; height: 28px; margin-top: -14px; border-radius: 50%; display: grid; place-items: center; color: #fff; }
.gd-vg-gate i.ok { background: var(--green-ink); animation: gdPass 4s ease-in-out infinite; }
.gd-vg-gate i.no { background: var(--salmon); animation: gdBlock 4s ease-in-out infinite 2s; }
@keyframes gdPass { 0% { transform: translateX(0); opacity: 0; } 10% { opacity: 1; } 80% { transform: translateX(58px); opacity: 1; } 100% { transform: translateX(58px); opacity: 0; } }
@keyframes gdBlock { 0% { transform: translateX(0); opacity: 0; } 10% { opacity: 1; } 40% { transform: translateX(26px); } 55% { transform: translateX(8px); } 80% { transform: translateX(0); opacity: 1; } 100% { opacity: 0; } }
.gd-vg-care { display: grid; place-items: center; }
.gd-vg-care .mo { width: 74px; height: 74px; }
.gd-vg-heart { position: absolute; left: 30px; top: 8px; color: var(--salmon); animation: gdFloat 3s ease-in-out infinite; }
@keyframes gdFloat { 0% { transform: translateY(14px); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-10px); opacity: 0; } }
.gd-vg-111 { position: absolute; right: 6px; top: 16px; padding: 4px 10px; border-radius: 999px; background: #fff; color: var(--red); font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; }
@media (max-width: 1080px) { .gd-hp { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .gd-hp { grid-template-columns: minmax(0, 1fr); } }

/* ================================================================ reduced motion: final, static states */
@media (prefers-reduced-motion: reduce) {
  [data-vz-live] *, [data-vz-live] *::before, [data-vz-live] *::after,
  .gd-pv *, .gd-tl *, .gd-faq *, .gd-skw *, .gd-shd *, .gd-fl *, .gd-cst *, .gd-dash *, .gd-eco * { animation: none !important; }
  .gd-eco-link .draw, .gd-tl-track i, .gd-tl-mark, .gd-dash-canvas, .gd-pv-words, .gd-pv-padlock, .gd-pv-cover, .gd-day-sunarm, .gd-day-sun, .gd-day-svg .fill, .gd-fl-petal, .gd-day-sky { transition: none !important; }
  .gd-pipe-scene { opacity: 1; filter: none; transform: none; }
  .gd-cst-svg .spoke.on { stroke-dashoffset: 0; }
}

/* helplines: the two lines side by side */
.gd-help-groups { grid-template-columns: minmax(0, 1fr); }
.gd-help-groups > div { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.gd-help-groups .gd-help-lang { grid-column: 1 / -1; margin: 0; }
.gd-help-groups .gd-help-line { margin: 0; }
@media (max-width: 640px) { .gd-help-groups > div { grid-template-columns: minmax(0, 1fr); } }

/* Vietnamese: stacked tone marks need more line height in condensed uppercase headings */
html[lang="vi"] .gd-eco-role h3, html[lang="vi"] .gd-pipe-txt h3, html[lang="vi"] .gd-dash-info h4, html[lang="vi"] .gd-pv-side h3,
html[lang="vi"] .gd-pv-safe-txt h3, html[lang="vi"] .gd-tl-ph h3, html[lang="vi"] .gd-cst-panel h3, html[lang="vi"] .gd-why2-txt h3,
html[lang="vi"] .gd-fl-card h3, html[lang="vi"] .gd-day-mid h3, html[lang="vi"] .gd-subhead, html[lang="vi"] .gd-rings h3,
html[lang="vi"] .gd-rings-list dt, html[lang="vi"] .gd-eco-name { line-height: 1.12; }
