.home { display: flex; flex-direction: column; gap: 36px; }
.me { background: var(--bg); padding-left: 6px; }
.strong { font-weight: 800; font-size: 16px; }

.welcome { display: flex; flex-wrap: wrap; align-items: center; gap: 28px 40px; }
.greet { flex: 1 1 420px; min-width: 0; display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px; }
.greet img { display: block; width: 300px; max-width: 100%; height: auto; }
.bubble {
  position: relative; flex: 1 1 200px; margin-bottom: 110px; background: #fff; border-radius: 22px; padding: 18px 22px;
  box-shadow: 0 10px 24px rgba(20, 33, 61, 0.08); font: 700 22px/1.25 'Bricolage Grotesque', sans-serif; animation-delay: 120ms;
}
.bubble::before { content: ''; position: absolute; left: -9px; bottom: 26px; width: 20px; height: 20px; background: #fff; transform: rotate(45deg); border-radius: 3px; }

.continue { flex: 1 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 18px; animation-delay: 180ms; }
.continue h1 { font-size: 36px; margin-top: 2px; }
.tag { align-self: flex-start; padding: 6px 12px; border-radius: 999px; background: #EAF2FF; color: var(--blue-ink); font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.keys { display: flex; flex-wrap: wrap; gap: 8px; min-height: 0; }
.keys span { display: inline-flex; align-items: center; justify-content: center; min-width: 50px; height: 50px; padding: 0 10px; border-radius: 13px; background: var(--blue); box-shadow: 0 5px 0 var(--blue-d); font: 800 24px 'Bricolage Grotesque', sans-serif; }
.keys span.hi { background: var(--yellow); box-shadow: 0 5px 0 var(--yellow-d); }
.prog { display: flex; flex-direction: column; gap: 6px; }
.prog-row { display: flex; justify-content: space-between; font-size: 15px; font-weight: 700; }
.track { height: 14px; border-radius: 999px; background: #EEF1F7; overflow: hidden; }
.track div { height: 14px; border-radius: 999px; background: #3B6FD8; width: 0; transition: width 600ms var(--ease); }
.continue .btn { align-self: flex-start; }

.goal { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px; padding: 24px 28px; animation-delay: 220ms; }
.goal-l { display: flex; align-items: center; gap: 16px; }
.goal h2 { font-size: 24px; }
.goal-dots { list-style: none; margin: 0; padding: 0; display: flex; gap: 10px; }
.goal-dots li { display: inline-flex; align-items: center; justify-content: center; width: 52px; height: 52px; border-radius: 50%; border: 3px dashed #9AA8C4; font: 800 20px 'Bricolage Grotesque', sans-serif; color: var(--muted); }
.goal-dots li.done { background: #2E9A55; border: 0; }

.subjects { display: flex; flex-direction: column; gap: 20px; }
.subjects h2 { font-size: 32px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 22px; }
.tile { display: flex; flex-direction: column; gap: 14px; padding: 26px; border-radius: 28px; text-decoration: none; color: var(--navy); transition: transform 120ms var(--ease); }
.tile:active { transform: translateY(6px); }
.tile .ic { display: inline-flex; align-items: center; justify-content: center; width: 64px; height: 64px; border-radius: 18px; background: #fff; }
.tile .nm { font: 800 30px/1.05 'Bricolage Grotesque', sans-serif; letter-spacing: -0.02em; }
.tile .lv { display: flex; justify-content: space-between; align-items: center; font-weight: 800; font-size: 16px; }
.tile.soon { opacity: .75; }
.tile.soon .lv span:first-child { background: rgba(255,255,255,.7); padding: 2px 10px; border-radius: 999px; }
@media (hover: hover) and (pointer: fine) { .tile:hover { transform: translateY(-3px); } }

.badges-card { display: flex; flex-direction: column; gap: 18px; }
.badges-card h2 { font-size: 24px; }
.badges { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 14px; }
.badges li { display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; font-size: 14px; font-weight: 800; }
.badges .b { display: inline-flex; align-items: center; justify-content: center; width: 68px; height: 68px; border-radius: 50%; }
.badges li.off { color: var(--muted); }
.badges li.off .b { border: 3px dashed #B8C3D9; background: #F6F8FC; }
