/* Talnaheimur 1.3 · Lifandi forsíða */
#main.home-view{padding-top:26px}
.home-view{--home-ink:#243852;--home-muted:#526077}
.home-hero{display:grid;grid-template-columns:1.08fr 1fr;align-items:center;gap:6px;background:#fff9eb;border:1px solid #e9dfc9;border-radius:32px;padding:36px 30px 32px 46px;overflow:hidden;color:var(--home-ink)}
.home-hero-copy{position:relative;z-index:1;min-width:0}
.home-kicker{display:flex;align-items:center;gap:9px;font-size:.8rem;font-weight:800;letter-spacing:.025em;color:#63543a;margin-bottom:24px}
.home-kicker>span{width:8px;height:8px;border-radius:50%;background:#578463}
.home-hero h1{font-size:clamp(2.6rem,4.1vw,3.65rem);font-weight:900;letter-spacing:-.055em;line-height:1.09;margin-bottom:23px}
.home-hero h1 span{color:#345abb}
.home-hero p{font-size:1.07rem;line-height:1.75;color:var(--home-muted);margin:0 0 26px}
.home-hero-actions{display:flex;align-items:center;gap:17px;flex-wrap:wrap}
.home-hero-actions .btn{min-height:54px;padding:13px 21px;border-radius:14px;font-size:.97rem;gap:18px}
.home-hero-link{font-size:.9rem;color:var(--home-ink);font-weight:800;padding:12px 0;border-bottom:1px solid #b9ac93}
.home-hero-link:hover{color:var(--blue);border-bottom-color:var(--blue)}
.home-small-promise{font-size:.76rem;color:#655b47;display:flex;align-items:center;gap:9px;margin-top:29px}
.home-small-promise>span{color:#a46b22;font-size:1.15rem}
.home-hero-visual{min-width:0;display:flex;flex-direction:column;align-items:center;align-self:stretch;justify-content:center}
.number-stage{width:100%;max-width:570px;line-height:0}
.number-art{display:block;width:100%;height:auto;overflow:visible}
.number-float{animation:number-bob 8s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
.number-three{animation-delay:-3s;animation-duration:9s}
.number-five{animation-delay:-5s;animation-duration:10s}
.number-eight{animation-delay:-2s;animation-duration:7s}
.number-seven{animation-delay:-4s;animation-duration:8.5s}
.number-orbit{animation:number-sway 11s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
.orbit-two{animation-delay:-5s;animation-duration:13s}
.number-stage.is-paused *{animation-play-state:paused!important}
.home-motion-button{display:inline-flex;align-items:center;gap:8px;background:#fffcf5;border:1px solid #d9cdb7;color:#60543f;min-height:44px;padding:8px 14px;border-radius:24px;font-size:.72rem;margin-top:6px}
.home-motion-button:hover{background:#f6ecd6}
.home-motion-button:disabled{opacity:1;color:#716850;background:transparent}
.home-welcome-strip{display:flex;gap:22px;align-items:center;justify-content:space-between;padding:22px 9px;border-bottom:1px solid var(--line)}
.home-welcome-strip>div{display:flex;align-items:center;gap:11px;min-width:0}
.welcome-avatar{display:grid;place-items:center;flex:0 0 39px;height:39px;border-radius:14px;background:#e8ecff;color:#345abb;font-weight:800}
.home-welcome-strip b{display:block;font-size:.88rem;color:var(--home-ink)}
.home-welcome-strip small{display:block;font-size:.76rem;color:var(--home-muted);overflow-wrap:anywhere}
.home-first-step{font-size:.79rem;color:var(--home-muted)}
.home-resume{font-size:.73rem;color:var(--home-muted);border-left:2px solid #cdd8f4;padding-left:16px;max-width:42%}
.home-resume:hover b{color:var(--blue)}
.home-workbook-link{font-size:.8rem;font-weight:800;white-space:nowrap;padding:12px 0}
.home-worlds{margin:39px 0 44px}
.home-section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:20px}
.home-section-heading .eyebrow{display:block;font-size:.68rem;letter-spacing:.12em;color:var(--home-muted);margin-bottom:7px}
.home-section-heading h2{font-size:1.8rem;letter-spacing:-.04em;color:var(--home-ink);margin:0;line-height:1.2}
.home-workspace-link{font-size:.8rem;font-weight:800;padding:12px 0}
.home-world-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:17px}
.home-world-card{--world-bg:#e8efdf;--world-color:#3c5e39;display:flex;flex-direction:column;background:var(--world-bg);border:1px solid #0000000a;border-radius:22px;color:var(--home-ink);overflow:hidden;transition:transform .18s,box-shadow .18s}
.home-world-card:hover{transform:translateY(-4px);box-shadow:0 10px 22px #20387516}
.world-machine{--world-bg:#eee7f8;--world-color:#684787}
.world-town{--world-bg:#e5edf9;--world-color:#36558d}
.world-detective{--world-bg:#f8ebd3;--world-color:#785b29}
.home-world-art{height:143px;display:flex;align-items:center;justify-content:center;padding:15px 19px 3px;pointer-events:none}
.home-world-art>svg{display:block;width:100%;height:100%;max-width:250px}
.home-world-art .route-town-art{display:flex;align-items:end;justify-content:center;width:100%;height:100%;padding:7px}
.route-town-art svg{width:35%;height:100%;min-width:0}
.route-town-art svg:first-child{width:28%;height:85%}
.route-town-art svg:last-child{width:33%;height:82%;margin-left:-4px}
.home-world-copy{display:flex;flex-direction:column;flex:1;padding:16px 21px 21px}
.home-world-copy h3{font-size:1.05rem;line-height:1.25;letter-spacing:-.035em;margin-bottom:8px}
.home-world-copy p{font-size:.81rem;line-height:1.6;color:#4e5868;margin:0 0 18px}
.home-world-copy>span{display:flex;align-items:center;justify-content:space-between;gap:9px;font-size:.8rem;font-weight:800;color:var(--world-color);margin-top:auto}
.home-world-copy>span b{display:grid;place-items:center;border-radius:50%;width:29px;height:29px;flex-shrink:0;background:#ffffff9e;font-size:1rem}
.home-catalog{padding-top:12px;scroll-margin-top:24px}
.home-catalog:focus-visible{outline:3px solid #d59b37;outline-offset:9px;border-radius:12px}
.home-catalog .catalog-intro{max-width:650px;color:var(--home-muted);font-size:.9rem;margin-top:-8px}
.home-view .grade-picker{margin:22px 0 18px}
.home-view .catalog-toolbar{background:#fff;border:1px solid var(--line);border-radius:17px;padding:16px 18px;margin-bottom:25px}
.home-view .home-aside .aside-card:not(.highlight){background:#edf1f7;border-color:#dce3ee}
.home-view .aside-card.highlight{background:#294768;border-color:#294768}
.home-view .aside-card.highlight .eyebrow{color:#d6e5f1}
.home-view .aside-card.highlight .btn{color:#294768}
@keyframes number-bob{0%,100%{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-12px) rotate(2deg)}}
@keyframes number-sway{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(2deg)}}
@media(max-width:1050px){.home-hero{padding:32px 24px 30px 32px;grid-template-columns:1.08fr 1fr}.home-hero h1{font-size:3rem}.home-hero-actions{gap:12px}.home-hero-actions .btn{font-size:.88rem;padding:12px 17px}.home-hero-link{font-size:.82rem}.home-world-grid{gap:12px}.home-world-copy{padding:12px 16px 18px}.home-world-copy h3{font-size:1rem}.home-world-art{height:125px;padding:12px 10px 0}.home-first-step{max-width:35%}}
@media(max-width:800px){.home-hero{grid-template-columns:1.05fr 1fr;padding:28px 20px 27px 27px;border-radius:25px}.home-hero h1{font-size:2.5rem}.home-kicker{font-size:.7rem;margin-bottom:17px}.home-hero p{font-size:.94rem;margin-bottom:20px}.home-small-promise{font-size:.7rem;max-width:235px;margin-top:19px}.home-hero-actions{gap:9px}.home-hero-link{padding:9px 0}.home-motion-button{font-size:.67rem;padding:8px 11px}.home-world-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.home-world-art{height:148px;padding:13px 30px 0}.home-world-copy{padding:15px 22px 20px}.home-world-copy h3{font-size:1.14rem}.home-world-copy p{font-size:.86rem}.home-first-step{display:none}.home-welcome-strip{gap:15px}.home-resume{max-width:40%}.home-workbook-link{font-size:.73rem}.home-section-heading h2{font-size:1.65rem}}
@media(max-width:600px){.home-hero{grid-template-columns:1fr;gap:2px;padding:28px 25px 20px}.home-hero h1{font-size:clamp(2.3rem,8.8vw,3.1rem);max-width:410px;margin-bottom:18px}.home-hero h1 span{display:block;max-width:360px}.home-hero p{font-size:.97rem;line-height:1.6;margin-bottom:20px}.home-hero-visual{width:100%;max-width:380px;justify-self:center;margin-top:3px}.home-small-promise{max-width:none;font-size:.71rem;margin-top:18px}.home-kicker{font-size:.75rem}.home-hero-actions{gap:12px}.home-hero-actions .btn{min-height:48px}.home-hero-link{font-size:.82rem}.number-stage{max-width:320px}.home-motion-button{margin-top:-3px}.home-welcome-strip{align-items:start;flex-wrap:wrap;padding:20px 3px;gap:13px}.home-welcome-strip>div{flex:1}.home-workbook-link{font-size:.74rem}.home-resume{order:3;max-width:100%;width:100%;padding:9px 13px;border:0;border-radius:12px;background:#e8eef9}.home-worlds{margin:30px 0 35px}.home-section-heading{align-items:start;flex-direction:column;gap:7px;margin-bottom:17px}.home-section-heading h2{font-size:1.65rem}.home-workspace-link{padding:5px 0}.home-world-grid{gap:12px}.home-world-art{height:110px;padding:10px 10px 0}.home-world-copy{padding:10px 14px 16px}.home-world-copy h3{font-size:1rem}.home-world-copy p{font-size:.78rem;margin-bottom:12px}.home-world-copy>span{font-size:.75rem;gap:3px}.home-world-copy>span b{width:24px;height:24px}.home-world-card{border-radius:18px}.home-view .catalog-toolbar{padding:15px}.home-catalog .catalog-intro{font-size:.85rem;margin-top:0}.home-catalog{padding-top:0}}
@media(max-width:360px){.home-hero{padding:25px 19px 18px}.home-hero-actions{gap:9px}.home-world-grid{grid-template-columns:1fr}.home-world-card{display:grid;grid-template-columns:108px 1fr}.home-world-art{height:130px;align-self:center;padding:10px 4px}.home-world-copy{padding:18px 14px 18px 6px}.home-world-copy p{margin-bottom:10px}.home-world-copy>span{justify-content:start;gap:12px}}
.large-text .home-world-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
@media(max-width:700px){.large-text .home-hero{grid-template-columns:1fr}.large-text .home-hero-visual{max-width:380px;justify-self:center}.large-text .home-welcome-strip{flex-wrap:wrap}.large-text .home-resume{max-width:100%}}
@media(max-width:440px){.large-text .home-world-grid{grid-template-columns:1fr}.large-text .home-hero h1{font-size:2.1rem}.large-text .home-world-art{height:140px}.large-text .home-world-card{display:flex}.large-text .home-world-copy{padding:15px 20px}}
@media(prefers-reduced-motion:reduce){.number-stage *{animation:none!important}.home-world-card:hover{transform:none}}
.quiet .home-world-card:hover{transform:none}
