/* Accueil (app.learnenglishfast.online/) on the v3 kit. Loaded AFTER /kit/lefo-kit.css.
   Layout for this page only. Colours come from kit variables, never raw hex. */
html{-webkit-text-size-adjust:100%}
body.lefo{margin:0;overflow-x:hidden}
.hidden{display:none!important}

/* One narrow column, orange glow behind the greeting */
.wrap{position:relative;overflow:hidden;max-width:560px;margin:0 auto;padding:calc(env(safe-area-inset-top) + 12px) var(--lefo-gutter) 24px}
.wrap>*:not(.lefo-glow){position:relative;z-index:1}
.top{display:flex;align-items:center;min-height:44px}
.brand{font-family:var(--lefo-font-head);font-weight:800;font-size:20px;line-height:28px;letter-spacing:-.02em;color:var(--lefo-ink)}
.page-title{font-size:32px;line-height:40px}
.greet{margin:1.5rem 0}
.greet p{margin-top:.5rem}
.wrap .lefo-card{padding:1.5rem;margin:0 0 1rem}
.wrap .lefo-card .lefo-body,.wrap .lefo-card .lefo-small{margin-top:.25rem}
.card-actions{margin-top:1rem}
.card-next .lefo-h3{margin-top:.75rem}
.tests-list{display:flex;flex-direction:column;gap:.75rem;margin-top:1rem}
.signin-more{margin-top:.75rem}
.note{text-align:center;margin:1rem 0}

/* HTML written by app.js (install steps card) */
#install h2{margin:0;font:600 20px/28px var(--lefo-font-head);letter-spacing:-.01em;color:var(--lefo-ink)}
#install p,#gate-fallback p{margin:.5rem 0 0;color:var(--lefo-muted)}
#install ol.steps,#gate-fallback ol.steps{margin:.75rem 0 0;padding-left:1.25rem;color:var(--lefo-muted)}
#install ol.steps li,#gate-fallback ol.steps li{margin:.375rem 0}
#install strong,#gate-fallback strong{color:var(--lefo-ink)}
.share{display:inline-block;width:18px;height:18px;vertical-align:-3px}
#install .btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:1rem;padding:.75rem 2rem;border:0;border-radius:var(--lefo-radius-pill);background:var(--lefo-accent);color:var(--lefo-on-accent);font:600 14px/20px var(--lefo-font-body);letter-spacing:.01em;cursor:pointer;box-shadow:var(--lefo-shadow-lift)}
#install .btn:active{transform:scale(.98)}
#install .textlink,#gate-fallback .textlink{color:var(--lefo-accent-text);font-weight:600;text-decoration:none}

/* Install-first screen (phones/tablets in a browser tab). Hidden everywhere else. */
#install-gate{display:none}
html.gate #install-gate{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.5rem;text-align:center;
  min-height:100vh;min-height:100dvh;max-width:420px;margin:0 auto;padding:calc(env(safe-area-inset-top) + 24px) var(--lefo-gutter) calc(env(safe-area-inset-bottom) + 24px)}
html.gate .wrap,html.gate .lefo-nav{display:none!important}
html.gate body{padding-bottom:0!important}
#install-gate p{margin:.75rem 0 0;color:var(--lefo-muted)}
.gate-list{margin:1.5rem auto 2rem;text-align:left;display:inline-flex}
#gate-fallback{margin:1.25rem 0 0;text-align:left}
.gate-skip{display:inline-flex;align-items:center;min-height:44px;margin-top:.5rem;color:var(--lefo-muted);font-size:14px;line-height:20px;text-decoration:underline}

