:root {
    --bg: #eef1f4;
    --paper: #fbfcfd;
    --ink: #18202a;
    --muted: #5d6875;
    --line: rgba(24, 32, 42, 0.11);
    --accent: #ba4f32;
    --accent-soft: #f2ddd4;
    --deep: #1b2430;
    --deep-soft: #263240;
    --gold: #c69345;
    --shadow: 0 18px 40px rgba(24, 20, 15, 0.08);
    --radius: 22px;
    --container: 1160px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        radial-gradient(circle at top left, rgba(198, 147, 69, 0.08), transparent 24%),
        linear-gradient(180deg, #f8fafc 0%, var(--bg) 46%, #e8edf2 100%);
    color: var(--ink);
    font-family: "Avenir Next", "Segoe UI Variable", "Helvetica Neue", sans-serif;
    line-height: 1.6;
}

img,
video {
    max-width: 100%;
    display: block;
}

a {
    color: inherit;
}

.container {
    width: min(var(--container), calc(100% - 2rem));
    margin: 0 auto;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(248, 250, 252, 0.84);
    border-bottom: 1px solid rgba(24, 32, 42, 0.08);
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 1rem;
}

.brand {
    font-family: "Iowan Old Style", "Palatino Linotype", serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.brand:hover {
    color: var(--accent);
    transform: translateY(-1px);
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.main-nav a {
    position: relative;
    text-decoration: none;
    color: var(--muted);
    font-size: 0.98rem;
    padding: 0.35rem 0.15rem;
    transition: color 0.2s ease, transform 0.2s ease;
}

.main-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.22s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible {
    color: var(--ink);
    transform: translateY(-1px);
}

.main-nav a[aria-current="page"] {
    color: var(--ink);
    font-weight: 600;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after {
    transform: scaleX(1);
}

.main-nav a[aria-current="page"]::after {
    transform: scaleX(1);
}

.nav-dropdown {
    position: relative;
    padding-bottom: 0.9rem;
    margin-bottom: -0.9rem;
}

.nav-dropdown-toggle {
    position: relative;
    border: 0;
    background: transparent;
    color: var(--muted);
    font: inherit;
    font-size: 0.98rem;
    padding: 0.35rem 1rem 0.35rem 0.15rem;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.nav-dropdown-toggle[aria-expanded="true"] {
    color: var(--ink);
}

.nav-dropdown-toggle.nav-is-current {
    color: var(--ink);
    font-weight: 600;
}

.nav-dropdown-toggle::after {
    content: "";
    position: absolute;
    right: 0.15rem;
    top: 50%;
    width: 0.45rem;
    height: 0.45rem;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.2s ease;
}

.nav-dropdown-toggle:hover,
.nav-dropdown-toggle:focus-visible,
.nav-dropdown:focus-within .nav-dropdown-toggle {
    color: var(--ink);
    transform: translateY(-1px);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 0.2rem);
    left: 0;
    min-width: 14rem;
    display: grid;
    gap: 0.2rem;
    padding: 0.55rem;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(255, 253, 248, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-dropdown-menu a {
    border-radius: 12px;
    padding: 0.65rem 0.8rem;
}

.nav-dropdown-menu a::after {
    display: none;
}

.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.nav-dropdown:focus-within .nav-dropdown-toggle::after,
.nav-dropdown.open .nav-dropdown-toggle::after {
    transform: translateY(-35%) rotate(225deg);
}

.hero {
    padding: 5rem 0 3rem;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 2rem;
    align-items: center;
}

.eyebrow {
    margin: 0;
    color: var(--accent);
    font-size: 1.22rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

h1,
h2,
h3 {
    font-family: "Iowan Old Style", "Palatino Linotype", serif;
    line-height: 1.1;
    margin: 0;
}

h1 {
    font-size: clamp(3.2rem, 7vw, 5.8rem);
    margin-bottom: 0.75rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: 1.4rem;
    margin-bottom: 0.85rem;
}

.hero-subtitle {
    margin: 0 0 1.25rem;
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--muted);
    max-width: 34rem;
}

.hero-text,
.section-text,
.prose-card p,
.asset-card p,
.track-card p {
    color: var(--muted);
}

.hero-authors {
    margin: 0 0 1.15rem;
    max-width: 44rem;
    color: var(--ink);
    font-size: 1.08rem;
    font-weight: 600;
    line-height: 1.45;
    letter-spacing: 0.01em;
}

.hero-authors sup,
.hero-affiliations sup {
    font-size: 0.58em;
    vertical-align: super;
}

.hero-affiliations {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 1rem;
    margin: -0.5rem 0 1.25rem;
    max-width: 52rem;
    color: var(--muted);
    font-size: 0.96rem;
    line-height: 1.45;
}

.hero-affiliations span {
    white-space: nowrap;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1.5rem 0;
}

.compact-actions {
    margin-top: 1rem;
    margin-bottom: 0;
}

.platform-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 0.25rem;
}

.platform-link {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    min-height: 3rem;
    padding: 0.7rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 700;
    border: 1px solid rgba(29, 26, 23, 0.1);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 12px 24px rgba(24, 20, 15, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.platform-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(24, 20, 15, 0.08);
}

.platform-link-github {
    color: #171515;
}

.platform-link-kaggle {
    color: #20beff;
}

.platform-link-arxiv {
    color: #b31b1b;
}

.platform-link.is-disabled {
    opacity: 0.72;
    cursor: default;
}

.platform-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: currentColor;
    border: 1px solid currentColor;
}

.platform-icon svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
}

.platform-wordmark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 3.3rem;
    height: 2rem;
    padding: 0 0.65rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    color: currentColor;
    border: 1px solid currentColor;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover {
    transform: translateY(-1px);
}

.button:focus-visible,
.tab-button:focus-visible,
.main-nav a:focus-visible {
    outline: 2px solid rgba(180, 71, 47, 0.45);
    outline-offset: 3px;
}

.button-primary {
    background: var(--accent);
    color: #fff8f3;
}

.score-button.is-ready {
    background: #2f8f5b;
    border-color: #2f8f5b;
    color: #f7fff9;
    box-shadow: none;
}

.score-button.is-ready:hover {
    background: #27784c;
    box-shadow: none;
}

.button:disabled,
.score-button:disabled {
    background: rgba(24, 32, 42, 0.12);
    color: rgba(24, 32, 42, 0.42);
    border-color: transparent;
    cursor: not-allowed;
    pointer-events: none;
    box-shadow: none;
    transform: none;
}

.button-secondary {
    background: rgba(255, 255, 255, 0.62);
    color: var(--ink);
    border: 1px solid rgba(29, 26, 23, 0.09);
}

.meta-list,
.feature-list {
    margin: 1.25rem 0 0;
    padding-left: 1.2rem;
}

.meta-list li,
.feature-list li {
    margin-bottom: 0.45rem;
}

.hero-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.85rem;
}

.hero-video-grid video {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(29, 26, 23, 0.08);
    background: rgba(0, 0, 0, 0.18);
    transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
}

.hero-video-grid video:hover {
    transform: translateY(-3px) scale(1.01);
    box-shadow: 0 24px 48px rgba(24, 20, 15, 0.14);
    filter: saturate(1.06);
}

.hero-placeholder,
.asset-placeholder {
    display: grid;
    place-items: center;
    min-height: 100%;
    border-radius: 26px;
    border: 1px dashed rgba(29, 26, 23, 0.18);
    background:
        linear-gradient(135deg, rgba(180, 71, 47, 0.08), rgba(213, 164, 79, 0.08)),
        rgba(255, 253, 248, 0.7);
    padding: 2rem;
    text-align: center;
}

.hero-placeholder h3 {
    margin-bottom: 0.8rem;
}

.hero-placeholder p {
    max-width: 28rem;
    color: var(--muted);
    margin: 0;
}

.placeholder-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0.25rem 0.7rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
}

.media-caption {
    margin-top: 0.9rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.section {
    padding: 32px 0 4rem;
}

.section-heading-anchor {
    scroll-margin-top: 140px;
}

.section-accent {
    background: linear-gradient(180deg, rgba(186, 79, 50, 0.05), rgba(186, 79, 50, 0.015));
}

.section-dark {
    background:
        radial-gradient(circle at top right, rgba(198, 147, 69, 0.14), transparent 26%),
        linear-gradient(180deg, var(--deep) 0%, var(--deep-soft) 100%);
    color: #f3eee6;
}

.section-heading {
    margin-bottom: 0.95rem;
}

.two-column {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

.benchmark-grid,
.asset-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.asset-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.asset-stack {
    display: grid;
    gap: 1.4rem;
}

.asset-subsection {
    display: grid;
    gap: 1rem;
}

.asset-subsection-head {
    display: grid;
    gap: 0.25rem;
}

.asset-subsection-head h3 {
    margin-bottom: 0;
}

.asset-subsection-head p {
    margin: 0;
}

.asset-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.asset-filter-button {
    border: 1px solid rgba(24, 32, 42, 0.12);
    border-radius: 999px;
    background: rgba(251, 252, 253, 0.78);
    color: var(--muted);
    padding: 0.62rem 0.95rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.asset-filter-button:hover {
    transform: translateY(-1px);
    border-color: rgba(186, 79, 50, 0.24);
    color: var(--ink);
}

.asset-filter-button.active {
    background: var(--ink);
    color: #f7f9fb;
    border-color: var(--ink);
}

.asset-grid-figures {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.asset-grid-single {
    grid-template-columns: minmax(0, 1fr);
}

.asset-figure {
    margin: 0;
}

.asset-figure img {
    width: 100%;
    display: block;
}

.asset-figure figcaption {
    margin-top: 0.85rem;
    color: var(--muted);
    font-size: 0.95rem;
    line-height: 1.55;
}

.asset-grid-real {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.asset-grid-synth {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.table-card,
.callout {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(251, 252, 253, 0.88);
    box-shadow: var(--shadow);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card:hover,
.table-card:hover,
.callout:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 48px rgba(24, 20, 15, 0.12);
    border-color: rgba(180, 71, 47, 0.2);
}

.prose-card,
.track-card,
.asset-card,
.table-card,
.callout {
    padding: 1.35rem;
}

.track-tag {
    display: inline-block;
    margin-bottom: 0.7rem;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 0.82rem;
    font-weight: 700;
}

.benchmark-intro {
    margin-bottom: 1.35rem;
}

.benchmark-intro p {
    margin: 0 0 0.9rem;
    color: var(--muted);
}

.benchmark-intro p:last-child {
    margin-bottom: 0;
}

.callout {
    margin-top: 1.2rem;
    color: var(--muted);
}

.leaderboard-shell {
    display: grid;
    gap: 1rem;
}

.leaderboard-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.leaderboard-link-card {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: rgba(251, 252, 253, 0.88);
    box-shadow: var(--shadow);
    padding: 1.35rem;
    text-decoration: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.leaderboard-link-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 48px rgba(24, 20, 15, 0.12);
    border-color: rgba(180, 71, 47, 0.2);
}

.leaderboard-link-card p {
    color: var(--muted);
    margin-bottom: 0;
}

.tab-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem;
}

.tab-button {
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--muted);
    padding: 0.7rem 1rem;
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.tab-button:hover {
    transform: translateY(-1px);
    border-color: rgba(180, 71, 47, 0.22);
    color: var(--ink);
}

.tab-button.active {
    background: var(--ink);
    color: #fff8f3;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.table-head {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 1rem;
    margin-bottom: 1rem;
}

.table-head span {
    color: var(--muted);
    font-size: 0.92rem;
}

.leaderboard-intro {
    margin: 0 0 1rem;
    color: var(--muted);
}

table {
    width: 100%;
    border-collapse: collapse;
}

th,
td {
    text-align: left;
    padding: 0.9rem 0.7rem;
    border-top: 1px solid var(--line);
    vertical-align: top;
}

thead th {
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 700;
}

.asset-card img,
.asset-card video {
    border-radius: 16px;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    margin-bottom: 1rem;
    background: rgba(0, 0, 0, 0.2);
}

.asset-card-sample {
    position: relative;
    padding: 0;
    overflow: hidden;
    border: 0;
    background: transparent;
    box-shadow: none;
}

.asset-card-sample video {
    margin-bottom: 0;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.asset-card h4 {
    font-family: "Iowan Old Style", "Palatino Linotype", serif;
    font-size: 1.15rem;
    line-height: 1.15;
    margin: 0 0 0.7rem;
}

.asset-card-sample h4 {
    position: absolute;
    top: 1.15rem;
    right: 1.1rem;
    z-index: 2;
    margin: 0;
    padding: 0.34rem 0.6rem;
    border-radius: 999px;
    background: rgba(15, 20, 28, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.14);
    color: #f8f3eb;
    backdrop-filter: blur(10px);
    font-size: 0.82rem;
    line-height: 1;
}

.asset-card-sample:hover {
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

.asset-card-sample[data-hidden="true"] {
    display: none;
}

.asset-placeholder {
    min-height: 220px;
    border-radius: 16px;
    margin-bottom: 1rem;
    color: var(--muted);
    font-weight: 700;
}

.button-disabled {
    background: rgba(255, 255, 255, 0.62);
    color: var(--muted);
    border: 1px solid rgba(29, 26, 23, 0.09);
    cursor: default;
}

.site-footer {
    padding: 2.2rem 0 2.8rem;
    border-top: 1px solid rgba(24, 32, 42, 0.08);
}

.benchmark-page-hero {
    padding-top: 32px;
    padding-bottom: 2rem;
}

.benchmark-page-hero + .section {
    padding-top: 0;
    padding-bottom: 20px;
}

.benchmark-page-hero + .section + .section {
    padding-top: 0;
}

.benchmark-page-title {
    font-size: clamp(2.35rem, 4.5vw, 3.6rem);
    line-height: 1.02;
    letter-spacing: -0.02em;
    margin-bottom: 0.65rem;
}

.benchmark-page-subtitle {
    margin: 0;
    color: var(--muted);
    font-size: clamp(1rem, 1.65vw, 1.22rem);
    line-height: 1.55;
}

.benchmark-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 3fr) minmax(300px, 1fr);
    gap: 1.2rem;
    align-items: stretch;
}

.benchmark-top-grid > .card {
    height: 100%;
}

.leaderboard-page-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.2rem;
}

.leaderboard-page-grid > * {
    width: 100%;
}

.submission-guide-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

.submission-examples-shell {
    display: grid;
    gap: 1rem;
}

.submission-examples-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(24, 32, 42, 0.14), transparent);
}

.submission-examples-head p {
    margin: 0;
    color: var(--muted);
    font-size: 0.94rem;
    letter-spacing: 0.02em;
}

.submission-steps {
    margin: 0;
    padding-left: 1.25rem;
}

.submission-steps li {
    margin-bottom: 0.85rem;
}

.submission-paths {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 0.7rem;
}

.submission-leaderboard-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
    margin-top: 1rem;
}

.submission-leaderboard-link {
    display: grid;
    gap: 0.18rem;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid rgba(24, 32, 42, 0.08);
    background: rgba(252, 252, 251, 0.95);
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.submission-leaderboard-link:hover {
    transform: translateY(-1px);
    border-color: rgba(180, 71, 47, 0.22);
    box-shadow: 0 12px 24px rgba(24, 32, 42, 0.05);
    background: rgba(255, 255, 255, 0.98);
}

.submission-leaderboard-link strong {
    font-size: 1rem;
    line-height: 1.25;
    color: var(--ink);
}

.submission-leaderboard-link span:last-child {
    color: var(--muted);
    font-size: 0.9rem;
}

.submission-paths code {
    padding: 0.2rem 0.45rem;
    border-radius: 8px;
    background: rgba(29, 26, 23, 0.06);
    font-family: "SFMono-Regular", Menlo, monospace;
    font-size: 0.75em;
}

.submission-example {
    margin: 1rem 0 0;
    padding: 1rem 1.1rem;
    border-radius: 16px;
    border: 1px solid rgba(24, 32, 42, 0.08);
    background: rgba(248, 250, 252, 0.95);
    overflow-x: auto;
}

.submission-example code {
    font-family: "SFMono-Regular", Menlo, monospace;
    font-size: 0.92rem;
    line-height: 1.6;
    white-space: pre;
}

.submission-example-card {
    border-color: rgba(24, 32, 42, 0.06);
    background: linear-gradient(180deg, rgba(246, 248, 250, 0.78), rgba(244, 247, 249, 0.86));
    box-shadow: none;
}

.submission-example-card .submission-example {
    border-color: rgba(24, 32, 42, 0.06);
    background: rgba(255, 255, 255, 0.72);
}

.leaderboard-empty {
    margin: 1rem 0 0;
    color: var(--muted);
}

.leaderboard-meta {
    display: block;
    margin-top: 0.25rem;
    color: var(--muted);
    font-size: 0.9rem;
}

.leaderboard-sort-button {
    display: inline-flex;
    align-items: center;
    gap: 0.28rem;
    border: 0;
    background: transparent;
    padding: 0;
    color: inherit;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.leaderboard-sort-button::after {
    content: "↕";
    font-size: 0.78em;
    color: rgba(24, 32, 42, 0.4);
}

.leaderboard-sort-button[data-active="true"] {
    color: var(--accent);
}

.leaderboard-sort-button[data-active="true"]::after {
    color: var(--accent);
}

.leaderboard-sort-button[data-direction="desc"]::after {
    content: "↓";
}

.leaderboard-sort-button[data-direction="asc"]::after {
    content: "↑";
}

.leaderboard-sort-button:hover,
.leaderboard-sort-button:focus-visible {
    color: var(--accent);
}

.leaderboard-chip {
    display: inline-flex;
    align-items: center;
    margin-top: 0.45rem;
    padding: 0.18rem 0.5rem;
    border-radius: 999px;
    background: rgba(198, 147, 69, 0.16);
    color: #8a5a16;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.leaderboard-row-baseline td {
    background: rgba(198, 147, 69, 0.08);
}

.leaderboard-table-card table td:first-child,
.leaderboard-table-card table th:first-child {
    width: 4.5rem;
}

.leaderboard-table-card table {
    outline: none;
}

.comparison-card table th:first-child,
.comparison-card table td:first-child {
    width: 22%;
}

.submission-box {
    margin-top: 1.2rem;
    padding-top: 1.2rem;
    border-top: 1px solid var(--line);
}

.submission-box-standalone {
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
}

.submission-box p {
    color: var(--muted);
}

.submission-panel h3 {
    margin-bottom: 0.55rem;
}

.submission-panel .upload-button,
.submission-panel .score-button,
.submission-panel .submit-pr-button {
    width: 100%;
}

.upload-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.72rem 1.08rem;
    border-radius: 999px;
    background: var(--accent);
    border: 1px solid var(--accent);
    color: #fff9f5;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.upload-button:hover {
    transform: translateY(-1px);
    background: var(--accent-dark);
}

.upload-button input {
    display: none;
}

.score-note {
    margin-top: 0.75rem;
    color: var(--muted);
}

.score-button,
.submit-pr-button {
    margin-top: 0.9rem;
}

.score-dialog {
    width: min(46rem, calc(100vw - 2rem));
    border: 1px solid rgba(24, 32, 42, 0.1);
    border-radius: 22px;
    padding: 1.15rem;
    background: rgba(251, 252, 253, 0.98);
    box-shadow: 0 28px 60px rgba(19, 25, 33, 0.18);
}

.score-dialog::backdrop {
    background: rgba(15, 20, 28, 0.42);
    backdrop-filter: blur(6px);
}

.score-dialog-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.score-dialog-head h4 {
    margin: 0;
    font-size: 1.15rem;
}

.score-dialog-close {
    border: 0;
    background: transparent;
    color: var(--muted);
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    padding: 0.1rem 0.2rem;
}

.score-dialog-close:hover {
    color: var(--ink);
}

.score-results {
    display: grid;
    gap: 0.9rem;
}

.score-dialog-message {
    margin: 0 0 0.4rem;
    padding: 0.8rem 0.9rem;
    border-radius: 12px;
    background: rgba(181, 37, 37, 0.1);
    border: 1px solid rgba(181, 37, 37, 0.24);
    color: #a11c1c;
    font-size: 0.92rem;
    line-height: 1.45;
}

.score-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.score-card {
    padding: 1rem;
    border-radius: 16px;
    background: var(--surface-soft);
}

.score-label {
    display: block;
    margin-bottom: 0.35rem;
    color: var(--muted);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.score-label sup {
    font-size: 0.68em;
    vertical-align: super;
    line-height: 0;
}

.score-card strong {
    font-family: "Georgia", "Times New Roman", serif;
    font-size: 1.5rem;
}

.submission-box code {
    padding: 0.15rem 0.35rem;
    border-radius: 6px;
    background: rgba(29, 26, 23, 0.06);
    font-family: "SFMono-Regular", Menlo, monospace;
    font-size: 0.92em;
}

.footer-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--muted);
    font-size: 0.92rem;
}

.footer-mark {
    margin: 0;
    color: var(--ink);
    font-family: "Iowan Old Style", "Palatino Linotype", serif;
    font-size: 1.08rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-links a:hover {
    color: var(--ink);
}

@media (max-width: 980px) {
    .hero-grid,
    .benchmark-top-grid,
    .two-column,
    .benchmark-grid,
    .asset-grid,
    .footer-shell,
    .leaderboard-links,
    .leaderboard-page-grid,
    .submission-guide-grid,
    .submission-leaderboard-links,
    .score-grid {
        grid-template-columns: 1fr;
        display: grid;
    }

    .footer-shell {
        gap: 0.3rem;
    }

    .asset-grid-real,
    .asset-grid-synth {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        display: grid;
    }

    .asset-filters {
        gap: 0.55rem;
    }
}

@media (max-width: 700px) {
    .nav-shell {
        padding: 0.7rem 0;
        align-items: flex-start;
        flex-direction: column;
    }

    .main-nav {
        gap: 0.75rem;
    }

    .nav-dropdown-menu {
        position: static;
        margin-top: 0.2rem;
        opacity: 1;
        pointer-events: auto;
        transform: none;
        min-width: 0;
        box-shadow: none;
        background: rgba(255, 253, 248, 0.72);
    }

    .hero {
        padding-top: 3.5rem;
    }

    .hero-video-grid {
        grid-template-columns: 1fr 1fr;
    }

    .section {
        padding: 3rem 0;
    }

    .asset-grid-figures,
    .asset-grid-real,
    .asset-grid-synth {
        grid-template-columns: 1fr;
    }

    th,
    td {
        padding: 0.7rem 0.45rem;
        font-size: 0.93rem;
    }
}
