:root{
  --bg: #ffffff;     
  --panel: #f9f9f9;    
  --panel-2: #f3f3f3;
  --text: #111111;    
  --muted: #555555;    
  --accent: #10a37f;  
  --accent-2: #17b897;
  --border: #e0e0e0;
  --card: #ffffff;
  --shadow: 0 4px 12px rgba(0,0,0,0.08);
  --radius: 16px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color: var(--text);
  background: radial-gradient(1200px 600px at 20% -20%, rgba(16,163,127,0.14), transparent 40%),
              radial-gradient(900px 400px at 120% -30%, rgba(104,214,187,0.18), transparent 40%),
              var(--bg);
  line-height: 1.6;
}

a{ color: var(--accent); text-decoration: none; }
a:hover{ text-decoration: underline; }

.container{
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header{
  position: sticky;
  top: 0;
  backdrop-filter: saturate(180%) blur(12px);
  background: #c1e8d0;
  border-bottom: 1px solid var(--border);
  z-index: 40;
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  height: 64px;
}
.brand{ display:flex; align-items:center; gap:12px; }
.brand-mark{
  width:28px; height:28px; display:grid; place-items:center;
  border-radius:8px; background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color:white; font-weight:700; box-shadow: var(--shadow);
}
.brand-text{ display:flex; flex-direction:column; }
.brand-title{ font-weight:700; letter-spacing:0.2px; }
.brand-subtle{ color: var(--muted); font-size: 12px; }

.site-nav a{
  margin-left: 16px; color: var(--text);
  padding: 6px 10px; border-radius: 10px;
}
.site-nav a:hover{ background: var(--panel); text-decoration:none; }

/* Hero */
.hero{
  padding: 64px 0 32px;
  background: linear-gradient(180deg, rgba(16,163,127,0.08), transparent);
  border-bottom:1px solid var(--border);
}
.hero-inner{
  display:grid; grid-template-columns: 1.2fr 0.9fr; gap: 32px; align-items:center;
}
.hero h1{ font-size: clamp(32px, 6vw, 56px); margin: 0 0 8px; line-height:1.1; }
.hero .lead{ color: var(--muted); font-size: 18px; margin: 0 0 20px; }
.badges{ display:flex; gap:12px; flex-wrap:wrap; }
.badge{
  background: var(--panel);
  border:1px solid var(--border);
  padding: 6px 10px; border-radius: 999px; font-size: 13px; color: var(--muted);
}
.cta{ display:flex; gap:12px; margin-top: 18px; }
.button{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 10px 14px; border-radius: 12px; font-weight:600;
  background: var(--accent); color: #0b0e11; border: 0;
  box-shadow: var(--shadow);
}
.button.secondary{
  background: transparent; color: var(--text);
  border: 1px solid var(--border);
}
.mock-card{
  border:1px solid var(--border); border-radius: var(--radius);
  background: radial-gradient(600px 300px at 80% -10%, rgba(16,163,127,0.12), transparent 50%), var(--panel-2);
  padding: 20px; box-shadow: var(--shadow);
}

/* Sections */
.section{ padding: 56px 0; }
.section h2{ font-size: 28px; margin: 0 0 12px; }
.section .sub{ color: var(--muted); margin: 0 0 24px; }

.cards{ display:grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.card{
  grid-column: span 6;
  background: var(--panel);
  border:1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  box-shadow: var(--shadow);
}
.card.full{ grid-column: 1 / -1; }
.card h3{ margin: 0 0 8px; font-size: 18px; }
.meta{ color: var(--muted); font-size: 14px; }

.kicker{ text-transform: uppercase; letter-spacing:1.2px; color: var(--accent); font-weight:700; font-size: 12px; }

.list{ margin: 0; padding-left: 18px; }
.list li{ margin: 8px 0; }

blockquote{
  margin: 0; padding: 16px 18px;
  border-left: 3px solid var(--accent);
  background: var(--panel);
  border-radius: 0 12px 12px 0;
}

/* Footer */
.site-footer{
  border-top:1px solid var(--border);
  background: #DCF2E4;
}
.footer-inner{
  display:flex; align-items:center; justify-content:space-between;
  min-height: 72px;
}

/* Utilities */
.skip-link{
  position:absolute; left:-999px; top:-999px;
}
.skip-link:focus{
  left:16px; top:16px; background: var(--accent); color:#0b0e11; padding:8px 10px; border-radius:8px;
}

@media (max-width: 880px){
  .hero-inner{ grid-template-columns: 1fr; }
  .card{ grid-column: 1 / -1; }
}





.hero h1{
  font-size: clamp(28px, 4.2vw, 40px);
  line-height: 1.15;
  margin: 0 0 8px;
}

.hero h2{
  font-size: clamp(24px, 3.4vw, 32px);
  line-height: 1.3;
  margin: 0 0 12px;
}


.section h2{
  font-size: clamp(22px, 2.8vw, 30px);
  line-height: 1.3;
  margin: 0 0 12px;
}


.mock-card p,
.section p,
.card p {
  overflow-wrap: break-word; 
  word-break: break-word;   
  hyphens: auto;             
}


:root{
  --header-h: 64px;
}


.site-header{
  position: fixed;      
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;         
  background: #c1e8d0;   
  border-bottom: 1px solid var(--border);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
}

.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  height: var(--header-h);
}


body{
  padding-top: var(--header-h);
}


.site-header{
  box-shadow: 0 4px 10px rgba(0,0,0,0.06);
}


@media (max-width: 880px){
  :root{ --header-h: 56px; }
}

/* Image zoom & modal */
.zoomable{transition:transform .25s ease, box-shadow .25s ease; cursor:zoom-in; border-radius:12px;}
.zoomable:hover{transform:scale(1.03); box-shadow:0 10px 24px rgba(0,0,0,.12);}
.modal{display:none; position:fixed; inset:0; z-index:2000; background:rgba(0,0,0,.75); padding:60px 24px;}
.modal-content{display:block; margin:0 auto; max-width:min(1200px,92vw); max-height:80vh; border-radius:14px;}
.modal-close{position:absolute; top:18px; right:24px; font-size:32px; color:#fff; cursor:pointer;}


.figure {
  display: block;
  max-width: 100%;         
  height: auto;
  margin: 0 auto 24px;   
  border: 2px solid #e0e0e0;      
  border-radius: 12px;            
  box-shadow: 0 6px 18px rgba(0,0,0,0.08); 
}



.legend-actions{ display:flex; gap:8px; margin:8px 0 14px; flex-wrap:wrap; }
.legend-chip{
  border:1px solid var(--border); background:#fff; color:var(--text);
  border-radius:999px; padding:6px 10px; cursor:pointer; font-weight:600;
  box-shadow:0 2px 6px rgba(0,0,0,.04);
}
.legend-chip.on{ background:var(--panel); }


.chart-box{
  position: relative;
  width: 100%;
  height: 420px;        
  max-width: 1100px;   
  margin: 0 auto;
}
#muiScatter{
  width: 100% !important;
  height: 100% !important; 
  display: block;
}
@media (max-width: 640px){
  .chart-box{ height: 360px; }  
}

.mui-box {
  border: 1px solid #ccc;       
  border-radius: 8px;          
  overflow: hidden;            
  margin: 1em 0;
  box-shadow: 0 2px 6px rgba(0,0,0,.05); 
}

.mui-box-title {
  background-color: #f0f0f0;   
  color: #333;                  
  font-weight: bold;
  padding: 8px 12px;
}

.mui-box-content {
  background-color: #ffffff;   
  padding: 12px;
  color: #333;
  line-height: 1.5;
}

.chart-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}
.chart-box.sm{
  position: relative;
  width:100%;
  height: 320px;         
}
#olmoeOverall, #olmoeGSM8K{
  width:100% !important;
  height:100% !important;
  display:block;
}
@media (max-width: 900px){
  .chart-row{ grid-template-columns: 1fr; }
}
#keyExpertBar{
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.chart-row.two{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}
.chart-box.sm{
  position: relative;
  width: 100%;
  height: 320px;
}
#topExpertsQwen, #topExpertsGPT{
  width:100% !important;
  height:100% !important;
  display:block;
}
@media (max-width: 900px){
  .chart-row.two{ grid-template-columns: 1fr; }
}

pre code {
  white-space: pre-wrap;       
  word-wrap: break-word;       
  overflow-x: auto;           
  display: block;
}