@font-face{font-family:Fraunces;font-style:normal;font-weight:600;font-display:swap;src:url('/fonts/fraunces-latin-600.woff2') format('woff2')}
:root{--paper:#fff8e7;--ink:#000;--red:#c9302c;--muted:rgba(0,0,0,.6);--line:rgba(0,0,0,.18);--wash:rgba(0,0,0,.035);font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;background:var(--paper);color:var(--ink);font-synthesis:none;text-size-adjust:100%;color-scheme:light}
*{box-sizing:border-box}body{margin:0;min-width:280px}button,input,textarea{font:inherit}button,a,input,textarea,summary{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:disabled{cursor:default;opacity:.5}a{color:inherit;text-underline-offset:4px}button,a,input,textarea,summary{touch-action:manipulation}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid var(--red);outline-offset:5px}input:focus-visible,textarea:focus-visible{outline:2px solid var(--red);outline-offset:2px}button{min-height:44px}h1,h2,h3,p{margin:0}h1,h2,h3{word-break:keep-all;overflow-wrap:anywhere}button:disabled:hover{transform:none}#main:focus,.flashcard:focus{outline:none}.skip-link{position:fixed;left:16px;top:-80px;padding:12px;background:var(--ink);color:var(--paper);z-index:20}.skip-link:focus{top:12px}.site-header,.site-footer,main{width:min(1184px,calc(100% - 96px));margin-inline:auto}.site-header{height:108px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--ink);gap:16px}.wordmark{font-family:Fraunces,Georgia,serif;font-weight:600;letter-spacing:-1.3px;font-size:32px;text-decoration:none;line-height:1.2}.wordmark span{color:var(--red)}.header-right{display:flex;align-items:center;gap:24px}.local-badge{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:7px}.local-badge:before{content:'';width:6px;height:6px;border-radius:50%;background:var(--red)}.language{border:1px solid var(--line);background:transparent;padding:0 14px;border-radius:4px;font-size:13px}.hero{display:grid;grid-template-columns:1.3fr 1fr;gap:80px;padding:64px 0 48px;align-items:center}.eyebrow{font-size:11px;letter-spacing:1.7px;font-weight:700;display:flex;gap:10px;align-items:center;text-transform:uppercase}.eyebrow>span{width:18px;height:2px;background:var(--red)}.hero h1{font-size:clamp(32px,3.4vw,48px);font-weight:600;line-height:1.43;letter-spacing:-2px;margin:22px 0}.hero-intro{font-size:16px;line-height:1.7}.scheduler{font-size:13px;color:var(--muted);line-height:1.8;max-width:46ch;margin-top:16px}.review-panel{border:1px solid var(--ink);border-radius:8px;padding:28px;background:var(--paper)}.stat-due>span{font-size:13px}.stat-due>strong{display:flex;justify-content:space-between;align-items:center;font-family:Fraunces,Georgia,serif;font-size:84px;letter-spacing:-4px;line-height:1.2;margin:8px 0 16px}.stat-due i{font-style:normal;font-family:inherit;font-size:44px;color:var(--red);font-weight:400}.stat-small{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);padding:16px 0 24px;gap:20px}.stat-small>div{display:flex;align-items:baseline;gap:10px}.stat-small strong{font-family:Fraunces,Georgia,serif;font-size:26px}.stat-small span{font-size:12px;color:var(--muted)}.primary,.secondary{border:1px solid var(--ink);border-radius:4px;display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:12px 18px;font-size:14px;font-weight:600;line-height:1.5;text-decoration:none}.primary{background:var(--ink);color:var(--paper)}.primary:hover:enabled{background:var(--red);border-color:var(--red)}.secondary{background:transparent}.secondary:hover{background:var(--wash)}.wide{width:100%;justify-content:space-between}.panel-note{text-align:center;font-size:11px;line-height:1.8;color:var(--muted);margin-top:12px;overflow-wrap:anywhere}.privacy{display:flex;gap:14px;border-block:1px solid var(--line);padding:19px 0;align-items:flex-start}.privacy-icon{color:var(--red);font-size:26px;line-height:1}.privacy strong{font-size:12px;font-weight:600;line-height:1.8}.privacy p{font-size:11px;line-height:1.9;color:var(--muted);margin-top:2px}.deck-section{padding:44px 0}.section-head{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:24px}.section-head h2{font-size:23px;letter-spacing:-.7px}.count{font-family:Fraunces,Georgia,serif;font-size:16px;font-weight:400;color:var(--red);margin-left:7px}.section-head p{font-size:12px;line-height:1.8;color:var(--muted);margin-top:8px}.deck-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.deck{border:1px solid var(--line);border-radius:6px;padding:22px;position:relative;min-height:220px;display:flex;flex-direction:column}.deck:hover{border-color:var(--ink)}.deck-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.deck-number{font-family:Fraunces,Georgia,serif;font-size:17px;color:var(--muted)}.deck-due{color:var(--red);font-size:10px;line-height:1.6;text-align:right}.deck h3{font-size:20px;line-height:1.5;margin-top:26px;letter-spacing:-.4px}.deck>p{font-size:11px;color:var(--muted);margin-top:8px}.deck-open{display:flex;justify-content:space-between;align-items:center;background:none;border:0;border-top:1px solid var(--line);padding:10px 0 0;margin-top:20px;width:100%;font-size:12px;text-align:left}.deck-open:after{content:'';position:absolute;inset:0}.deck-open:focus-visible{outline-offset:1px}.deck-open span{font-size:20px;color:var(--red)}.empty{text-align:center;border:1px dashed var(--line);border-radius:8px;padding:36px 24px}.empty-card{width:74px;height:88px;border:1px solid var(--ink);border-radius:5px;margin:0 auto 20px;transform:rotate(-7deg);box-shadow:6px 5px 0 var(--paper),6px 5px 0 1px var(--line);display:flex;align-items:center;justify-content:center;font-family:Fraunces,Georgia,serif;font-size:28px;position:relative}.empty-card i{position:absolute;bottom:6px;right:8px;font-style:normal;font-size:15px;color:var(--red)}.empty h3{font-size:20px;letter-spacing:-.5px}.empty>p{font-size:12px;color:var(--muted);line-height:1.8;margin:12px auto 22px;max-width:48ch}.empty .text-button{display:block;margin:8px auto 0}.text-button{background:none;border:0;padding:8px;font-size:12px;text-decoration:underline;text-underline-offset:4px;line-height:1.7}.danger{color:var(--red)}.backup{display:flex;justify-content:space-between;gap:24px;border-top:1px solid var(--ink);padding:28px 0 20px;align-items:center}.backup h2{font-size:16px}.backup p{font-size:12px;line-height:1.8;color:var(--muted);max-width:50ch;margin-top:10px}.button-row{display:flex;flex-wrap:wrap;gap:8px}.backup .button-row{flex-shrink:0}.analytics{font-size:11px;color:var(--muted);line-height:1.8;margin:4px 0 48px}.analytics summary{cursor:pointer;min-height:44px;display:flex;align-items:center;gap:8px}.analytics summary:before{content:'+';font-size:18px}.analytics[open] summary:before{content:'−'}.analytics p{max-width:90ch}.site-footer{display:flex;align-items:center;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding:24px 0 28px;font-size:11px;color:var(--muted)}.parent{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--ink);font-size:11px}.parent img{padding:2px;background:#000;border-radius:50%;flex-shrink:0}.site-footer>a:last-child{min-height:44px;display:flex;align-items:center}#toast{position:fixed;bottom:28px;left:50%;transform:translateX(-50%);background:var(--ink);color:var(--paper);font-size:13px;line-height:1.7;border:1px solid var(--paper);border-radius:6px;padding:14px 20px;max-width:min(90vw,560px);width:max-content;z-index:50;opacity:0;pointer-events:none}#toast.visible{opacity:1}dialog{width:min(560px,calc(100% - 32px));max-height:calc(100svh - 32px);border:1px solid var(--ink);border-radius:8px;padding:28px;background:var(--paper);color:var(--ink);overscroll-behavior:contain}dialog::backdrop{background:rgba(0,0,0,.5)}body:has(dialog[open]){overflow:hidden}.dialog-head{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:24px}.dialog-head h2{font-size:22px;letter-spacing:-.7px;line-height:1.5}.icon-button{font-size:26px;border:0;background:none;width:44px;flex-shrink:0;color:var(--ink)}label{display:block;font-size:13px;font-weight:600;margin:20px 0 8px}input,textarea{width:100%;border:1px solid var(--line);border-radius:4px;background:transparent;color:var(--ink);padding:12px;line-height:1.65;font-size:16px}textarea{resize:vertical;min-height:80px}input::placeholder,textarea::placeholder{color:var(--muted);opacity:.75}.field-hint{font-size:12px;color:var(--muted);line-height:1.8;margin:8px 0 12px}#line-count{margin:6px 0}dialog>p{font-size:14px;line-height:1.9}.form-error{font-size:12px;color:var(--red);line-height:1.8;white-space:pre-wrap}.dialog-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:26px}.destructive{background:var(--red);border-color:var(--red)}.deck-detail{padding:32px 0 56px;min-height:70vh}.back{margin:0 0 24px -8px}.deck-detail h1{font-size:36px;line-height:1.4;letter-spacing:-1.1px}.deck-tools{margin:24px 0}.card-row{display:flex;justify-content:space-between;gap:24px;padding:24px 0;border-top:1px solid var(--line);align-items:flex-start}.card-row>div:first-child{min-width:0;flex:1}.card-text{font-size:17px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere}.row-label{font-size:10px;letter-spacing:1px;text-transform:uppercase;color:var(--muted);margin-bottom:8px}.card-row details{font-size:12px;margin-top:8px}.card-row summary{min-height:40px;cursor:pointer;line-height:40px}.card-row details p{padding:8px 0}.schedule-label{font-size:10px;color:var(--muted);margin-top:12px}.row-actions{display:flex;gap:8px}.study{max-width:760px;margin:auto;padding:28px 0 56px;min-height:72vh}.study-head{display:flex;justify-content:space-between;align-items:center;font-size:12px;color:var(--muted)}.study-head button{margin-left:-8px}progress{display:block;width:100%;height:3px;border:0;background:var(--line);margin:10px 0 28px;color:var(--red)}progress::-webkit-progress-bar{background:var(--line)}progress::-webkit-progress-value{background:var(--red)}progress::-moz-progress-bar{background:var(--red)}.study-heading{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:16px}.study-heading>p:last-child{font-size:12px;color:var(--muted);overflow-wrap:anywhere}.flashcard{border:1px solid var(--ink);border-radius:8px;padding:40px;min-height:290px;display:flex;flex-direction:column;justify-content:center;text-align:center;overflow-wrap:anywhere}.flashcard h1{font-size:clamp(25px,4vw,36px);font-weight:500;line-height:1.65;white-space:pre-wrap}.recall-hint{font-size:12px;line-height:1.8;color:var(--muted);margin-top:36px}.flash-answer{border-top:1px solid var(--line);padding-top:28px;margin-top:28px}.flash-answer p{font-size:23px;line-height:1.75;white-space:pre-wrap}.study-controls{margin-top:24px}.reveal{display:flex;width:100%;justify-content:space-between}.grade-prompt{font-size:12px;text-align:center;color:var(--muted);margin:16px 0}.grades{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.grade{background:transparent;border:1px solid var(--ink);border-radius:5px;min-height:90px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;position:relative;padding:12px 6px;color:var(--ink)}.grade:hover,.grade:focus-visible{background:var(--ink);color:var(--paper)}.grade strong{font-size:14px;font-weight:600}.grade small{font-size:10px}.grade-key{position:absolute;top:5px;left:7px;font-size:9px;opacity:.5}.grade-again{color:var(--red);border-color:var(--red)}.study-bottom{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-top:20px;font-size:10px;color:var(--muted)}.finished,.recovery{text-align:center;max-width:620px;margin:auto;padding:64px 0;min-height:70vh}.finish-mark{display:flex;width:64px;height:64px;border:1px solid var(--red);border-radius:50%;color:var(--red);font-size:30px;align-items:center;justify-content:center;margin:0 auto 28px}.finished .eyebrow,.recovery .eyebrow{justify-content:center;margin:24px 0}.finished h1,.recovery h1{font-size:34px;line-height:1.6;letter-spacing:-1px}.finished>p,.recovery>p{font-size:14px;line-height:1.9;margin:16px 0 24px}.finished .primary,.recovery .primary{margin-top:16px}.finished .text-button,.recovery .text-button{display:block;margin:12px auto}.muted{color:var(--muted)}::selection{background:var(--ink);color:var(--paper)}
@media(min-width:1600px){.hero{padding-top:80px;padding-bottom:60px}}
@media(max-width:1000px){.hero{gap:36px;grid-template-columns:1.1fr 1fr}.deck-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.backup{align-items:flex-start;flex-direction:column}.hero h1{font-size:36px}.review-panel{padding:24px}}
@media(max-width:650px){.site-header,.site-footer,main{width:calc(100% - 40px)}.site-header{height:84px}.wordmark{font-size:26px;letter-spacing:-1px}.header-right{gap:10px}.local-badge{display:none}.language{font-size:12px;padding:0 12px}.hero{display:flex;flex-direction:column;gap:28px;align-items:stretch;padding:32px 0 24px}.hero h1{font-size:35px;letter-spacing:-1.6px;line-height:1.45;margin:18px 0 14px}.hero-intro{font-size:14px}.scheduler{font-size:12px;margin-top:12px;max-width:none}.eyebrow{font-size:10px;letter-spacing:1.3px}.review-panel{padding:22px}.stats{display:flex;align-items:center;gap:24px}.stat-due{flex:1}.stat-due>span{font-size:12px}.stat-due>strong{font-size:64px;margin:4px 0 14px}.stat-due i{font-size:26px}.stat-small{border-top:0;border-left:1px solid var(--line);padding:0 0 0 20px;display:flex;flex-direction:column;gap:14px;margin-bottom:12px;min-width:110px}.stat-small>div{gap:10px}.stat-small strong{font-size:22px}.stat-small span{font-size:11px}.privacy{gap:10px;padding:16px 0}.privacy strong{font-size:11px}.privacy p{font-size:10px;line-height:1.9}.deck-section{padding:28px 0}.section-head{align-items:flex-start;gap:14px;margin-bottom:20px}.section-head h2{font-size:20px}.section-head p{font-size:11px;margin-top:6px}.section-head>.primary{padding:10px 12px;flex-shrink:0;font-size:11px;gap:5px}.section-head .primary span{font-size:17px}.deck-grid{grid-template-columns:1fr}.deck{min-height:190px;padding:20px}.deck h3{margin-top:18px}.empty{padding:30px 18px}.empty h3{font-size:18px}.empty>p{font-size:11px}.empty-card{width:60px;height:72px;font-size:25px}.backup{padding:22px 0 12px;gap:18px}.backup h2{font-size:15px}.backup p{font-size:11px}.backup .button-row{width:100%}.backup button{flex:1;font-size:12px;padding:10px}.analytics{margin-bottom:24px;font-size:10px}.site-footer{flex-wrap:wrap;gap:6px 16px;padding:16px 0 24px}.site-footer>span{font-size:10px}.site-footer>a:last-child{margin-left:auto;font-size:10px}.parent{font-size:10px}.parent img{width:24px;height:24px}dialog{padding:22px}.dialog-head h2{font-size:20px}.dialog-head{margin-bottom:16px}.deck-detail{padding-top:20px}.deck-detail h1{font-size:28px}.deck-detail .section-head{align-items:center}.deck-tools .secondary{font-size:12px;padding:10px}.card-row{gap:10px}.row-actions{flex-direction:column;gap:0}.card-text{font-size:16px}.study{padding:20px 0 36px}.study-heading>p:last-child{font-size:10px}.flashcard{padding:28px 20px;min-height:270px}.flashcard h1{font-size:26px}.flash-answer p{font-size:21px}.grades{gap:6px}.grade{min-height:86px}.grade strong{font-size:12px}.grade small{font-size:9px}.grade-key{display:none}.study-bottom>span{display:none}.study-bottom{justify-content:center}.finished,.recovery{padding:40px 0}.finished h1,.recovery h1{font-size:28px}.finished>p,.recovery>p{font-size:13px}}
@media(max-width:350px){.site-header,.site-footer,main{width:calc(100% - 32px)}.hero h1{font-size:31px}.stats{gap:16px}.stat-small{padding-left:14px;min-width:100px}.section-head{flex-wrap:wrap}.site-footer>span{margin-left:32px}.grade strong{font-size:11px}.grades{gap:4px}.wordmark{font-size:24px}.primary,.secondary{padding-inline:14px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}}

/* Free starter catalogue follows the existing Ebbinghaus palette and type. */
.starter-section{padding:40px 0 12px}.starter-deck{display:flex;flex-direction:column;min-width:0;padding:22px;border:1px solid var(--line);border-radius:6px}.starter-top{display:flex;justify-content:space-between;align-items:center;font-size:11px;color:var(--muted);gap:12px}.starter-free{color:var(--red);font-weight:700}.starter-deck h3{font-size:20px;line-height:1.6;letter-spacing:-.4px;margin:22px 0 10px}.starter-description{font-size:12px;line-height:1.8;color:var(--muted);margin-bottom:18px}.starter-credit{font-size:11px!important;line-height:1.7;color:var(--red)!important;margin-top:8px}.study-aid,.starter-personal{font-size:11px!important;line-height:1.9;color:var(--muted);margin-top:5px}.starter-load{width:100%;justify-content:space-between;margin-top:auto}.starter-deck .study-aid{margin-bottom:20px}.starter-deck .starter-credit{margin-top:auto}.starter-deck .starter-load{margin-top:0}.deck .starter-personal{display:none}.deck .study-aid{font-size:10px!important}.deck-open{margin-top:auto;padding-top:14px}.deck .study-aid{margin-bottom:20px}.deck-detail>.starter-credit{margin-top:14px}.deck-detail>.study-aid,.deck-detail>.starter-personal{max-width:80ch}@media(max-width:650px){.starter-section{padding-top:28px}.starter-deck{padding:20px}.starter-deck h3{margin-top:16px}.starter-load{font-size:13px}}
