@charset "utf-8";

@font-face { font-family: "Uthmanic Hafs"; src: url("/fonts/UthmanicHafs1Ver18.woff2") format("woff2"); font-display: swap; }

:root { --sand: #fff6e9; --cream: #fffdf8; --blue: #0f4fa0; --navy: #0b1f4d; --sky: #cfe9f7; --coral: #f0785a; --sun: #ffcf5c; --mint: #c9eadb; --lilac: #e4dcf5; --text: #1e2433; --muted: #535a6b; --edge: #0b1f4d; --ok: #1d6b45; --okbg: #c9eadb; --soft: #ffe2c7; --throat: var(--tj-halq); --tongue: var(--tj-lisan); --lips: var(--tj-shafatan); --jawf: var(--tj-jawf); --fg: #1e2433; --madd: var(--tj-madd-2); --qal: var(--tj-qalqalah); --ghun: var(--tj-ghunnah); --leen: var(--tj-madd-arid); --ml: var(--tj-madd-lazim); --mut: var(--tj-madd-muttasil); --mun: var(--tj-madd-munfasil); --f-ar: "Uthmanic Hafs","Noto Naskh Arabic",serif; --f-ui: "Figtree",system-ui,sans-serif; --ar-size: 1; --gap: 1; }

* { box-sizing: border-box; }

[hidden] { display: none !important; }

html, body { margin: 0px; }

body { background: var(--sand); color: var(--text); font: 500 19px/1.55 var(--f-ui); min-height: 100vh; }

.wrap { max-width: 980px; margin: 0px auto; padding: 0px 20px 60px; }

h1, h2, h3 { font-family: "Bricolage Grotesque", sans-serif; color: var(--navy); line-height: 1.05; margin: 0px 0px 0.4em; letter-spacing: -0.02em; font-weight: 800; }

h1 { font-size: clamp(34px, 6vw, 56px); }

h2 { font-size: clamp(26px, 4vw, 38px); }

.ar { font-family: var(--f-ar); direction: rtl; unicode-bidi: isolate; }

.tf { color: var(--madd); }

.qh { color: var(--qal); }

.gh { color: var(--ghun); }

.ln { color: var(--leen); }

.ml { color: var(--ml); }

.mt { color: var(--mut); }

.mn { color: var(--mun); }

.tjkey { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 16px; margin: 0px 0px 12px; font: 700 17px/1.3 var(--f-ui); }

.tjkey .tji { margin-inline-end: 0.3em; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: 800 19px/1.1 var(--f-ui); padding: 17px 26px; border-radius: 18px; border: 2.5px solid var(--edge); background: var(--sun); color: var(--navy); text-decoration: none; cursor: pointer; box-shadow: 4px 4px 0 var(--edge); transition: transform 0.15s, box-shadow 0.15s; min-height: 58px; }

.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--edge); }

.btn:active { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--edge); }

.btn.alt { background: rgb(255, 255, 255); }

.btn.mint { background: var(--mint); }

.btn.sky { background: var(--sky); }

.fam-ic { display: inline-block; height: 1.15em; width: auto; vertical-align: -0.15em; }

.btn.small { padding: 10px 15px; font-size: 16px; min-height: 46px; box-shadow: 3px 3px 0 var(--edge); border-radius: 14px; }

.btn:focus-visible, button:focus-visible, a:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; }

.btn.pulse { animation: 1.4s ease-in-out 0s infinite normal none running pulse; }

.btn.nudge { background: var(--sun); outline: 4px solid var(--coral); outline-offset: 2px; animation: 1s ease-in-out 0s infinite normal none running nudge; }

@keyframes nudge { 
  50% { background: rgb(255, 255, 255); outline-color: transparent; transform: scale(1.06); }
}

@keyframes pulse { 
  50% { transform: scale(1.05); box-shadow: 6px 6px 0 var(--edge); }
}

.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 16px 0px 12px; }

.top img { height: 46px; width: auto; display: block; }

.top .acts { display: flex; gap: 10px; flex-wrap: wrap; }

.tstrip { background: var(--navy); color: rgb(255, 255, 255); border-radius: 14px; padding: 10px 16px; font: 600 15px/1.4 var(--f-ui); margin: 0px 0px 14px; }

.tstrip b { color: var(--sun); }

.hello { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; margin: 6px 0px 22px; }