/* ---- Mon LEFO (/my-lefo/) ---- */
.wrap .stats{margin-top:1rem}
.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:.75rem}
.stat{display:flex;flex-direction:column;gap:.125rem;padding:.75rem;border-radius:var(--lefo-radius);background:var(--lefo-tile)}
.stat__n{font:800 24px/32px var(--lefo-font-head);letter-spacing:-.02em;color:var(--lefo-accent-text)}
.stat__l{font-size:12px;line-height:16px;color:var(--lefo-muted)}
.list{margin:.5rem 0 .25rem}
.list-row{display:flex;align-items:center;justify-content:space-between;gap:.75rem;min-height:44px;color:var(--lefo-ink);text-decoration:none;font-size:14px;line-height:20px;font-weight:600;border-bottom:1px solid rgb(var(--c-outline-variant) / .4)}
.list-row:last-child{border-bottom:0}
.list-row .lefo-icon{font-size:20px}
.account dl{margin:.75rem 0 0;display:grid;grid-template-columns:auto 1fr;gap:.5rem 1rem;font-size:14px;line-height:20px}
.account dt{color:var(--lefo-muted)}
.account dd{margin:0;font-weight:600;text-align:right;overflow-wrap:anywhere}
.account .lefo-btn{margin-top:1.25rem}
#notif h2{margin:0;font:600 20px/28px var(--lefo-font-head);letter-spacing:-.01em;color:var(--lefo-ink)}
#notif p{margin:.5rem 0 0;color:var(--lefo-muted)}
#notif .lefo-btn{margin-top:1rem}

/* ---- Feedback (/feedback.html) ---- */
.fb-page{padding-bottom:calc(env(safe-area-inset-bottom) + 96px)}
.fb-field{margin:1.75rem 0 0}
.fb-label{display:block;margin:0 0 .25rem;font:600 17px/24px var(--lefo-font-head);letter-spacing:-.01em;color:var(--lefo-ink)}
.fb-hint{margin:0 0 .75rem;font-size:14px;line-height:20px;color:var(--lefo-muted)}
.stars{display:flex;justify-content:space-between;gap:.5rem;margin-top:.75rem}
.star{flex:1;display:flex;align-items:center;justify-content:center;min-height:56px;padding:0;border:0;border-radius:var(--lefo-radius);background:var(--lefo-tile);cursor:pointer;transition:transform .2s,background-color .2s}
.star:active{transform:scale(.95)}
.star .lefo-icon{font-size:28px;color:var(--lefo-muted)}
.star.on{background:var(--lefo-accent-soft)}
.star.on .lefo-icon{color:var(--lefo-accent);font-variation-settings:'FILL' 1}
.stars-cap{min-height:1.5em;margin:.625rem 0 0;text-align:center;font-size:14px;line-height:20px;font-weight:600;color:var(--lefo-accent-text)}
textarea.lefo-input{display:block;min-height:104px;resize:vertical;line-height:24px}
textarea.lefo-input::placeholder{color:var(--lefo-muted)}
.steps5{display:grid;grid-template-columns:repeat(5,1fr);gap:.5rem}
.step5{min-height:48px;border:0;border-radius:var(--lefo-radius);background:var(--lefo-tile);color:var(--lefo-muted);font:600 14px/20px var(--lefo-font-body);cursor:pointer;transition:transform .2s,background-color .2s}
.step5:active{transform:scale(.95)}
.step5.on{background:var(--lefo-accent);color:var(--lefo-on-accent)}
.ends{display:flex;justify-content:space-between;gap:.75rem;margin-top:.5rem;font-size:12px;line-height:16px;color:var(--lefo-muted)}
.fb-err{margin:1rem 0 0;padding:.75rem 1rem;border-radius:var(--lefo-radius);background:var(--lefo-tile);color:var(--lefo-error);font-size:14px;line-height:20px}
.fb-submit{width:100%;margin-top:1.75rem}
.state{text-align:center}
.state .lefo-badge{margin:0 auto 1rem;width:3.5rem;height:3.5rem}
.state .lefo-h3{margin:0}
.state .lefo-body{margin-top:.5rem}
.state .lefo-link{display:inline-flex;align-items:center;min-height:44px;margin-top:.75rem}
.lefo-link.tall{display:inline-flex;align-items:center;min-height:44px}
