/* Home has one reading order: create, practice, discover. */
.app-shell:has([data-active-view="home"]) { grid-template-columns: 232px minmax(0, 1fr); max-width: 1440px; }
.app-shell:has([data-active-view="home"]) .right-rail { display: none; }
[data-active-view="home"] { max-width: 1140px; width: 100%; margin-inline: auto; display: flex; flex-direction: column; gap: 24px; padding: 24px 32px 48px; }
[data-active-view="home"] > * { margin-block: 0; }
.home-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.home-heading .eyebrow { margin: 0 0 7px; color: var(--text-muted); }
.home-heading h2 { margin: 0; font-size: clamp(23px, 2.5vw, 30px); letter-spacing: -.04em; }
.home-help { width: 44px; height: 44px; border: 1px solid var(--border); background: var(--surface); border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
[data-active-view="home"] .feed-tabs { order: -1; position: static; margin: 0; width: 100%; }
[data-active-view="home"] .welcome-card { display: grid; grid-template-columns: 1.1fr 1fr; gap: 24px; min-height: 300px; padding: 30px; border-radius: 24px; background: linear-gradient(120deg, #242039, #181624 60%); }
[data-active-view="home"] .welcome-card__copy { padding: 0; align-self: center; min-width: 0; }
[data-active-view="home"] .welcome-card h1 { font-size: clamp(32px, 3.5vw, 48px); line-height: 1.04; max-width: 12ch; margin: 14px 0; }
[data-active-view="home"] .welcome-card__lead { font-size: 15px; max-width: 33ch; margin: 0 0 24px; }
[data-active-view="home"] .welcome-card .eyebrow { display: none; }
[data-active-view="home"] .welcome-card .trust-list { margin-top: 18px; gap: 12px; }
[data-active-view="home"] .trust-list li { border: 0; padding: 0; background: none; font-size: 12px; }
.home-hero-art { position: relative; display: block; align-self: stretch; border-radius: 18px; overflow: hidden; min-height: 250px; }
.home-hero-art img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.home-hero-art > span { position: absolute; inset: auto 12px 12px; padding: 12px 14px; background: #12121ddc; color: #fff; border: 1px solid #ffffff20; border-radius: 12px; font-size: 13px; display: flex; justify-content: space-between; }
.home-section-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin: 6px 0 14px; }
.home-section-heading h2 { font-size: 18px; letter-spacing: -.03em; margin: 0; }
.home-section-heading a { color: var(--text-muted); font-size: 13px; white-space: nowrap; }
.home-tools__grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; }
.home-tool { padding: 20px; display: grid; gap: 10px; position: relative; background: var(--surface); border: 1px solid var(--border); border-radius: 18px; transition: border-color .15s, transform .15s; color: inherit; text-decoration: none; }
.home-tool:hover { border-color: #8970ff; transform: translateY(-3px); }
.home-tool__icon { width: 44px; height: 44px; display: grid; place-items: center; background: #8670ff20; border-radius: 13px; margin-bottom: 4px; }
.home-tool strong { font-size: 15px; }
.home-tool small { font-size: 12px; color: var(--text-muted); line-height: 1.45; }
.home-tool__arrow { position: absolute; top: 22px; right: 20px; color: var(--text-muted); }
[data-active-view="home"] .home-dashboard { grid-template-columns: 1.25fr 1fr; gap: 16px; }
[data-active-view="home"] .mission-card { min-height: 250px; grid-template-columns: minmax(0,1fr) 37%; }
[data-active-view="home"] .mission-card__content { padding: 24px; }
[data-active-view="home"] .mission-card h2 { font-size: clamp(23px,2.4vw,32px); max-width: 13ch; }
[data-active-view="home"] .mission-card__content > p:not(.eyebrow) { font-size: 13px; }
[data-active-view="home"] .quest-board { padding: 20px; }
[data-active-view="home"] .quest-item { min-height: 54px; padding: 8px 12px; }
[data-active-view="home"] .about-section__lead { grid-template-columns: 1fr; }
[data-active-view="home"] .about-section__image { display: none; }
[data-active-view="home"] .about-section__copy { padding: 24px 24px 0; }
[data-active-view="home"] .about-section h2 { font-size: 24px; max-width: none; }
[data-active-view="home"] .about-grid { padding: 20px 24px; }
[data-active-view="home"] .about-card { background: none; border: 0; padding: 0; }
[data-theme="light"] [data-active-view="home"] .welcome-card { background: linear-gradient(120deg,#f1ebff,#fff); }
@media(max-width:1100px) { .app-shell:has([data-active-view="home"]) { grid-template-columns: 205px minmax(0,1fr); } [data-active-view="home"] { padding: 24px; } [data-active-view="home"] .welcome-card { padding: 24px; gap: 18px; } .home-tools__grid { gap: 10px; } .home-tool { padding: 16px; } }
@media(max-width:900px) { [data-active-view="home"] .home-dashboard { grid-template-columns: 1fr; } [data-active-view="home"] .quest-board { display: none; } }
@media(max-width:720px) { .app-shell:has([data-active-view="home"]) { display: block; } [data-active-view="home"] { padding: 18px 16px 100px; gap: 22px; } [data-active-view="home"] .feed-tabs { display: none; } .home-heading .eyebrow { font-size: 10px; } [data-active-view="home"] .welcome-card { grid-template-columns: 1fr; padding: 22px; min-height: auto; } [data-active-view="home"] .welcome-card h1 { font-size: 38px; max-width: 12ch; } .home-hero-art { display: none; } [data-active-view="home"] .welcome-card .button-row { display: flex; flex-direction: column; gap: 8px; } .home-tools__grid { grid-template-columns: 1fr; } .home-tool { grid-template-columns: 44px 1fr 20px; column-gap: 14px; row-gap: 5px; align-items: center; padding: 16px; } .home-tool__icon { grid-row: span 2; margin: 0; } .home-tool strong { grid-column: 2; } .home-tool small { grid-column: 2; } .home-tool__arrow { position: static; grid-column: 3; grid-row: 1 / 3; } [data-active-view="home"] .mission-card { display: grid; grid-template-columns: minmax(0,1fr) 32%; min-height: auto; } [data-active-view="home"] .mission-card__media { grid-column: 2; grid-row: 1; min-height: 100%; padding: 0; } [data-active-view="home"] .mission-card__content { grid-column: 1; grid-row: 1; padding: 20px; } [data-active-view="home"] .mission-card h2 { font-size: 26px; } [data-active-view="home"] .about-grid { grid-template-columns: 1fr; gap: 16px; } }
@media(prefers-reduced-motion:reduce) { .home-tool { transition: none; } }