.face { width: 92px; height: 92px; border-radius: 26px; border: 2.5px solid var(--edge); background: var(--sky); box-shadow: 5px 5px 0 var(--edge); display: grid; place-items: center; font-size: 52px; line-height: 1; flex: 0 0 auto; }

.hello p { margin: 0px; color: var(--muted); font-weight: 600; }

.map { list-style: none; margin: 0px; padding: 0px; display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 16px; }

.map button { width: 100%; height: 100%; text-align: left; border: 2.5px solid var(--edge); border-radius: 22px; box-shadow: 4px 4px 0 var(--edge); padding: 14px 16px 16px; cursor: pointer; font: inherit; color: var(--navy); display: flex; flex-direction: column; gap: 6px; transition: transform 0.2s; }

.map button:hover { transform: translateY(-3px) rotate(-0.6deg); }

.map li:nth-child(5n+1) button { background: var(--sky); }

.map li:nth-child(5n+2) button { background: var(--sun); }

.map li:nth-child(5n+3) button { background: var(--mint); }

.map li:nth-child(5n+4) button { background: rgb(255, 255, 255); }

.map li:nth-child(5n) button { background: var(--lilac); }

.map .pic { font-size: 34px; line-height: 1; }

.map .no { font: 800 14px/1 var(--f-ui); background: rgb(255, 255, 255); border: 2px solid var(--edge); border-radius: 999px; padding: 6px 10px; align-self: flex-start; }

.map .nm { font: 800 18px / 1.2 "Bricolage Grotesque", sans-serif; }

.map .st { font-size: 20px; letter-spacing: 2px; min-height: 1.3em; color: var(--navy); }

.map .next { outline: 4px dashed var(--coral); outline-offset: 4px; }

.plan { list-style: none; margin: 0px 0px 16px; padding: 0px; display: flex; gap: 8px; flex-wrap: wrap; }

.plan li { display: flex; align-items: center; gap: 8px; background: rgb(255, 255, 255); border: 2px solid var(--edge); border-radius: 999px; padding: 7px 14px; font: 700 15px/1.2 var(--f-ui); color: var(--muted); }

.plan li .w { display: none; font-weight: 800; color: var(--navy); }

.plan li.now { background: var(--sun); color: var(--navy); box-shadow: 3px 3px 0 var(--edge); }

.plan li.done { background: var(--mint); color: var(--navy); }

.plan li.done::after { content: "✓"; font-weight: 800; }

.stage { background: rgb(255, 255, 255); border: 2.5px solid var(--edge); border-radius: 30px; box-shadow: 6px 6px 0 var(--edge); padding: 24px; text-align: center; }

.stage .say { margin: 0px 0px 12px; font: 800 22px / 1.3 "Bricolage Grotesque", sans-serif; color: var(--navy); }

.dots { display: flex; justify-content: center; gap: 8px; margin: 0px 0px 16px; flex-wrap: wrap; align-items: center; }

.dots i { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--edge); background: rgb(255, 255, 255); }

.dots i.on { background: var(--coral); }

.dots i.now { background: var(--sun); transform: scale(1.25); }

.dots .num { font: 700 14px/1 var(--f-ui); color: var(--muted); margin-left: 6px; }

.big { display: grid; place-items: center; min-height: clamp(200px, 38vw, 300px); margin: 0px auto 14px; max-width: 560px; border: 2.5px solid var(--edge); border-radius: 28px; background: var(--sky); box-shadow: 5px 5px 0 var(--edge); padding: 18px 14px; cursor: pointer; width: 100%; font: inherit; color: var(--navy); }

.big .ar { font-size: calc(clamp(84px,17vw,150px) * var(--ar-size)); line-height: 1.5; }

.big.long .ar { font-size: calc(clamp(44px,8vw,72px) * var(--ar-size)); }

.big.ayah .ar { font-size: calc(clamp(30px,5vw,44px) * var(--ar-size)); line-height: 2; }

.name { font: 800 28px / 1.2 "Bricolage Grotesque", sans-serif; color: var(--navy); min-height: 1.3em; margin: 0px 0px 6px; }

.name.hide { color: transparent; text-shadow: transparent 0px 0px 0px; }

.hintline { color: var(--muted); font-weight: 600; margin: 0px 0px 12px; font-size: 17px; }

.alike { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 6px 0px 14px; }

.alike-h { font: 700 15px/1.3 var(--f-ui); color: var(--muted); margin: 4px 0px 6px; }

.alike span { display: grid; place-items: center; width: 74px; height: 74px; border: 2.5px solid var(--edge); border-radius: 18px; background: var(--cream); font-size: calc(46px * var(--ar-size)); line-height: 1.4; }

