/* ===== Think Nest subject paths (home page + dashboards) ===== */
.path-card .path-art { height: 200px; border-radius: 20px 20px 0 0; background: radial-gradient(circle at 25% 30%, rgba(255,255,255,.28) 0 18%, transparent 19%), radial-gradient(circle at 80% 75%, rgba(255,255,255,.18) 0 22%, transparent 23%), var(--c); display: grid; place-items: center; }
.path-card .path-art span { font-size: 4rem; font-weight: 800; color: #fff; text-shadow: 0 4px 16px rgba(0,0,0,.15); }
.path-card .course-learners { font-weight: 700; }
.path-dlg { border: 0; border-radius: 20px; padding: 0; width: min(760px, calc(100% - 24px)); max-height: 90vh; box-shadow: 0 20px 60px rgba(0,0,0,.25); }
.path-dlg::backdrop { background: rgba(30,35,82,.45); }
.path-wrap { padding: 24px 28px 28px; display: grid; gap: 16px; font-family: inherit; color: #2F3241; }
.path-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.path-head h2 { display: flex; align-items: center; gap: 12px; color: #3E4B94; font-size: 1.5rem; }
.path-ic { width: 44px; height: 44px; border-radius: 12px; color: #fff; display: inline-grid; place-items: center; font-weight: 800; font-size: 1.1rem; flex: none; }
.path-steps { list-style: none; display: flex; gap: 8px; flex-wrap: wrap; padding: 0; margin: 0; }
.path-steps li { background: #F1F2FA; border-radius: 20px; padding: 6px 14px; font-size: .85rem; font-weight: 600; color: #6E7485; }
.path-steps li.on { background: #3E4B94; color: #fff; }
.path-steps li.done { background: #EAF7EE; color: #1E7A2B; }
.path-wrap .hint { margin: 0; font-weight: 600; }
.path-options { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.path-opt { text-align: left; border: 2px solid #E4E6F1; background: #fff; border-radius: 14px; padding: 16px; font: inherit; cursor: pointer; display: grid; gap: 6px; color: #2F3241; }
.path-opt:hover, .path-opt:focus-visible { border-color: #3E4B94; }
.path-opt b { color: #1D2026; font-size: 1.05rem; }
.path-opt span { font-size: .88rem; color: #6E7485; }
.path-options.subjects .path-opt { grid-template-columns: auto 1fr; align-items: center; column-gap: 12px; }
.path-options.subjects .path-opt .path-ic { grid-row: span 2; }
.path-grades { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid #D9DBE8; background: #fff; border-radius: 20px; padding: 8px 16px; font: inherit; font-weight: 600; color: #2F3241; cursor: pointer; }
.chip:hover { border-color: #3E4B94; background: #F1F2FA; }
.path-summary { font-size: 1.05rem; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.path-wrap h3 { color: #1D2026; font-size: 1.05rem; margin-bottom: 8px; }
.path-wrap .cur-head { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 8px; }
.path-wrap .cur-stage { background: #EEF0FB; color: #3E4B94; font-weight: 700; border-radius: 20px; padding: 4px 14px; }
.path-wrap .cur-overview { line-height: 1.6; }
.path-wrap .cur-sub { background: #FAFBFE; border: 1px solid #ECEEF6; border-radius: 12px; padding: 12px 16px; margin-bottom: 8px; }
.path-wrap .cur-sub h4 { color: #1D2026; margin-bottom: 6px; }
.path-wrap .cur-sub ul { list-style: disc; padding-left: 20px; display: grid; gap: 4px; line-height: 1.5; }
.path-class { display: flex; justify-content: space-between; align-items: center; gap: 12px; border: 1px solid #ECEEF6; border-radius: 12px; padding: 12px 16px; margin-bottom: 8px; }
.path-class > div { display: flex; flex-direction: column; }
.path-class b { color: #1D2026; }
.path-acts { display: flex; gap: 12px; flex-wrap: wrap; }
.path-acts .btn, .path-class .btn, #path-wait { padding: 12px 24px; border: 0; cursor: pointer; font: inherit; font-weight: 700; border-radius: 8px; }
.path-acts .outline { border: 1px solid #F27A6F; }
.kid-pick { display: grid; gap: 6px; font-weight: 600; margin-bottom: 10px; }
.kid-pick select { font: inherit; border: 1px solid #C9CCDA; border-radius: 8px; padding: 9px 12px; }
.path-wrap .meta { font-size: .8rem; color: #6E7485; }
.path-wrap .note { font-size: .9rem; background: #F1F2FA; padding: 10px 12px; border-radius: 8px; }
.path-wrap .note a, .path-wrap .switch a { color: #3E4B94; font-weight: 700; text-decoration: underline; }
.path-wrap .link-btn { background: none; border: 0; font: inherit; font-size: .85rem; color: #6E7485; cursor: pointer; text-decoration: underline; padding: 0; }
.path-wrap .result-box { background: #EAF7EE; border-radius: 10px; padding: 12px 14px; color: #1E4D27; }
.path-wrap .empty { color: #6E7485; }
.path-wrap .pill { font: inherit; font-weight: 600; font-size: .85rem; border-radius: 6px; padding: 8px 16px; background: #FFE6E3; color: #F27A6F; }
.find-class { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); background: #1E2352; color: #fff; padding: 14px 22px; border-radius: 10px; font-weight: 500; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 50; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 600px) { .path-wrap { padding: 18px; } .path-card .path-art { height: 160px; } }
.path-dlg { margin: auto; inset: 0; }
.path-wrap section { margin-top: 0; }
.path-wrap .cur-sub p { line-height: 1.55; }
.path-wrap .obj-sub details summary, .path-wrap details.also summary { cursor: pointer; color: #3E4B94; font-weight: 700; margin-top: 8px; }
.path-wrap details ul { list-style: disc; padding-left: 20px; display: grid; gap: 4px; margin-top: 6px; }
.path-wrap details.also { background: #FAFBFE; border: 1px solid #ECEEF6; border-radius: 12px; padding: 10px 16px; }
.path-wrap details.also .cur-sub { border: 0; padding: 6px 0; background: none; }
.path-wrap a { color: #3E4B94; }
.path-wrap a.btn-red { color: #fff; } .path-wrap a.btn-white { color: #F27A6F; }
.path-wrap .obj-sub h5 { color: #3E4B94; margin: 10px 0 4px; font-size: .92rem; }
/* ===== Home page top menu: tidy and balanced ===== */
.nav-logo { flex: none; }
.nav-logo img { width: auto; height: 64px; }
.nav-menu { gap: 56px; }
.nav-links { gap: 44px; align-items: center; white-space: nowrap; }
.nav-links a, .nav-drop-btn { white-space: nowrap; }
.nav-buttons { display: flex; gap: 14px; flex: none; }
.nav-buttons .btn { white-space: nowrap; padding: 14px 26px; }
.nav-drop { position: relative; }
.nav-drop-btn { background: none; border: 0; font: inherit; font-weight: 700; font-size: 1.1rem; color: inherit; cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: 6px; }
.nav-drop-btn span { font-size: .8em; transition: transform .2s; }
.nav-drop-btn:hover { color: var(--red); }
.nav-drop-btn[aria-expanded=true] span { transform: rotate(180deg); }
.nav-dd { display: none; position: absolute; top: calc(100% + 14px); left: -16px; min-width: 210px; background: #fff; border-radius: 14px; box-shadow: 0 14px 34px rgba(0,0,0,.18); padding: 8px; z-index: 30; list-style: none; }
.nav-drop-btn[aria-expanded=true] + .nav-dd { display: grid; }
.nav-dd a { display: block; padding: 10px 14px; border-radius: 10px; color: #1D2026; font-weight: 600; font-size: 1rem; }
.nav-dd a:hover { background: #F1F2FA; color: var(--blue); }
@media (max-width: 1200px) { .nav-menu { gap: 32px; } .nav-links { gap: 28px; } }
@media (max-width: 900px) {
  .nav-links { white-space: normal; }
  .nav-drop-btn { justify-content: center; width: 100%; font-size: 1.1rem; }
  .nav-dd { position: static; box-shadow: none; background: rgba(255,255,255,.1); margin-top: 8px; min-width: 0; }
  .nav-dd a { color: #fff; text-align: center; }
  .nav-buttons { justify-content: center; }
}
/* ===== Founders on the home page ===== */
.founders { display: grid; gap: 18px; }
.founders .fd-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; margin-top: 10px; }
.founders .fd-card { background: #fff; border-radius: 22px; padding: 28px 24px; text-align: center; display: grid; gap: 8px; justify-items: center; box-shadow: 0 10px 30px rgba(62,75,148,.10); border-top: 6px solid var(--c); }
.founders .fd-photo { width: 140px; height: 140px; border-radius: 50%; overflow: hidden; border: 5px solid #fff; box-shadow: 0 6px 18px rgba(0,0,0,.12); margin-bottom: 6px; }
.founders .fd-photo img { width: 100%; height: 100%; object-fit: cover; }
.founders .fd-ini { width: 100%; height: 100%; display: grid; place-items: center; color: #fff; font-size: 2.4rem; font-weight: 800; }
.founders .fd-card h3 { color: #1D2026; font-size: 1.3rem; }
.founders .fd-role { color: var(--c); font-weight: 700; font-size: .95rem; }
.founders .fd-card p { color: #4A4E5E; line-height: 1.65; }
.founders .fd-link { color: #3E4B94; font-weight: 700; text-decoration: underline; }
.founders .fd-more { text-align: center; margin-top: 8px; }
.founders .fd-more .outline { border: 2px solid #F27A6F; }
.founders[hidden] { display: none; }
.nav-logo { flex: 0 0 auto; display: block; }
.nav-logo img { height: 72px; width: auto; min-width: 130px; object-fit: contain; display: block; }
.nav-logo img.missing { display: block !important; }
@media (max-width: 900px) { .nav-logo img { height: 56px; min-width: 100px; } }
/* drop-downs also open on hover and keyboard focus (works even without scripts) */
@media (min-width: 901px) {
  .nav-drop:hover .nav-dd, .nav-drop:focus-within .nav-dd { display: grid; }
  .nav-drop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 16px; }
}
/* ===== Courses for everyone ===== */
.offer-panel { display: grid; gap: 20px; }
.offer-sub { text-align: center; font-size: 1.2rem; opacity: .92; margin-top: -8px; }
.offer-tabs { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; }
.offer-tabs button { display: inline-flex; align-items: center; gap: 8px; border: 2px solid rgba(255,255,255,.35); background: transparent; color: #fff; border-radius: 40px; padding: 12px 24px; font: inherit; font-weight: 700; font-size: 1.05rem; cursor: pointer; }
.offer-tabs button span { font-size: 1.3rem; }
.offer-tabs button:hover { background: rgba(255,255,255,.1); }
.offer-tabs button[aria-selected=true] { background: #fff; color: #3E4B94; border-color: #fff; }
.offer-body { display: grid; gap: 18px; }
.offer-intro { text-align: center; font-size: 1.15rem; line-height: 1.6; max-width: 760px; margin: 0 auto; }
.offer-types { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.offer-type { background: rgba(255,255,255,.1); border-radius: 18px; padding: 18px; display: grid; gap: 6px; }
.offer-type span:first-child { font-size: 1.8rem; }
.offer-type b { font-size: 1.1rem; }
.offer-type span:last-child { opacity: .88; line-height: 1.5; }
.offer-h { font-size: 1.2rem; text-align: center; margin-top: 6px; }
.offer-courses { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.offer-course { background: #fff; color: #2F3241; border-radius: 16px; padding: 16px 18px; display: grid; gap: 4px; border-top: 5px solid #F27A6F; }
.offer-course b { color: #1D2026; font-size: 1.05rem; }
.offer-course span { color: #3E4B94; font-weight: 600; font-size: .9rem; }
.offer-course small { color: #6E7485; line-height: 1.5; }
.offer-soon { text-align: center; opacity: .9; }
.offer-cta { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; }
.offer-courses { grid-template-columns: repeat(auto-fill, minmax(260px, 340px)); justify-content: center; } .cf-aud { margin-bottom: 4px; }
/* ===== Teacher Hub & Parent Hub ===== */
.home-hub { border-radius: 22px; padding: 26px; display: grid; gap: 18px; color: #fff; box-shadow: 0 12px 30px rgba(0,0,0,.15); }
.home-hub-top { display: flex; gap: 18px; align-items: flex-start; }
.home-hub h3 { font-size: 1.8rem; }
.hub-hero-ic { font-size: 3.6rem; line-height: 1; }
.hub-tagline { font-size: 1.25rem; font-weight: 700; margin: 4px 0 6px; }
.home-hub-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.home-hub-cat { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.16); border-radius: 14px; padding: 12px 14px; color: #fff; font-weight: 700; }
.home-hub-cat:hover { background: rgba(255,255,255,.28); }
.home-hub-cat span { font-size: 1.4rem; }
.hub-courses { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; }
.hub-course { background: #fff; color: #2F3241; border-radius: 16px; padding: 16px 18px; display: grid; gap: 6px; border-top: 5px solid var(--c); box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.hub-course b { color: #1D2026; font-size: 1.05rem; }
.hub-tag { justify-self: start; background: #F1F2FA; color: #3E4B94; border-radius: 20px; padding: 3px 10px; font-size: .8rem; font-weight: 700; }
.hub-meta { color: #6E7485; font-size: .88rem; }
.hub-course small { color: #4A4E5E; line-height: 1.5; }
.hub-go { color: var(--c); font-weight: 800; }
.hub-wrap { gap: 22px; }
.hub-hero { color: #fff; border-radius: 26px; padding: 34px; display: flex; gap: 22px; align-items: flex-start; }
.hub-hero h1 { font-size: 2.4rem; color: #fff; }
.hub-hero p { line-height: 1.6; max-width: 720px; }
.hub-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.hub-hero .btn-white { color: #1D2026; }
.hub-ghost { border: 2px solid #fff; color: #fff; background: transparent; }
.hub-h { color: #1D2026; font-size: 1.4rem; display: flex; align-items: center; gap: 12px; }
.hub-cats { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 12px; }
.hub-cat { text-align: left; border: 2px solid #E4E6F1; background: #fff; border-radius: 18px; padding: 16px; font: inherit; cursor: pointer; display: grid; gap: 4px; color: #2F3241; transition: transform .15s; }
.hub-cat:hover { transform: translateY(-2px); border-color: var(--c); }
.hub-cat.on { border-color: var(--c); background: #F7F8FD; }
.hub-cat span { font-size: 2rem; }
.hub-cat b { color: #1D2026; font-size: 1.05rem; }
.hub-cat small { color: #6E7485; line-height: 1.45; }
.hub-empty { background: #fff; border-radius: 18px; padding: 24px; text-align: center; display: grid; gap: 12px; justify-items: center; }
.hub-host { background: #1E2352; color: #fff; border-radius: 22px; padding: 26px 30px; display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.hub-host h2 { color: #fff; }
.hub-switch { text-align: center; }
.hub-switch a { color: #3E4B94; font-weight: 700; text-decoration: underline; }
@media (max-width: 700px) { .hub-hero, .home-hub-top { flex-direction: column; } }
.hub-courses, .hub-course { align-content: start; align-items: start; } .hub-course { align-self: start; }
/* ===== Two big hubs on the home page ===== */
.hubs-home { display: grid; gap: 14px; }
.big-hubs { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 18px; }
.big-hub { color: #fff; border-radius: 30px; padding: 36px 34px; display: grid; gap: 18px; align-content: start; position: relative; overflow: hidden; box-shadow: 0 18px 40px rgba(30,35,82,.18); }
.big-hub::before { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; background: rgba(255,255,255,.12); right: -80px; top: -90px; }
.big-hub::after { content: ""; position: absolute; width: 160px; height: 160px; border-radius: 50%; background: rgba(255,255,255,.08); left: -50px; bottom: -60px; }
.big-hub > * { position: relative; z-index: 1; }
.big-hub-top { display: flex; align-items: center; gap: 18px; }
.big-hub-ic { font-size: 4.4rem; line-height: 1; background: rgba(255,255,255,.18); border-radius: 26px; width: 104px; height: 104px; display: grid; place-items: center; flex: none; }
.big-hub h3 { font-size: 2.4rem; line-height: 1.1; color: #fff; }
.big-hub-tag { font-size: 1.3rem; font-weight: 800; margin-top: 6px; }
.big-hub-about { font-size: 1.08rem; line-height: 1.65; opacity: .95; }
.big-hub-cats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.big-hub-cat { display: flex; align-items: center; gap: 10px; background: rgba(255,255,255,.16); border-radius: 14px; padding: 12px 14px; color: #fff; font-weight: 700; transition: background .15s, transform .15s; }
.big-hub-cat:hover { background: rgba(255,255,255,.3); transform: translateY(-2px); }
.big-hub-cat span { font-size: 1.4rem; }
.big-hub-next { background: rgba(255,255,255,.14); border-radius: 16px; padding: 14px 16px; display: grid; gap: 6px; }
.big-hub-next a { color: #fff; font-weight: 600; }
.big-hub-next a span { opacity: .8; font-weight: 400; }
.big-hub-btns { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin-top: 4px; }
.big-hub-btns .btn-white { color: #1D2026; }
.big-hub-join { color: #fff; font-weight: 800; text-decoration: underline; }
@media (max-width: 1000px) { .big-hubs { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .big-hub { padding: 26px 22px; } .big-hub-cats { grid-template-columns: 1fr; } .big-hub h3 { font-size: 1.9rem; } .big-hub-ic { width: 80px; height: 80px; font-size: 3.2rem; } }
.hub-banner { display: flex; align-items: center; gap: 16px; color: #fff; border-radius: 20px; padding: 18px 22px; margin: 16px 0; box-shadow: 0 10px 26px rgba(30,35,82,.15); }
.hub-banner .hub-hero-ic { font-size: 2.6rem; }
.hub-banner div { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.hub-banner b { font-size: 1.3rem; }
.hub-banner-go { background: #fff; color: #1D2026; font-weight: 800; border-radius: 30px; padding: 10px 18px; }
.hub-btn { justify-self: start; border: 0; cursor: pointer; font: inherit; font-weight: 700; padding: 9px 18px; margin-top: 4px; }
.hub-btn.outline { border: 1px solid #F27A6F; }
.dash .hub-wrap { display: grid; gap: 20px; }
/* hub pictures from the original design + catchy names */
.hub-pic { width: 84px; height: 84px; border-radius: 24px; background: rgba(255,255,255,.95); display: grid; place-items: center; flex: none; box-shadow: 0 8px 20px rgba(0,0,0,.12); }
.hub-pic img { width: 78%; height: 78%; object-fit: contain; }
.hub-pic.big { width: 120px; height: 120px; border-radius: 30px; }
.hub-pic.xl { width: 128px; height: 128px; border-radius: 32px; }
.hub-banner .hub-pic { width: 64px; height: 64px; border-radius: 18px; }
.hub-kicker { display: inline-block; text-transform: uppercase; letter-spacing: .08em; font-size: .78rem; font-weight: 800; background: rgba(255,255,255,.22); border-radius: 20px; padding: 4px 12px; margin-bottom: 6px; }
.big-hub h3 { font-size: 2.6rem; }
@media (max-width: 520px) { .hub-pic.xl, .hub-pic.big { width: 92px; height: 92px; } .big-hub h3 { font-size: 2rem; } }
/* ===== Compact, tidy hub cards (home page) ===== */
.big-hubs { max-width: 1040px; margin: 18px auto 0; gap: 22px; }
.hub2 { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 10px 30px rgba(30,35,82,.10); display: flex; flex-direction: column; border: 1px solid #EEF0F8; }
.hub2-head { display: flex; align-items: center; gap: 16px; padding: 20px 22px; color: #fff; }
.hub2-head .hub-pic { width: 72px; height: 72px; border-radius: 20px; }
.hub2-head .hub-kicker { margin-bottom: 4px; font-size: .7rem; padding: 3px 10px; }
.hub2-head h3 { font-size: 1.6rem; line-height: 1.15; color: #fff; }
.hub2-head p { font-size: .95rem; opacity: .95; margin-top: 2px; }
.hub2-body { padding: 18px 22px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.hub2-label { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #6E7485; }
.hub2-topics { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hub2-topics li { display: flex; align-items: center; gap: 8px; background: #F7F8FD; border-radius: 12px; padding: 9px 12px; font-weight: 600; font-size: .92rem; color: #2F3241; }
.hub2-topics li span { font-size: 1.15rem; }
.hub2-more { font-size: .85rem; color: #6E7485; line-height: 1.5; margin: 0; }
.hub2-foot { margin-top: auto; padding-top: 12px; border-top: 1px solid #EEF0F8; display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.hub2-foot .btn { padding: 11px 20px; font-size: .95rem; background: var(--c); border-color: var(--c); }
@media (max-width: 860px) { .big-hubs { grid-template-columns: 1fr; max-width: 560px; } }
@media (max-width: 460px) { .hub2-topics { grid-template-columns: 1fr; } }
/* ===================== PLOT TWIST! ===================== */
.plot { position: relative; overflow: hidden; background: #FFFBF4; padding: 90px 0 80px; margin-top: 100px; }
.plot-inner { position: relative; z-index: 1; display: grid; gap: 34px; }
.plot-blob { position: absolute; border-radius: 50%; filter: blur(2px); opacity: .55; pointer-events: none; }
.plot-blob.b1 { width: 360px; height: 360px; background: #FFE27A; top: -120px; left: -110px; }
.plot-blob.b2 { width: 300px; height: 300px; background: #BDEFD9; bottom: -110px; right: -80px; }
.plot-blob.b3 { width: 220px; height: 220px; background: #D9D2FF; top: 38%; right: 12%; opacity: .4; }
.plot-head { text-align: center; display: grid; gap: 10px; justify-items: center; }
.plot-title { font-size: clamp(2.6rem, 6vw, 4.4rem); font-weight: 900; letter-spacing: -.02em; line-height: 1; background: linear-gradient(90deg, #3E4B94, #8A5CF6 45%, #F27A6F); -webkit-background-clip: text; background-clip: text; color: transparent; }
.plot-pop { display: inline-block; -webkit-text-fill-color: initial; color: initial; animation: pt-wiggle 3s ease-in-out infinite; transform-origin: 60% 80%; }
.plot-lead { font-size: clamp(1.2rem, 2.4vw, 1.6rem); font-weight: 800; color: #1D2026; }
.plot-sub { font-size: 1.1rem; color: #4A4E5E; max-width: 640px; line-height: 1.6; }
.plot-rotator { min-height: 1.6em; font-weight: 700; color: #8A5CF6; font-size: 1.02rem; }
#plot-rotate { display: inline-block; transition: opacity .35s, transform .35s; background: #F1ECFF; border-radius: 30px; padding: 6px 16px; }
#plot-rotate.out { opacity: 0; transform: translateY(6px); }
/* mood picker */
.plot-mood { background: #fff; border-radius: 26px; padding: 18px 20px; box-shadow: 0 10px 30px rgba(30,35,82,.07); display: grid; gap: 12px; max-width: 980px; margin: 0 auto; width: 100%; }
.plot-mood-q { text-align: center; font-weight: 900; font-size: 1.15rem; color: #1D2026; }
.plot-mood-btns { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.plot-mood-btns button { border: 2px solid #EEE7DA; background: #FFFBF4; border-radius: 18px; padding: 12px 10px; font: inherit; cursor: pointer; display: grid; gap: 2px; justify-items: center; text-align: center; transition: transform .15s, border-color .15s, background .15s; }
.plot-mood-btns button span { font-size: 1.6rem; transition: transform .2s; }
.plot-mood-btns button b { font-size: .86rem; font-weight: 900; color: #1D2026; letter-spacing: .02em; }
.plot-mood-btns button small { font-size: .78rem; color: #6E7485; }
.plot-mood-btns button:hover { transform: translateY(-2px); border-color: #FFD54A; }
.plot-mood-btns button:hover span { transform: scale(1.15) rotate(-6deg); }
.plot-mood-btns button[aria-pressed=true] { background: #FFF3C4; border-color: #F6C431; }
.plot-mood-btns button:focus-visible, .pc-tiles a:focus-visible, .pc-main:focus-visible, .pc-second:focus-visible { outline: 3px solid #8A5CF6; outline-offset: 3px; }
.plot-mood-result { text-align: center; display: grid; gap: 8px; animation: pt-fade .3s ease; }
.plot-mood-result p { font-weight: 700; color: #3E4B94; }
.mood-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; align-items: center; }
.mood-links a { background: #F1F2FA; color: #1D2026; border-radius: 30px; padding: 6px 14px; font-weight: 700; font-size: .9rem; }
.mood-links a:hover { background: #E4E7FA; }
.mood-who { font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; color: #6E7485; margin-left: 6px; }
/* cards */
.plot-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; align-items: stretch; }
.plot-card { position: relative; border-radius: 32px; padding: 30px 28px 26px; color: #fff; display: flex; flex-direction: column; gap: 12px; overflow: hidden; box-shadow: 0 18px 44px rgba(30,35,82,.16); transition: transform .25s ease, box-shadow .25s ease; }
.plot-card::before, .plot-card::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.plot-card::before { width: 240px; height: 240px; right: -70px; top: -80px; background: rgba(255,255,255,.12); }
.plot-card::after { width: 120px; height: 120px; left: -30px; bottom: 60px; background: rgba(255,255,255,.08); }
.plot-card > * { position: relative; z-index: 1; }
.plot-card:hover { transform: translateY(-6px); box-shadow: 0 26px 54px rgba(30,35,82,.22); }
.pc-teach { background: linear-gradient(145deg, #3E4B94 0%, #5B5FD6 55%, #8A5CF6 100%); }
.pc-parent { background: linear-gradient(145deg, #F27A6F 0%, #F59A7A 55%, #FFB86B 100%); }
.pc-top { display: flex; align-items: center; gap: 14px; }
.pc-pic { width: 70px; height: 70px; border-radius: 22px; background: #fff; display: grid; place-items: center; flex: none; box-shadow: 0 8px 18px rgba(0,0,0,.14); transition: transform .3s; }
.pc-pic img { width: 80%; height: 80%; object-fit: contain; }
.plot-card:hover .pc-pic { transform: rotate(-5deg) scale(1.04); }
.pc-kicker { display: inline-block; font-size: .7rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; background: rgba(255,255,255,.22); border-radius: 20px; padding: 3px 10px; }
.plot-card h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 900; letter-spacing: .01em; line-height: 1.1; margin-top: 4px; color: #fff; }
.pc-emoji { display: inline-block; transition: transform .3s; }
.plot-card:hover .pc-emoji { animation: pt-ring .8s ease; }
.pc-twist { font-size: 1.15rem; font-weight: 900; color: #FFE27A; }
.pc-parent .pc-twist { color: #3E2A12; }
.pc-text { line-height: 1.6; opacity: .96; }
.pc-quip { display: inline-block; justify-self: start; align-self: flex-start; background: rgba(255,255,255,.18); border: 1px dashed rgba(255,255,255,.55); border-radius: 14px; padding: 6px 12px; font-weight: 700; font-style: italic; font-size: .95rem; }
.pc-tiles { list-style: none; padding: 0; margin: 4px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pc-tiles a { position: relative; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 10px 12px; color: #fff; transition: background .15s, transform .15s, opacity .2s; min-height: 58px; }
.pc-tiles a span { grid-row: span 2; font-size: 1.4rem; transition: transform .2s; }
.pc-tiles a b { font-size: .92rem; line-height: 1.25; }
.pc-tiles a small { font-size: .74rem; opacity: .85; }
.pc-tiles a:hover { background: rgba(255,255,255,.3); transform: translateY(-2px); }
.pc-tiles a:hover span { transform: scale(1.2) rotate(-8deg); }
.pc-tiles a.glow { background: #fff; color: #1D2026; box-shadow: 0 0 0 3px #FFE27A; }
.pc-tiles a.glow small { opacity: .7; }
.pc-tiles a.dim { opacity: .55; }
.pc-tiles a.picked { background: #FFE27A; color: #1D2026; }
.pc-burst { position: absolute; left: 50%; top: -14px; transform: translateX(-50%); white-space: nowrap; background: #1D2026; color: #fff; font-size: .78rem; font-weight: 800; border-radius: 20px; padding: 4px 10px; animation: pt-burst .65s ease forwards; z-index: 3; }
.pc-actions { margin-top: auto; padding-top: 10px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.pc-main { background: #fff; color: #1D2026; font-weight: 900; letter-spacing: .03em; border-radius: 40px; padding: 14px 24px; box-shadow: 0 8px 18px rgba(0,0,0,.14); transition: transform .15s; display: inline-flex; gap: 8px; align-items: center; }
.pc-main span { transition: transform .2s; }
.pc-main:hover { transform: translateY(-2px); }
.pc-main:hover span { transform: translateX(4px); }
.pc-second { color: #fff; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; }
.pc-parent .pc-second { color: #3E2A12; }
.plot-end { text-align: center; display: grid; gap: 6px; }
.plot-end-1 { font-size: 1.15rem; color: #4A4E5E; font-weight: 600; }
.plot-end-2 { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 900; color: #1D2026; }
/* reveal + keyframes */
.pt-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.pt-reveal.in { opacity: 1; transform: none; }
.plot-cards .pc-parent.pt-reveal { transition-delay: .12s; }
@keyframes pt-wiggle { 0%, 80%, 100% { transform: rotate(0); } 85% { transform: rotate(14deg); } 90% { transform: rotate(-10deg); } 95% { transform: rotate(6deg); } }
@keyframes pt-ring { 0% { transform: rotate(0); } 20% { transform: rotate(18deg); } 40% { transform: rotate(-14deg); } 60% { transform: rotate(10deg); } 80% { transform: rotate(-6deg); } 100% { transform: rotate(0); } }
@keyframes pt-burst { 0% { opacity: 0; transform: translate(-50%, 6px) scale(.8); } 40% { opacity: 1; transform: translate(-50%, -6px) scale(1.05); } 100% { opacity: 1; transform: translate(-50%, -10px) scale(1); } }
@keyframes pt-fade { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .plot *, .plot *::before, .plot *::after { animation: none !important; transition: none !important; } .pt-reveal { opacity: 1; transform: none; } }
/* tablets and phones */
@media (max-width: 1020px) { .plot-cards { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; width: 100%; } .plot-mood-btns { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .plot { padding: 60px 0; } .plot-card { padding: 24px 18px 22px; border-radius: 26px; } .pc-tiles { grid-template-columns: 1fr; } .plot-mood-btns button b { font-size: .8rem; } .pc-actions { flex-direction: column; align-items: stretch; text-align: center; } .pc-main { justify-content: center; } }
.plot-card h3 { font-size: clamp(1.35rem, 2.2vw, 1.8rem); } .pc-tiles a.dim { opacity: .7; }
.hub-status { margin-top: 14px; background: rgba(255,255,255,.18); border-radius: 16px; padding: 12px 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-weight: 600; }
.hub-status .btn { border: 0; cursor: pointer; font: inherit; font-weight: 800; color: #1D2026; }
.hub-status.pending { background: rgba(255,255,255,.25); }
.hub-lock { justify-self: start; font-size: .85rem; font-weight: 700; color: #6E7485; background: #F1F2FA; border-radius: 20px; padding: 6px 12px; margin-top: 4px; }

/* ===== Founders: neat, aligned cards (founders page + home page) ===== */
.founders .fd-grid { display: grid !important; grid-template-columns: repeat(auto-fit, minmax(280px, 340px)) !important; justify-content: center; align-items: stretch; gap: 26px; }
.founders .fd-grid.count-1 { grid-template-columns: minmax(280px, 420px) !important; }
.founders .fd-card { display: flex !important; flex-direction: column; align-items: center; text-align: center; height: 100%; padding: 30px 26px 28px !important; gap: 6px !important; }
.founders .fd-photo { width: 150px !important; height: 150px !important; flex: none; margin-bottom: 10px !important; }
.founders .fd-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 25%; }
.founders .fd-card h3 { min-height: 1.4em; margin: 0; }
.founders .fd-role { display: block; min-height: 2.6em; line-height: 1.3; }
.founders .fd-line { width: 48px; height: 3px; border-radius: 3px; background: var(--c); opacity: .5; margin: 6px 0 10px; }
.founders .fd-card p.fd-bio { text-align: left; line-height: 1.65; margin: 0; width: 100%; }
.founders .fd-link { margin-top: auto; padding-top: 14px; }
@media (max-width: 640px) { .fd-grid { grid-template-columns: minmax(0, 420px) !important; } }

