/* Homepage-only brand foundation and reference-derived standalone artwork. */
.home-brand-logo {display:none;}
body .home-brand-logo {display:block;object-fit:contain;flex-shrink:0;}
body .brand>span,body .footer-brand>span {display:none;}
body[data-page="home"] .brand-hero {background:radial-gradient(ellipse at 78% 40%,#d4f5fc 0%,#edf6ff 40%,#f7faff 75%);min-height:510px;}
body[data-page="home"] .brand-hero .hero-art {inset:10px 4% 10px auto;width:44%;background:none;z-index:-1;display:flex;align-items:center;justify-content:center;}
body[data-page="home"] .hero-art img {width:100%;height:100%;object-fit:contain;}
body[data-page="home"] .hero-wash {display:none;}
body[data-page="home"] .hero-content {padding-top:80px;padding-bottom:70px;}
body[data-page="home"] .hero-content h1 {max-width:58%;}
body[data-page="home"] .hero-subtitle {max-width:54%;}
body[data-page="home"] .home-xiaolu-avatar {object-fit:contain;flex-shrink:0;}
@media(max-width:767px) {
 body[data-page="home"] .brand-hero {display:flex;flex-direction:column;min-height:0;}
 body[data-page="home"] .brand-hero .hero-content {padding:28px 22px 8px;order:0;}
 body[data-page="home"] .brand-hero .hero-art {position:relative;inset:auto;width:100%;height:330px;order:1;z-index:0;padding:0 24px;}
 body[data-page="home"] .hero-content h1,body[data-page="home"] .hero-subtitle {max-width:100%;}
 body[data-page="home"] .brand-hero:after {display:none;}
 body .brand .home-brand-logo {width:138px;height:46px;}
}

body .brand-header {background:var(--rr-surface);border-color:var(--rr-border);gap:20px;padding-block:16px;}
body .brand-header nav a {color:var(--rr-primary);}
body .brand-header nav a.active:after {background:linear-gradient(90deg,var(--rr-secondary),var(--rr-accent));}
body :is(.primary,.secondary) {min-height:44px;display:inline-flex;align-items:center;justify-content:center;padding:11px 24px;border-radius:28px;font-weight:650;transition:transform var(--rr-motion),box-shadow var(--rr-motion);}
body .primary {color:white;background:var(--rr-gradient);border:1px solid transparent;box-shadow:0 5px 16px rgba(59,130,246,.18);}
body .secondary {color:var(--rr-primary);background:var(--rr-surface);border:1px solid var(--rr-border);box-shadow:none;}
body :is(.primary,.secondary):hover {transform:translateY(-1px);box-shadow:var(--rr-shadow);}
body :is(a,button,input):focus-visible {outline:3px solid var(--rr-secondary);outline-offset:4px;}
body[data-page="home"] .brand-hero {height:auto;min-height:400px;}
body[data-page="home"] .hero-content {padding-block:40px;}
body[data-page="home"] .brand-hero h1 {font-size:clamp(32px,4vw,58px);line-height:1.22;letter-spacing:-.035em;max-width:740px;color:var(--rr-primary);}
body[data-page="home"] .hero-kicker {color:var(--rr-secondary);font-size:12px;letter-spacing:.12em;}
body[data-page="home"] .hero-subtitle {font-size:16px;line-height:1.8;}
body[data-page="home"] .hero-actions {gap:12px;}
body[data-page="home"] .home-grid {gap:20px;padding:0 24px;}
body .glass {border:1px solid var(--rr-border);border-radius:var(--rr-radius);box-shadow:var(--rr-shadow);}
body[data-page="home"] :is(.home-progress,.assistant-card,.recommended,.dictionary-entry,.platform-entry) {background:var(--rr-surface);padding:24px;}
body[data-page="home"] .card-heading h2 {font-size:19px;line-height:1.5;color:var(--rr-primary);}
body[data-page="home"] .card-heading {gap:12px;}
body[data-page="home"] .card-heading :is(a,button) {color:var(--rr-action-end);font-size:12px;min-height:36px;}
body[data-page="home"] .today-card {height:auto;min-height:350px;padding:24px;display:flex;flex-direction:column;}
body[data-page="home"] .today-label {background:var(--rr-gradient);box-shadow:none;}
body[data-page="home"] .today-copy {max-width:100%;}
body[data-page="home"] .today-bottom {position:static;margin-top:auto;padding-top:12px;flex-wrap:wrap;}
body[data-page="home"] .today-copy .today-example {font-size:13px;max-height:100px;}
body[data-page="home"] .home-graph {height:auto;min-height:350px;padding:20px;}
body[data-page="home"] .brand-stats {margin-top:20px;margin-bottom:24px;border:1px solid var(--rr-border);box-shadow:var(--rr-shadow);background:var(--rr-surface);}
body[data-page="home"] .brand-stat strong {font-variant-numeric:tabular-nums;}
body[data-page="home"] .assistant-prompts a {min-height:44px;align-items:center;line-height:1.6;}
body[data-page="home"] .source-note {color:var(--rr-text-secondary);line-height:1.7;}
body footer {margin-top:32px;border-color:var(--rr-border);background:var(--rr-surface);}
@media(min-width:768px) and (max-width:1279px) {
 body[data-page="home"] .home-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
 body .brand-header {gap:14px;}
}
@media(max-width:767px) {
 body .brand-header {padding:12px 16px;gap:10px;}
 body[data-page="home"] .brand-hero {min-height:550px;}
 body[data-page="home"] .hero-content {padding:28px 22px;}
 body[data-page="home"] .hero-subtitle {font-size:14px;}
 body[data-page="home"] .hero-actions a {font-size:14px;padding:11px 18px;}
 body[data-page="home"] .home-grid {display:flex;flex-direction:column;margin:0;padding:0 16px;gap:16px;}
 body[data-page="home"] .home-grid>section,body[data-page="home"] .home-grid>aside {width:100%;}
 body[data-page="home"] .home-side {display:flex;}
 body[data-page="home"] :is(.today-card,.home-progress,.assistant-card,.recommended,.dictionary-entry) {padding:20px;}
 body[data-page="home"] .home-graph {padding:16px 10px;}
 body[data-page="home"] .brand-stats {margin:16px;}
 body[data-page="home"] .card-heading h2 {font-size:17px;}
 body[data-page="home"] .recommend-grid {grid-template-columns:repeat(2,minmax(0,1fr));}
}
@media(prefers-reduced-motion:reduce) {
 body :is(.primary,.secondary) {transition:none;transform:none;}
}
body[data-page="home"] .brand-hero {min-height:510px;}
body[data-page="home"] .hero-content {padding-top:80px;padding-bottom:70px;}
@media(max-width:767px) {
 body[data-page="home"] .brand-hero {min-height:0;}
 body[data-page="home"] .brand-hero .hero-content {padding:28px 22px 8px;}
}
/* V2.1: full-width discovery and companion rows; shared graph remains unchanged. */
body[data-page="home"] .home-grid {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;}
body[data-page="home"] .home-grid>.today-card {order:1;}
body[data-page="home"] .home-grid>.dictionary-entry {order:2;}
body[data-page="home"] .home-grid>.home-graph {order:3;}
body[data-page="home"] .home-grid>.home-progress {order:4;}
body[data-page="home"] .home-grid>.recommended {order:5;grid-column:1/-1;grid-row:auto;height:fit-content;}
body[data-page="home"] .home-grid>.home-side {order:6;grid-column:1/-1;grid-row:auto;display:block;height:fit-content;}
body[data-page="home"] .assistant-card {height:fit-content;display:grid;grid-template-columns:minmax(250px,.8fr) minmax(0,1.2fr);gap:10px 32px;align-items:start;}
body[data-page="home"] .assistant-title {grid-column:1;grid-row:1/4;display:flex;align-items:center;gap:16px;padding:0;min-width:0;}
body[data-page="home"] .assistant-title h2 {font-size:21px;line-height:1.5;word-break:normal;}
body[data-page="home"] .assistant-question-label {grid-column:2;margin:0;font-weight:600;}
body[data-page="home"] .assistant-prompts {grid-column:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
body[data-page="home"] .assistant-prompts a {padding:12px;border:1px solid var(--rr-border);border-radius:12px;margin:0;display:flex;justify-content:space-between;gap:8px;}
body[data-page="home"] .assistant-card>small {grid-column:2;color:var(--rr-text-secondary);line-height:1.7;}
body[data-page="home"] .xiaolu-introduction {order:7;grid-column:1/-1;display:flex;align-items:center;gap:28px;padding:28px 24px;border-top:1px solid var(--rr-border);}
body[data-page="home"] .xiaolu-introduction img {object-fit:contain;flex-shrink:0;}
body[data-page="home"] .xiaolu-introduction h2 {font-size:23px;margin:6px 0 12px;}
body[data-page="home"] .xiaolu-introduction p {line-height:1.8;margin:8px 0;}
body[data-page="home"] .xiaolu-introduction small {display:block;color:var(--rr-text-secondary);line-height:1.7;margin-top:12px;}
body[data-page="home"] .xiaolu-capabilities {display:flex;flex-wrap:wrap;gap:10px;}
body[data-page="home"] .xiaolu-capabilities span {font-size:13px;padding:5px 12px;border-radius:20px;background:var(--rr-surface);color:var(--rr-primary);border:1px solid var(--rr-border);}
body[data-page="home"] .home-grid>.platform-entry-grid {order:8;grid-column:1/-1;grid-row:auto;}
body[data-page="home"] .xiaolu-hero-label {position:absolute;right:6%;bottom:18px;text-align:right;color:var(--rr-primary);font-size:13px;}
body[data-page="home"] .xiaolu-hero-label strong,body[data-page="home"] .xiaolu-hero-label span {display:block;}
body[data-page="home"] .xiaolu-hero-label span {font-size:11px;color:var(--rr-text-secondary);margin-top:4px;}
@media(max-width:767px) {
 body[data-page="home"] .home-grid {display:flex;flex-direction:column;}
 body[data-page="home"] .assistant-card {display:block;padding:20px;}
 body[data-page="home"] .assistant-title h2 {font-size:19px;}
 body[data-page="home"] .assistant-title {margin-bottom:16px;}
 body[data-page="home"] .assistant-question-label {margin-bottom:10px;}
 body[data-page="home"] .assistant-prompts {grid-template-columns:repeat(2,minmax(0,1fr));margin-bottom:12px;}
 body[data-page="home"] .assistant-prompts a {font-size:13px;line-height:1.7;}
 body[data-page="home"] .xiaolu-introduction {align-items:flex-start;padding:24px 4px;gap:14px;}
 body[data-page="home"] .xiaolu-introduction img {width:64px;height:70px;}
 body[data-page="home"] .xiaolu-introduction .eyebrow {font-size:9px;letter-spacing:.08em;}
 body[data-page="home"] .xiaolu-hero-label {position:static;order:2;text-align:center;padding:0 16px 20px;}
}