.alike span.me { background: var(--sun); box-shadow: 3px 3px 0 var(--edge); }

.beats { display: flex; justify-content: center; gap: 10px; margin: 4px 0px 12px; align-items: center; flex-wrap: wrap; }

.beats button { width: 40px; height: 40px; border-radius: 50%; border: 2.5px solid var(--edge); background: rgb(255, 255, 255); cursor: pointer; }

.beats button.on { background: var(--coral); }

.beats small { font-weight: 700; color: var(--muted); font-size: 15px; }

.navrow { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 8px; }

.navrow .sp { flex: 1 1 0%; }

.nudge { background: var(--mint); border: 2.5px solid var(--edge); border-radius: 18px; padding: 12px 16px; font-weight: 800; color: var(--navy); margin: 0px 0px 12px; }

.opts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; max-width: 620px; margin: 0px auto; }

.opts button { font: 800 21px/1.25 var(--f-ui); padding: 18px 12px; min-height: 76px; border: 2.5px solid var(--edge); border-radius: 20px; background: var(--cream); color: var(--navy); cursor: pointer; box-shadow: 4px 4px 0 var(--edge); }

.opts button span { color: var(--navy) !important; }

.opts button.right { background: var(--okbg); outline: 4px solid var(--ok); outline-offset: 2px; }

.opts button.notthis { background: var(--soft); opacity: 0.85; }

.opts button:disabled { cursor: default; }

.fb { min-height: 2.6em; margin: 14px 0px 6px; font: 800 22px / 1.3 "Bricolage Grotesque", sans-serif; color: var(--navy); }

.pop { display: inline-block; animation: 0.5s cubic-bezier(0.3, 1.6, 0.5, 1) 0s 1 normal none running pop; }

