/* ========================================
   MiMo-V2-Omni Release Page
   ======================================== */

@font-face {
    font-family: 'MiSans-Semibold';
    src: url('/font/MiSans-Semibold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
}

:root {
    --bg: #F9F6F3;
    --bg-block: #F3EEE8;
    --text: #1D0601;
    --text-body: #1D0601B2;
    --text-muted: #888;
    --accent: #FF6700;
    --font-serif: "PT Serif", Georgia, serif;
    --font-title: "Ubuntu", -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 18px;
    scroll-behavior: smooth;

}

body {
    font-family: var(--font-serif);
    font-weight: 400;
    background: var(--bg);
    color: var(--text-body);
    line-height: 1.75;
    -webkit-font-smoothing: antialiased;
}

/* ---- Site Nav ---- */
.site-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    padding: 0 40px;
    background: rgba(250, 247, 245, 0.8);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
}

.site-nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.site-nav-logo-img {
    width: 141px;
    height: 18px;
}

.site-nav-back {
    font-family: "MiSans-Semibold", "MiSans-Bold", "MiSans-Regular", sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #000;
    text-decoration: none;
    padding: 8px 0;
    position: relative;
}

.site-nav-back::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2.5px;
    background: #000;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.site-nav-back:hover::after {
    transform: scaleX(1);
}

/* Article Container */
.article {
    max-width: 820px;
    margin: 0 auto;
    padding: 1.5rem 2rem 6rem;
}

/* ---- Hero ---- */
.hero {
    margin-bottom: 4rem;
}

.hero-date {
    display: block;
    font-family: var(--font-title);
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.hero-title {
    font-family: var(--font-title);
    font-size: 2.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    text-align: center;
    color: var(--text);
    margin-bottom: 1rem;
}

.omni-text {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 700;
    opacity: 0;
    display: inline-block;
}

.hero-subtitle {
    text-align: center;
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-style: italic;
    line-height: 1.8;
    color: var(--text-body);
    max-width: 600px;
    margin: 0 auto 0.5rem;
}

.hero-tagline {
    text-align: center;
    font-family: var(--font-title);
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 0 auto 2rem;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-family: var(--font-title);
    font-size: 0.78rem;
    font-weight: 500;
    text-decoration: none;
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    transition: all 0.2s;
}

.btn-chevron {
    font-size: 1.1em;
    line-height: 1;
}

.btn-filled {
    background: #1D0601;
    color: #fff;
    border: 1px solid #1D0601;
}

.btn-filled:hover {
    background: #3a1a10;
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid #ccc;
}

.btn-outline:hover {
    border-color: #999;
}

/* ---- Sections ---- */
.section {
    margin-bottom: 3.5rem;
}

h2 {
    font-family: var(--font-title);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
}

h3 {
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
    margin-top: 2.5rem;
    margin-bottom: 0.75rem;
}

p {
    margin-bottom: 1rem;
}

p:last-child {
    margin-bottom: 0;
}

a {
    color: var(--accent);
}

ul, ol {
    margin: 0 0 1rem 1.5rem;
}

li {
    margin-bottom: 0.35rem;
}

li ul {
    margin-top: 0.35rem;
    margin-bottom: 0;
}

hr {
    border: none;
    border-top: 1px solid #e0d9d0;
    margin: 3rem 0;
}

strong {
    color: var(--text);
    font-weight: 700;
}

/* ---- Blockquote ---- */
blockquote {
    border-left: 3px solid var(--accent);
    padding: 0.75rem 1.25rem;
    margin: 1.25rem 0;
    font-style: italic;
    color: var(--text);
    background: var(--bg-block);
    border-radius: 0 8px 8px 0;
}

/* ---- Case Accordion ---- */
.case-accordion {
    margin: 1.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.case-item {
    background: var(--bg-block);
    border-radius: 12px;
    overflow: hidden;
}

.case-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s;
}

.case-header:hover {
    background: #ede8e1;
}

.case-number {
    font-family: var(--font-title);
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--accent);
    background: #FF670015;
    padding: 0.2rem 0.6rem;
    border-radius: 100px;
    flex-shrink: 0;
}

.case-title {
    font-family: var(--font-title);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    flex: 1;
    min-width: 0;
}

.case-chevron {
    font-family: var(--font-title);
    font-size: 1rem;
    color: var(--text-muted);
    transition: transform 0.25s ease;
    flex-shrink: 0;
}

.case-item.open .case-chevron {
    transform: rotate(180deg);
}

.case-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.case-item.open .case-body {
    max-height: 5000px;
}

.case-content {
    padding: 0 1.5rem 1.5rem;
    font-size: 0.92rem;
    line-height: 1.75;
}

.case-content h3 {
    font-size: 1rem;
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

.case-content p {
    margin-bottom: 0.75rem;
}

.case-query {
    font-family: var(--font-title);
    font-size: 0.82rem;
    color: var(--text-muted);
    background: #F9F6F3;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border-left: 3px solid var(--accent);
}

.case-query strong {
    color: var(--text-muted);
    font-weight: 600;
}

/* ---- Video Placeholder ---- */
.video-placeholder {
    background: var(--bg-block);
    border-radius: 12px;
    width: 100%;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-size: 0.8rem;
    color: #bbb;
    margin: 1.5rem 0;
}

/* ---- Bilibili Embed ---- */
.bilibili-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    border-radius: 12px;
    overflow: hidden;
    margin: 1.5rem 0;
    background: #000;
}

.bilibili-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

/* ---- Podcast Link Card ---- */
.podcast-link-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    margin: 1.25rem 0;
    background: #F9F6F3;
    border: 1px solid #e0d9d0;
    border-radius: 12px;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.podcast-link-card:hover {
    border-color: var(--accent);
    box-shadow: 0 2px 12px rgba(255, 103, 0, 0.08);
}

.podcast-link-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent);
    color: #fff;
    border-radius: 10px;
}

.podcast-link-text {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
}

.podcast-link-title {
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.podcast-link-desc {
    font-family: var(--font-title);
    font-size: 0.72rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.podcast-link-arrow {
    flex-shrink: 0;
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: transform 0.2s ease, color 0.2s ease;
}

.podcast-link-card:hover .podcast-link-arrow {
    transform: translateX(3px);
    color: var(--accent);
}

/* ---- Benchmark Images ---- */
.benchmark-img {
    width: 100%;
    border-radius: 12px;
    margin: 1.5rem 0;
    display: block;
}

/* ---- Image Placeholder ---- */
.img-placeholder {
    background: var(--bg-block);
    border-radius: 12px;
    width: 100%;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-size: 0.8rem;
    color: #bbb;
    margin: 1.5rem 0;
}

/* ---- TODO Notes ---- */
.todo-note {
    font-family: var(--font-title);
    font-size: 0.8rem;
    color: #bbb;
    font-style: italic;
    padding: 1rem;
    background: var(--bg-block);
    border-radius: 8px;
    margin: 1rem 0;
    text-align: center;
}

/* ---- Footer ---- */
.footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid #eee;
    text-align: center;
    font-family: var(--font-title);
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ---- Responsive ---- */
@media (max-width: 700px) {
    .site-nav {
        height: 56px;
        padding: 0 20px;
    }

    .article {
        padding: 1rem 1.25rem 4rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 0.88rem;
    }

    .case-header {
        padding: 1rem 1.25rem;
    }

    .case-content {
        padding: 0 1.25rem 1.25rem;
    }
}
