@font-face{font-family:JourneySans;src:url('./fonts/sans.ttf')}@font-face{font-family:JourneySerif;src:url('./fonts/serif.ttf')}*{box-sizing:border-box} :root{--bg:#faf8f5;--paper:#fff;--ink:#302b40;--muted:#655f73;--plum:#655184;--lavender:#e6ddf2;--pink:#f1dce3;--blue:#dceaf4;--line:#ded8e4}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--ink);font:16px/1.65 JourneySans,sans-serif}button,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.6}a{color:inherit;text-underline-offset:4px}button:focus-visible,a:focus-visible,select:focus-visible{outline:3px solid var(--plum);outline-offset:4px}header{max-width:1200px;margin:auto;padding:26px 40px;display:flex;gap:32px;align-items:center;border-bottom:1px solid var(--line)}.brand{display:flex;align-items:center;gap:14px;font:20px/1.3 JourneySerif,serif;text-decoration:none}.brand em{font-style:normal}.brand-mark{font:46px JourneySerif;color:#ad718f}nav{display:flex;gap:28px;margin-left:auto}nav a{font-size:14px;text-decoration:none;padding:12px 0;border-bottom:2px solid transparent}nav a.active{border-color:var(--plum);color:var(--plum)}button,.button{min-height:44px;border:0;border-radius:12px;padding:12px 22px;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;gap:10px;transition:background .15s,transform .15s}.primary{background:var(--plum);color:white}.primary:hover{background:#51406e}.secondary{background:white;border:1px solid var(--line);color:var(--ink)}.secondary:hover{background:#f1edf6}.install{font-size:13px}.text-button{background:transparent;padding:5px 0;min-height:44px;color:var(--plum);text-decoration:underline;text-underline-offset:4px}.skip{position:absolute;top:-70px;background:white;padding:12px;z-index:10}.skip:focus{top:0}main{max-width:1120px;min-height:65vh;margin:0 auto;padding:45px 0 65px}h1,h2,h3{font-family:JourneySerif,serif;font-weight:400;line-height:1.25;margin:0}h1{font-size:clamp(32px,4.1vw,48px);letter-spacing:-1.4px}h2{font-size:28px;letter-spacing:-.5px}h3{font-size:21px}p{margin:15px 0;color:var(--muted)}.eyebrow{font-size:12px;letter-spacing:1.7px;text-transform:uppercase;color:var(--plum);margin-bottom:13px}.intro{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:center;margin-bottom:46px}.intro p{max-width:480px;font-size:16px}.msa-link{font-size:14px}.quick{padding:26px 30px;border-radius:24px;background:var(--lavender);display:flex;flex-direction:column;gap:14px}.quick-top{display:flex;justify-content:space-between;align-items:center;gap:12px}.quick small{color:var(--muted);font-size:13px}.quick h2{font-size:25px}.quick .primary{align-self:flex-start}.motif{display:block;width:180px;max-width:calc(100% - 48px);height:32px;margin:0 auto;flex-shrink:0}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:22px;gap:12px}.section-heading p{font-size:14px;margin:0}.topic-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.topic{display:flex;text-align:left;flex-direction:column;align-items:stretch;padding:21px 23px 19px;border:1px solid #ddd7e24d;border-radius:18px;background:white;min-height:219px;position:relative;box-shadow:0 3px 10px #302b4003}.topic:hover{transform:translateY(-3px);box-shadow:0 9px 18px #302b400b}.topic:nth-child(6n+1){background:#eee8f6}.topic:nth-child(6n+2){background:#e6eef5}.topic:nth-child(6n+3){background:#f5e7ec}.topic:nth-child(6n+4){background:#f4f0e9}.topic:nth-child(6n+5){background:#eaf0ed}.topic .topic-ar{font:30px/1.65 JourneySans;text-align:right;opacity:.85;min-height:52px}.topic h3{margin:8px 0 5px;font-size:19px}.topic small{font-size:13px;color:var(--muted)}.topic .bottom{display:flex;align-items:center;justify-content:space-between;margin-top:auto;padding-top:18px;font-size:13px;color:var(--plum)}.topic .arrow{font-size:19px}.note{font-size:13px;color:var(--muted)}.inline-note{display:flex;align-items:center;gap:15px;margin-top:26px}.inline-note .motif{width:90px;margin:0;max-width:90px}.back{margin-bottom:25px;font-size:14px}.pack-head{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-bottom:30px}.pack-head p{max-width:600px}.pack-setup{background:white;border:1px solid var(--line);border-radius:20px;padding:24px;display:flex;gap:24px;align-items:end;flex-wrap:wrap;margin:24px 0 34px}.field{display:flex;flex-direction:column;gap:8px;font-size:14px}.field select{padding:10px 35px 10px 12px;min-height:46px;background:var(--bg);border:1px solid var(--line);border-radius:9px;color:var(--ink);max-width:100%}.word-list{display:grid;grid-template-columns:1fr 1fr;gap:12px}.word-row{background:white;border:1px solid var(--line);border-radius:14px;padding:18px 23px;display:flex;gap:22px;align-items:center;justify-content:space-between}.word-row .ar{font-size:29px;line-height:1.8}.word-row .en{font-size:15px}.word-row .pron{font-size:13px;color:var(--muted)}.word-row .word-note{font-size:12px;max-width:320px}.practice{max-width:660px;margin:auto}.practice-top{display:flex;justify-content:space-between;align-items:center;gap:20px}.practice-top h1{font-size:25px;letter-spacing:-.5px}.practice-top button{font-size:14px}.session-meta{display:flex;justify-content:space-between;font-size:13px;color:var(--muted);margin:22px 0 10px}.progress-track{height:4px;background:var(--lavender);border-radius:8px;margin-bottom:24px}.progress-track span{display:block;height:100%;background:var(--plum);border-radius:8px}.flashcard{background:white;border:1px solid var(--line);border-radius:24px;min-height:380px;padding:25px 32px 26px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;text-align:center;box-shadow:0 12px 40px #302b4005}.flashcard .motif{margin:0 auto 14px}.flashcard .prompt{flex:1;display:flex;align-items:center;justify-content:center;width:100%;min-height:132px}.arabic{font:clamp(38px,7vw,62px)/1.8 JourneySans;direction:rtl;overflow-wrap:normal;max-width:100%;padding:4px 0}.english-prompt{font:32px/1.4 JourneySerif;max-width:100%}.pronunciation{font-size:20px;color:var(--muted);margin:0 0 8px}.answer{animation:fade .15s;font:26px/1.4 JourneySerif;margin:0 0 14px}.answer.arabic{font:43px/1.8 JourneySans}.flashcard .card-note{font-size:14px;max-width:480px;margin:8px auto 0}.hint{font-size:14px}.actions{display:flex;gap:14px;margin-top:22px}.actions button{flex:1;min-height:54px}.practice-tip{text-align:center;font-size:13px}.summary{max-width:640px;margin:20px auto;text-align:center;background:white;border:1px solid var(--line);border-radius:24px;padding:42px}.summary h1{font-size:35px;margin-top:20px}.summary .stats{display:flex;gap:20px;justify-content:center;margin:30px 0}.stat{padding:22px;background:var(--blue);border-radius:16px;flex:1}.stat strong{font:36px JourneySerif;display:block}.stat span{font-size:13px}.summary .actions{flex-wrap:wrap}.article{max-width:740px;margin:auto}.article h1{margin-bottom:26px}.article h2{margin-top:38px}.article .lead{font-size:21px;line-height:1.7}.article p{max-width:700px}.article .motif{margin:34px auto}.info-panel{border-radius:20px;background:var(--lavender);padding:27px 30px;margin:30px 0}.info-panel h2{margin:0 0 16px}.info-panel p{margin:0}.progress-stats{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin:28px 0}.progress-stats .stat:nth-child(2){background:var(--lavender)}.progress-stats .stat:nth-child(3){background:var(--pink)}.empty{padding:30px;border:1px solid var(--line);border-radius:20px;background:white;margin-top:24px}.progress-list{display:grid;gap:12px}.progress-row{padding:18px 24px;border:1px solid var(--line);border-radius:14px;display:flex;justify-content:space-between;gap:14px;align-items:center;background:white}.progress-row h3{font-size:18px}footer{max-width:1120px;margin:auto;border-top:1px solid var(--line);padding:28px 0 32px;display:flex;align-items:center;flex-wrap:wrap;gap:16px 35px;font-size:13px;color:var(--muted)}footer>span{font-family:JourneySerif;font-size:17px}footer>div{display:flex;gap:22px;align-items:center;margin-left:auto}footer .text-button{font-size:13px}footer small{width:100%;font-size:12px}dialog{border:1px solid var(--line);border-radius:24px;padding:35px;max-width:560px;width:calc(100% - 32px);max-height:85vh;overflow:auto;color:var(--ink);background:var(--bg)}dialog::backdrop{background:#302b4070}dialog h2{padding-right:40px;margin-bottom:20px}.close{position:absolute;right:18px;top:18px;padding:2px;width:44px;font-size:25px}dialog li{margin-bottom:14px;color:var(--muted)}#notice{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--ink);color:white;padding:12px 22px;border-radius:12px;font-size:14px;max-width:90vw;z-index:15;display:none}#notice.visible{display:block}@keyframes fade{from{opacity:0}to{opacity:1}}@media(max-width:1199px){main,footer{margin-left:40px;margin-right:40px}}@media(max-width:850px){header{padding:22px 25px;gap:20px}.install{display:none}.intro{gap:30px;grid-template-columns:1fr 1fr}.topic-grid{grid-template-columns:repeat(3,1fr)}main,footer{margin-left:25px;margin-right:25px}.word-list{grid-template-columns:1fr}h1{font-size:38px}}@media(max-width:600px){header{padding:20px;flex-wrap:wrap;gap:15px}.brand{font-size:18px;gap:10px}.brand-mark{font-size:36px}nav{gap:16px}nav a{font-size:13px}main{margin:0;padding:29px 20px 42px}.intro{display:block;margin-bottom:32px}.intro h1{font-size:35px}.intro p{font-size:15px}.quick{margin-top:25px;padding:22px}.quick h2{font-size:22px}.quick .primary{width:100%}.topic-grid{grid-template-columns:repeat(2,1fr);gap:12px}.topic{padding:17px;min-height:205px}.topic h3{font-size:18px}.topic .topic-ar{font-size:27px}.section-heading h2{font-size:24px}.section-heading p{font-size:12px}.pack-head{display:block}.pack-head h1{font-size:34px}.pack-setup{gap:18px}.field{flex:1;min-width:170px}.pack-setup .primary{width:100%}.word-row{padding:15px;gap:14px}.word-row .ar{font-size:25px}.flashcard{padding:22px 18px;min-height:365px}.arabic{font-size:43px}.session-meta{font-size:12px}.practice-top h1{font-size:22px}.summary{padding:25px 19px;margin:0}.summary h1{font-size:29px}.summary .stats{gap:12px}.stat{padding:18px}.summary .actions{flex-direction:column}.progress-stats{gap:10px}.progress-stats .stat{padding:17px 10px;text-align:center}.stat strong{font-size:30px}.stat span{font-size:12px}.progress-row{padding:15px;flex-wrap:wrap}.article h1{font-size:34px}.article .lead{font-size:18px}.info-panel{padding:23px}.article h2{font-size:25px}footer{margin:0 20px;padding-top:22px;display:block}footer>div{display:flex;flex-wrap:wrap;gap:0 18px;margin:10px 0}footer small{display:block}.inline-note{align-items:flex-start}.inline-note .motif{display:none}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
.topic{text-decoration:none}.word-row>div{min-width:0}.word-row .ar{flex-shrink:0;max-width:48%;overflow-wrap:normal}
/* My Arabic Daftar: notebook lines fade into a clear reading area. */
body{background-color:var(--bg);background-image:linear-gradient(to right,transparent 0%,var(--bg) 15%,var(--bg) 85%,transparent 100%),repeating-linear-gradient(to bottom,transparent 0,transparent 35px,#b9a3d22c 35px,#b9a3d22c 36px)}
header{align-items:center;border-bottom:0;padding-top:30px;padding-bottom:20px}.brand{font-size:28px;line-height:1.15}.brand-copy{display:block}.brand small{display:block;font:13px/1.6 JourneySans;color:var(--muted);margin-top:6px}.brand-strokes{display:block;margin-top:10px}.brand .motif{margin:0;width:200px;max-width:100%;height:27px}main{padding-top:40px}.intro{grid-template-columns:1.25fr .8fr;gap:65px;align-items:center;margin-bottom:44px}.intro h1{font-size:46px;line-height:1.2}.intro p{font-size:17px}.intro p.creator{font-size:14px;margin-top:32px}.quick.notebook-sample{background:white;border:1px solid #ded8e475;text-align:center;align-items:center;gap:5px;padding:23px 28px 25px;box-shadow:0 8px 25px #302b4008}.notebook-sample .motif{width:210px;margin-bottom:8px}.sample-ar{font:58px/1.65 JourneySans;padding:4px}.sample-pron{font:21px/1.5 JourneySerif;color:var(--muted)}.sample-meaning{font-size:18px;margin-bottom:14px}.notebook-sample .primary{width:100%;margin-top:12px;align-self:stretch}.resume-label{font:27px/1.4 JourneySerif;margin:20px 0}.topic-grid{grid-template-columns:repeat(3,1fr);gap:18px}.topic{min-height:225px;text-align:center;align-items:center;padding:20px 24px 15px}.topic h3{font-size:21px;margin:0 0 6px}.topic .topic-ar{font-size:31px;text-align:center}.topic .bottom{padding-top:8px;gap:10px;margin:0 auto}.topic .motif{width:230px;max-width:100%;height:30px;margin:10px auto 0}.topic:nth-child(3n+1){background:#e6ddf2}.topic:nth-child(3n+2){background:#f1dce3}.topic:nth-child(3n){background:#dceaf4}.section-heading{align-items:end}.section-heading h2{font-size:33px}.section-heading>div p{margin-top:7px;font-size:15px}.flashcard .motif{width:240px}.article,.practice{position:relative}footer{background:var(--bg)}
@media(max-width:850px){.brand{font-size:24px}.intro{gap:30px}.intro h1{font-size:38px}.topic-grid{grid-template-columns:repeat(2,1fr)}header{flex-wrap:wrap}.topic h3{font-size:19px}}
@media(max-width:600px){body{background-image:linear-gradient(to right,transparent, var(--bg) 8%,var(--bg) 92%,transparent),repeating-linear-gradient(to bottom,transparent 0,transparent 35px,#b9a3d220 35px,#b9a3d220 36px)}header{padding:22px 20px 8px;gap:12px}.brand{font-size:27px}.brand small{font-size:12px}.brand .motif{width:175px}nav{margin:0;gap:28px;width:100%}nav a{font-size:14px}main{padding-top:22px}.intro h1{font-size:35px}.intro p{font-size:16px}.intro p.creator{margin-top:16px}.notebook-sample{margin-top:24px}.sample-ar{font-size:48px}.quick.notebook-sample{padding:19px 24px}.topic-grid{gap:12px}.topic{min-height:218px;padding:16px 13px 12px}.topic h3{font-size:18px}.topic .motif{max-width:calc(100% - 16px);height:26px}.topic .topic-ar{font-size:27px}.section-heading{flex-wrap:wrap}.section-heading h2{font-size:28px}.section-heading>p{font-size:13px}.flashcard .motif{width:210px}}
/* Quiet notebook edges; keep the centre clear and practice distraction-free. */
body{background-image:linear-gradient(to right,transparent 0%,var(--bg) 20%,var(--bg) 80%,transparent 100%),repeating-linear-gradient(to bottom,transparent 0,transparent 35px,rgba(153,125,186,.18) 35px,rgba(153,125,186,.18) 36px)}
@media(max-width:600px){body{background-image:linear-gradient(to right,transparent 0%,var(--bg) 15%,var(--bg) 85%,transparent 100%),repeating-linear-gradient(to bottom,transparent 0,transparent 35px,rgba(153,125,186,.09) 35px,rgba(153,125,186,.09) 36px)}}
body.is-practising{background-image:none}
/* Route/skip-link focus stays accessible without outlining the whole page. */
main:focus{outline:none}
main:focus-visible h1{outline:2px solid var(--plum);outline-offset:6px;border-radius:3px}
summary:focus-visible{outline:3px solid var(--plum);outline-offset:4px}
.intro p.growing-note{font-size:14px;max-width:440px;margin-top:18px}