@keyframes pop { 
  0% { transform: scale(0.4); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

.row { display: flex; flex-flow: row-reverse wrap; justify-content: center; gap: 12px; margin: 0px 0px 18px; }

.row span { border: 2.5px solid var(--edge); border-radius: 18px; background: var(--cream); padding: 6px 14px; font-size: calc(40px * var(--ar-size)); line-height: 1.7; }

.stars { font-size: 62px; letter-spacing: 6px; color: rgb(230, 167, 0); text-shadow: 2px 2px 0 var(--edge); margin: 4px 0px 8px; }

.fin { display: inline-block; background: var(--mint); border: 2.5px solid var(--edge); border-radius: 999px; padding: 10px 20px; font: 800 22px/1 var(--f-ui); margin: 0px 0px 12px; }

.confetti { position: fixed; inset: 0px; pointer-events: none; overflow: hidden; z-index: 30; }

.confetti i { position: absolute; top: -20px; width: 12px; height: 18px; border-radius: 3px; animation: 2.4s linear 0s 1 normal forwards running fall; }

@keyframes fall { 
  100% { transform: translateY(110vh) rotate(540deg); }
}

.trace { position: relative; width: min(420px, 86vw); aspect-ratio: 1 / 1; margin: 0px auto 12px; border: 2.5px dashed var(--edge); border-radius: 26px; background: var(--cream); touch-action: none; }

.trace .ghost { position: absolute; inset: 0px; display: grid; place-items: center; font-size: min(300px, 62vw); line-height: 1; color: rgba(11, 31, 77, 0.133); pointer-events: none; }

.trace canvas { position: absolute; inset: 0px; width: 100%; height: 100%; }

.over { position: fixed; inset: 0px; background: rgba(11, 31, 77, 0.55); display: grid; place-items: center; z-index: 40; padding: 18px; }

.over .card { background: var(--cream); border: 2.5px solid var(--edge); border-radius: 30px; box-shadow: 6px 6px 0 var(--edge); padding: 28px; max-width: 520px; width: 100%; text-align: center; }

.over ul { list-style: none; padding: 0px; margin: 0px 0px 20px; display: grid; gap: 10px; text-align: left; }

.over li { background: rgb(255, 255, 255); border: 2px solid var(--edge); border-radius: 16px; padding: 12px 16px; font-weight: 700; display: flex; gap: 12px; align-items: center; }

.over li b { font-size: 28px; }

.breathe { width: 150px; height: 150px; margin: 6px auto 18px; border-radius: 50%; background: var(--mint); border: 2.5px solid var(--edge); display: grid; place-items: center; font: 800 20px/1.2 var(--f-ui); color: var(--navy); animation: 8s ease-in-out 0s infinite normal none running breathe; }

@keyframes breathe { 
  0%, 100% { transform: scale(0.78); }
  50% { transform: scale(1.08); }
}

.msg { color: var(--muted); font-weight: 600; }

footer { color: var(--muted); font-size: 15px; padding: 30px 0px 0px; text-align: center; }

footer a { color: var(--blue); }

.embed .top img { height: 36px; }

.bee { position: fixed; inset: 0px; pointer-events: none; z-index: 35; }

.bee-box { width: 170px; height: 170px; pointer-events: none; }

.embed .bee-box { width: 140px; height: 140px; }

.bee-voice { position: fixed; right: 12px; bottom: 12px; pointer-events: auto; }

.qm-bar .bee-voice { position: static; min-height: 46px; margin: 0px; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0px, 0px, 0px, 0px); white-space: nowrap; }

@media (max-width: 560px) {
  .bee-box { width: 130px; height: 130px; }
}

.need-autism { --sun: #f3e4b8; --coral: #e8b4a2; --sky: #e2eef5; --mint: #dcefe5; --lilac: #ece8f3; --soft: #f3e7dc; }

.need-autism *, .need-autism ::before, .need-autism ::after { animation: auto ease 0s 1 normal none running none !important; transition: none !important; }

.need-autism .map button:hover, .need-autism .btn:hover { transform: none; }

.need-autism .confetti { display: none; }

.need-autism .plan li { border-radius: 14px; padding: 10px 14px; }

.need-autism .plan li .w { display: inline; }

.need-autism .breathe { transform: none; }

.need-dyslexia { --ar-size: 1.18; --f-ui: "Lexend","Figtree",system-ui,sans-serif; }

.need-dyslexia body { letter-spacing: 0.03em; word-spacing: 0.12em; line-height: 1.75; }

.need-dyslexia .ar { letter-spacing: 0px; word-spacing: 0.35em; }

.need-dyslexia .big { background: rgb(253, 243, 216); }

.need-dyscalculia .num, .need-dyscalculia .map .no { display: none !important; }

.over .card.gq { max-width: 680px; text-align: left; max-height: calc(-36px + 100vh); overflow: auto; padding: 24px 22px; }

.gq h2 { margin-bottom: 0.3em; }

.gq p.lead { color: var(--muted); font-size: 16px; margin: 0px 0px 12px; }

.gq fieldset { border-width: 2px 0px 0px; border-style: dashed none none; border-color: rgb(231, 214, 187) currentcolor currentcolor; border-image: none; margin: 0px; padding: 12px 0px; }

.gq legend { font-weight: 700; color: var(--navy); padding: 0px; margin: 0px 0px 8px; font-size: 17px; }

.gq .area { display: block; font-size: 12px; letter-spacing: 0.07em; text-transform: uppercase; color: rgb(154, 91, 18); font-weight: 800; }

.gq .ch { display: flex; flex-wrap: wrap; gap: 8px; }

.gq .ch label { display: inline-flex; align-items: center; gap: 6px; border: 2px solid var(--edge); border-radius: 999px; padding: 7px 14px; background: rgb(255, 255, 255); font-weight: 700; font-size: 16px; cursor: pointer; }

.gq .ch input { margin: 0px; accent-color: var(--navy); }

.gq .ch label:has(input:checked) { background: var(--navy); color: rgb(255, 255, 255); }

.gq .ch.told label:has(input:checked) { background: var(--ok); border-color: var(--ok); }

.gq label.tl { display: block; font-weight: 700; color: var(--navy); margin: 12px 0px 6px; font-size: 17px; }

.gq textarea { width: 100%; font: 500 16px/1.4 var(--f-ui); border: 2px solid var(--edge); border-radius: 14px; padding: 10px 12px; background: rgb(255, 255, 255); }

.gq .row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; margin-top: 14px; }

.gq .gm { min-height: 1.3em; font-size: 16px; color: var(--muted); margin: 10px 0px 0px; }

.gq .gm.bad { color: rgb(155, 44, 34); }

.gq .row.center { justify-content: center; }

.need-semh .stars .e, .need-ocd .stars .e { display: none; }

@media (max-width: 560px) {
  .opts { grid-template-columns: 1fr; }
  .stage { padding: 18px 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, ::before, ::after { animation: auto ease 0s 1 normal none running none !important; transition: none !important; }
  .confetti { display: none; }
}