:root {
    --bg: #080d16;
    --bg-soft: #0c121d;
    --panel: #111925;
    --line: rgba(255, 255, 255, 0.1);
    --line-strong: rgba(255, 255, 255, 0.17);
    --text: #f4f7fb;
    --muted: #9aa7b8;
    --muted-2: #6f7c8d;
    --blue: #4a9eff;
    --blue-soft: #8ec5ff;
    --gold: #ffc77d;
    --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
    --shell: 1180px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 8% 10%, rgba(74, 158, 255, 0.055), transparent 26rem),
        var(--bg);
    font-family: Inter, ui-sans-serif, system-ui, "Segoe UI", "PingFang SC",
        "Microsoft YaHei", sans-serif;
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

body::before {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    content: "";
    opacity: 0.22;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black, transparent 80%);
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select {
    font: inherit;
}

.shell {
    width: min(var(--shell), calc(100% - 48px));
    margin-inline: auto;
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.skip-link {
    position: fixed;
    top: 12px;
    left: 12px;
    z-index: 100;
    padding: 9px 14px;
    color: #06101d;
    background: var(--blue-soft);
    border-radius: 8px;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.site-header {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    border-bottom: 1px solid transparent;
    transition: background 180ms ease, border-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
    background: rgba(8, 13, 22, 0.8);
    border-color: var(--line);
    backdrop-filter: blur(18px);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    gap: 11px;
}

.brand-mark {
    display: grid;
    width: 36px;
    height: 36px;
    place-items: center;
    color: #07101b;
    background: linear-gradient(145deg, #8bc5ff, var(--blue));
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(74, 158, 255, 0.22);
    font-size: 18px;
    font-weight: 900;
}

.brand-copy {
    display: grid;
    line-height: 1.1;
}

.brand-copy strong {
    font-size: 14px;
    letter-spacing: 0.03em;
}

.brand-copy small {
    margin-top: 4px;
    color: var(--muted);
    font-size: 10px;
    letter-spacing: 0.18em;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 30px;
    color: #c0c9d5;
    font-size: 14px;
}

.site-nav a {
    transition: color 160ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: #fff;
}

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.nav-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 1px;
    margin: 5px auto;
    background: var(--text);
    transition: transform 180ms ease;
}

.eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    color: var(--blue-soft);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.eyebrow span {
    width: 24px;
    height: 1px;
    background: var(--blue);
}

.button {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 0 21px;
    border: 1px solid transparent;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

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

.button-primary {
    color: #06111f;
    background: linear-gradient(135deg, #9ed0ff, var(--blue));
    box-shadow: 0 12px 34px rgba(74, 158, 255, 0.22);
}

.article-category {
    display: inline-flex;
    width: fit-content;
    color: var(--blue-soft);
    font-size: 11px;
    font-weight: 750;
    letter-spacing: 0.08em;
}

.site-footer {
    padding: 54px 0;
    background: #070b12;
    border-top: 1px solid var(--line);
}

.footer-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 1rem;
    align-items: center;
}

.footer-brand {
    margin-bottom: 16px;
}

.footer-inner p {
    margin: 0;
    color: var(--muted-2);
    font-size: 12px;
}

.page-hero,
.article-hero {
    padding: 170px 0 90px;
    background:
        radial-gradient(circle at 50% -30%, rgba(74, 158, 255, 0.15), transparent 36rem),
        #0a1019;
    border-bottom: 1px solid var(--line);
}

.page-hero h1 {
    font-size: clamp(48px, 7vw, 80px);
}

.page-hero > .shell > p:last-child {
    max-width: 650px;
    margin: 23px 0 0;
    color: var(--muted);
    font-size: 18px;
}

.article-list-section {
    padding-top: 85px;
}

.article-list {
    display: grid;
    gap: 0;
}

.article-list-item {
    display: grid;
    grid-template-columns: 1fr 170px;
    gap: 60px;
    padding: 38px 0;
    border-bottom: 1px solid var(--line);
}

.article-list-item:first-child {
    border-top: 1px solid var(--line);
}

.article-list-item h2 {
    margin: 15px 0 10px;
    font-size: 27px;
    letter-spacing: -0.025em;
}

.article-list-item p {
    max-width: 700px;
    margin: 0;
    color: var(--muted);
}

.article-list-item aside {
    display: grid;
    align-content: center;
    gap: 5px;
    color: var(--muted-2);
    font-size: 11px;
}

.article-list-item aside b {
    margin-top: 14px;
    color: var(--blue-soft);
    font-size: 12px;
}

.article-list-item:hover h2 {
    color: var(--blue-soft);
}

.article-hero {
    padding-bottom: 78px;
}

.article-hero-inner {
    max-width: 850px;
}

.back-link {
    display: block;
    margin-bottom: 46px;
    color: var(--muted);
    font-size: 12px;
}

.article-hero h1 {
    max-width: 820px;
    margin-top: 20px;
    font-size: clamp(42px, 6vw, 70px);
}

.article-hero h1 + p {
    max-width: 680px;
    margin: 25px 0 0;
    color: var(--muted);
    font-size: 17px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    color: var(--muted-2);
    font-size: 11px;
}

.article-meta i {
    width: 3px;
    height: 3px;
    background: var(--muted-2);
    border-radius: 50%;
}

.article-layout {
    display: grid;
    grid-template-columns: 200px minmax(0, 760px);
    gap: 80px;
    justify-content: center;
    padding-top: 80px;
    padding-bottom: 140px;
}

.article-toc {
    position: sticky;
    top: 110px;
    height: fit-content;
    padding-left: 17px;
    border-left: 1px solid var(--line-strong);
}

.article-toc > strong {
    font-size: 12px;
}

.article-toc ul {
    padding: 0;
    margin: 15px 0 0;
    list-style: none;
}

.article-toc li {
    margin: 8px 0;
}

.article-toc a {
    color: var(--muted-2);
    font-size: 11px;
}

.article-toc a:hover {
    color: var(--blue-soft);
}

.markdown-body {
    color: #ccd4df;
    font-size: 16px;
    line-height: 1.95;
}

.markdown-body h2,
.markdown-body h3 {
    position: relative;
    color: var(--text);
    letter-spacing: -0.025em;
}

.markdown-body h2 {
    margin: 64px 0 18px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
    font-size: 30px;
}

.markdown-body h3 {
    margin: 40px 0 13px;
    font-size: 21px;
}

.markdown-body p {
    margin: 0 0 22px;
}

.markdown-body a {
    color: var(--blue-soft);
    text-decoration: underline;
    text-underline-offset: 4px;
}

.markdown-body .heading-anchor {
    margin-left: 8px;
    color: var(--muted-2);
    text-decoration: none;
    opacity: 0;
}

.markdown-body h2:hover .heading-anchor,
.markdown-body h3:hover .heading-anchor {
    opacity: 1;
}

.markdown-body img {
    margin: 34px 0;
    border: 1px solid var(--line-strong);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.markdown-body blockquote {
    margin: 30px 0;
    padding: 19px 23px;
    color: #b8c7d9;
    background: rgba(74, 158, 255, 0.07);
    border-left: 3px solid var(--blue);
    border-radius: 0 10px 10px 0;
}

.markdown-body blockquote p:last-child {
    margin-bottom: 0;
}

.markdown-body code {
    padding: 2px 6px;
    color: var(--gold);
    background: #141c27;
    border-radius: 5px;
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 0.9em;
}

.markdown-body pre {
    padding: 20px;
    overflow: auto;
    background: #050910;
    border: 1px solid var(--line);
    border-radius: 12px;
}

.markdown-body pre code {
    padding: 0;
    color: #c8d2df;
    background: transparent;
}

.markdown-body table {
    width: 100%;
    margin: 30px 0;
    border-collapse: collapse;
    font-size: 14px;
}

.markdown-body th,
.markdown-body td {
    padding: 11px 13px;
    border: 1px solid var(--line-strong);
    text-align: left;
}

.markdown-body th {
    background: var(--panel);
}

.not-found {
    min-height: 75vh;
    padding: 210px 0 100px;
    text-align: center;
}

.not-found span {
    color: rgba(74, 158, 255, 0.38);
    font-size: 92px;
    font-weight: 900;
}

.not-found h1 {
    margin: -20px 0 10px;
    font-size: 36px;
}

.not-found p {
    margin: 0 0 30px;
    color: var(--muted);
}

.empty-state {
    padding: 50px 0;
    color: var(--muted);
}

@media (max-width: 1050px) {
    .article-layout {
        grid-template-columns: minmax(0, 760px);
    }

    .article-toc {
        display: none;
    }
}

@media (max-width: 780px) {
    .shell {
        width: min(100% - 30px, var(--shell));
    }

    .nav-shell {
        min-height: 66px;
    }

    .nav-toggle {
        display: block;
    }

    .site-nav {
        position: absolute;
        top: 66px;
        right: 15px;
        left: 15px;
        display: none;
        padding: 14px;
        background: rgba(10, 16, 25, 0.97);
        border: 1px solid var(--line-strong);
        border-radius: 15px;
        box-shadow: var(--shadow);
    }

    .site-nav.is-open {
        display: grid;
        gap: 4px;
    }

    .site-nav a {
        padding: 10px 12px;
    }

    .article-list-item {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .copyright {
        margin-top: 10px;
    }
}

@media (max-width: 480px) {
    .page-hero,
    .article-hero {
        padding-top: 130px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Ministry theme */

:root {
    --bg: #10110f;
    --bg-soft: #141512;
    --panel: #181916;
    --line: #34342e;
    --line-strong: #4a483e;
    --text: #e8e4da;
    --muted: #aaa69b;
    --muted-2: #7d7a71;
    --gold: #b8a273;
    --blue: #b8a273;
    --blue-soft: #d0bd91;
    --shadow: none;
    --shell: 1280px;
}

html {
    scroll-padding-top: 58px;
}

body {
    color: var(--text);
    background: var(--bg);
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", SimHei, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.68;
    text-rendering: optimizeLegibility;
}

body::before {
    display: none;
}

::selection {
    color: #14130f;
    background: var(--gold);
}

.shell {
    width: min(var(--shell), calc(100% - 36px));
}

.site-header,
.site-header.is-scrolled {
    position: fixed;
    background: rgba(16, 17, 15, 0.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}

.nav-shell {
    min-height: 56px;
}

.brand {
    gap: 9px;
}

.brand-mark {
    display: none;
}

.brand-copy {
    grid-auto-flow: column;
    gap: 9px;
    align-items: baseline;
}

.brand-copy strong {
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.brand-copy small {
    margin: 0;
    color: var(--muted-2);
    font-size: 12px;
    letter-spacing: 0.14em;
}

.site-nav {
    gap: 23px;
    color: var(--muted);
    font-size: 14px;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--text);
}

.site-nav .header-download {
    padding: 5px 13px;
    color: #16150f;
    background: var(--gold);
    border: 1px solid var(--gold);
    font-weight: 650;
}

.nav-toggle {
    width: 36px;
    height: 34px;
    border-color: var(--line-strong);
    border-radius: 0;
}

.compact-intro {
    padding: 82px 0 25px;
    border-bottom: 1px solid var(--line);
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(300px, 1.15fr) minmax(430px, 1fr) auto;
    gap: 34px;
    align-items: end;
}

.section-label {
    margin: 0 0 7px;
    color: var(--gold);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.13em;
}

.compact-intro h1,
.compact-heading h2,
.primary-shot h2,
.page-hero h1,
.article-hero h1 {
    margin: 0;
    color: var(--text);
    font-family: inherit;
    font-weight: 700;
}

.compact-intro h1 {
    font-size: clamp(27px, 3vw, 38px);
    line-height: 1.1;
}

.compact-intro h1 span {
    margin-left: 9px;
    color: var(--muted);
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
}

.intro-summary {
    max-width: 610px;
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 15px;
}

.software-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(170px, 1fr));
    margin: 0;
    border-top: 1px solid var(--line);
    border-left: 1px solid var(--line);
}

.software-facts div {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 8px;
    padding: 7px 9px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.software-facts dt {
    color: var(--muted-2);
    font-size: 12px;
}

.software-facts dd {
    margin: 0;
    color: #c9c5bb;
    font-size: 13px;
}

.intro-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 1px;
    white-space: nowrap;
}

.download-button {
    display: inline-flex;
    min-height: 36px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    color: #17160f;
    background: var(--gold);
    border: 1px solid var(--gold);
    font-size: 14px;
    font-weight: 700;
}

.download-button:hover,
.site-nav .header-download:hover {
    color: #11110d;
    background: #d0bd91;
}

.plain-link {
    color: var(--text);
    border-bottom: 1px solid var(--line-strong);
    font-size: 13px;
}

.plain-link:hover {
    color: var(--gold);
    border-color: var(--gold);
}

.compact-section {
    padding: 34px 0;
    border-bottom: 1px solid var(--line);
}

.primary-gallery {
    padding-top: 25px;
}

.primary-shot {
    margin: 0 0 34px;
}

.primary-shot:last-child {
    margin-bottom: 0;
}

.primary-shot figcaption {
    display: grid;
    grid-template-columns: minmax(250px, 0.55fr) minmax(320px, 1fr);
    gap: 35px;
    align-items: end;
    padding: 0 0 10px;
}

.primary-shot figcaption > p {
    max-width: 800px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.shot-index {
    display: block;
    margin-bottom: 4px;
    color: var(--gold);
    font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
    font-size: 12px;
    letter-spacing: 0.08em;
}

.primary-shot h2 {
    font-size: 22px;
}

.primary-shot img,
.secondary-shot img {
    width: 100%;
    border: 1px solid var(--line-strong);
}

.primary-shot img {
    height: auto;
    object-fit: contain;
    image-rendering: auto;
}

.compact-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 15px;
}

.compact-heading h2 {
    font-size: 22px;
}

.facts-section {
    background: var(--bg-soft);
}

.fact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid var(--line-strong);
    border-left: 1px solid var(--line);
}

.fact-grid article {
    min-height: 105px;
    padding: 15px 17px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.fact-grid h3 {
    margin: 0 0 6px;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
}

.fact-grid p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.65;
}

.privacy-heading {
    align-items: flex-start;
}

.privacy-summary {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.75;
}

.privacy-grid article {
    min-height: 128px;
}

.projection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.hymn-screenshot-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
}

.gallery-summary {
    max-width: 900px;
    margin: -5px 0 16px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.gallery-screenshot-grid {
    gap: 24px 14px;
}

.sermon-screenshot-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 14px;
}

.sermon-editor-shot {
    grid-column: 1 / -1;
}

.rundown-screenshot-grid {
    grid-template-columns: minmax(0, 1.65fr) minmax(260px, .62fr);
    gap: 24px 14px;
    align-items: start;
}

.secondary-shot {
    margin: 0;
}

.secondary-shot figcaption {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 7px 1px 0;
    color: var(--muted-2);
    font-size: 13px;
}

.secondary-shot figcaption strong {
    color: #c9c5bb;
    font-weight: 500;
}

.feature-detail-section {
    background: var(--bg-soft);
}

.feature-detail {
    display: grid;
    gap: 46px;
    align-items: center;
}

.feature-detail--player {
    grid-template-columns: minmax(280px, 0.62fr) minmax(360px, 1fr);
}

.feature-detail--newcomers {
    grid-template-columns: minmax(320px, 0.72fr) minmax(520px, 1.28fr);
}

.feature-detail-copy {
    max-width: 650px;
}

.feature-detail-copy h2 {
    margin: 0 0 12px;
    color: var(--text);
    font-size: 22px;
    line-height: 1.35;
}

.feature-detail-copy > p:not(.section-label) {
    margin: 0 0 14px;
    color: var(--muted);
    font-size: 14px;
}

.feature-detail-copy ul {
    padding: 0;
    margin: 0;
    color: var(--muted);
    list-style: none;
    font-size: 14px;
}

.feature-detail-copy li {
    position: relative;
    padding: 7px 0 7px 18px;
    border-bottom: 1px solid var(--line);
}

.feature-detail-copy li::before {
    position: absolute;
    top: 15px;
    left: 1px;
    width: 6px;
    height: 1px;
    background: var(--gold);
    content: "";
}

.feature-detail-shot {
    min-width: 0;
}

.feature-detail-shot--portrait {
    width: min(100%, 430px);
    justify-self: center;
}

.feature-detail-shot--wide {
    align-self: center;
}

.fullscreen-section {
    background: var(--bg-soft);
}

.fullscreen-feature {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 64px;
    align-items: center;
}

.fullscreen-copy {
    max-width: 690px;
}

.fullscreen-copy h2 {
    margin: 0 0 12px;
    font-size: 22px;
}

.fullscreen-copy p:last-child {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
}

.fullscreen-requirements {
    display: block;
    margin-top: 10px;
}

.fullscreen-shot {
    width: 316px;
    margin: 0;
}

.fullscreen-shot img {
    width: 100%;
    border: 1px solid var(--line-strong);
}

.fullscreen-shot figcaption {
    padding-top: 7px;
    color: var(--muted-2);
    font-size: 12px;
}

.remote-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.75fr) 190px minmax(210px, 0.52fr);
    gap: 14px;
    align-items: start;
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid var(--line);
}

.remote-layout .tablet-shot {
    transform: none;
}

.remote-layout .phone-shot {
    position: static;
    width: auto;
    padding: 0;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.remote-layout .phone-shot img {
    height: 405px;
    object-fit: cover;
    object-position: top;
    border-radius: 0;
}

.hymn-device-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.9fr) minmax(180px, 0.55fr) minmax(220px, 0.65fr);
    gap: 18px;
    align-items: start;
    padding-top: 24px;
    margin-top: 24px;
    border-top: 1px solid var(--line);
}

.hymn-device-card {
    min-width: 0;
}

.hymn-device-card > img {
    display: block;
    width: 100%;
    height: auto;
    border: 0;
    object-fit: contain;
}

.remote-notes {
    border-top: 1px solid var(--line-strong);
}

.remote-notes h3 {
    margin: 12px 0 10px;
    font-family: inherit;
    font-size: 17px;
    font-weight: 700;
}

.remote-notes ul {
    padding: 0;
    margin: 0;
    color: var(--muted);
    list-style: none;
    font-size: 14px;
}

.remote-notes li {
    padding: 7px 0;
    border-bottom: 1px solid var(--line);
}

.article-strip {
    background: var(--bg-soft);
}

.articles-heading {
    margin-bottom: 8px;
}

.compact-article-list {
    border-top: 1px solid var(--line-strong);
}

.compact-article-list > a {
    display: grid;
    grid-template-columns: 95px minmax(210px, 0.72fr) minmax(280px, 1fr) 85px;
    gap: 20px;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid var(--line);
}

.compact-article-list span,
.compact-article-list time {
    color: var(--muted-2);
    font-size: 12px;
}

.compact-article-list h3 {
    margin: 0;
    font-family: inherit;
    font-size: 16px;
    font-weight: 700;
}

.compact-article-list p {
    margin: 0;
    overflow: hidden;
    color: var(--muted);
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.compact-article-list time {
    text-align: right;
}

.compact-article-list > a:hover h3 {
    color: var(--gold);
}

.site-footer {
    padding: 28px 0;
    background: #0c0d0b;
    border-color: var(--line);
}

.footer-brand {
    margin-bottom: 7px;
}

.footer-inner p {
    color: var(--muted-2);
    font-size: 12px;
}

.third-party-note {
    grid-column: 1 / -1;
    padding-top: 14px;
    margin-top: 2px !important;
    border-top: 1px solid var(--line);
    line-height: 1.7;
}

.page-hero,
.article-hero {
    padding: 105px 0 42px;
    background: var(--bg-soft);
    border-color: var(--line);
}

.page-hero h1 {
    font-size: clamp(34px, 5vw, 52px);
}

.page-hero > .shell > p:last-child,
.article-hero h1 + p,
.back-link,
.article-meta {
    color: var(--muted);
}

.page-hero > .shell > p:last-child,
.article-hero h1 + p {
    font-size: 16px;
}

.eyebrow,
.article-category {
    color: var(--gold);
    font-family: inherit;
    font-size: 13px;
}

.back-link,
.article-meta,
.article-list-item aside,
.article-list-item aside b,
.article-toc > strong,
.article-toc a {
    font-size: 13px;
}

.article-list-section {
    padding-block: 42px 72px;
}

.article-list-item {
    padding-block: 22px;
    border-color: var(--line-strong);
}

.article-list-item h2,
.markdown-body h2,
.markdown-body h3 {
    font-family: inherit;
    font-weight: 700;
}

.article-list-item:hover h2,
.article-list-item aside b,
.article-toc a:hover,
.markdown-body a {
    color: var(--gold);
}

.article-list-item p,
.article-list-item aside,
.article-toc a {
    color: var(--muted);
}

.article-layout {
    padding-top: 45px;
    padding-bottom: 80px;
}

.article-toc {
    border-color: var(--gold);
}

.markdown-body {
    color: #c9c5bb;
    font-family: inherit;
    font-size: 17px;
    line-height: 1.9;
}

.markdown-body h2 {
    border-color: var(--line-strong);
}

.markdown-body blockquote {
    color: #d0c8b9;
    background: rgba(184, 162, 115, 0.06);
    border-color: var(--gold);
    border-radius: 0;
}

.markdown-body code {
    color: var(--gold);
    background: #20211d;
    border-radius: 0;
}

.markdown-body pre {
    background: #090a08;
    border-color: var(--line-strong);
    border-radius: 0;
}

.markdown-body th,
.markdown-body td {
    border-color: var(--line-strong);
}

.markdown-body th {
    background: var(--panel);
}

.button {
    border-radius: 0;
}

@media (max-width: 980px) {
    .intro-grid {
        grid-template-columns: 1fr auto;
    }

    .software-facts {
        grid-column: 1 / -1;
        grid-row: 2;
    }

    .fact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-detail--player,
    .feature-detail--newcomers {
        grid-template-columns: minmax(260px, 0.7fr) minmax(360px, 1fr);
        gap: 28px;
    }

    .remote-layout {
        grid-template-columns: minmax(0, 1fr) 170px;
    }

    .hymn-device-grid .remote-notes {
        grid-column: auto;
        display: block;
        grid-template-columns: none;
        gap: 0;
    }

    .hymn-device-grid .remote-notes ul {
        display: block;
    }

    .remote-notes {
        grid-column: 1 / -1;
        display: grid;
        grid-template-columns: 190px 1fr;
        gap: 20px;
    }

    .remote-notes ul {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .compact-article-list > a {
        grid-template-columns: 85px 1fr 80px;
    }

    .compact-article-list p {
        display: none;
    }
}

@media (max-width: 780px) {
    .shell {
        width: min(100% - 24px, var(--shell));
    }

    .site-nav {
        top: 56px;
        color: var(--text);
        background: #10110f;
        border-color: var(--line-strong);
        border-radius: 0;
    }

    .site-nav .header-download {
        margin-top: 5px;
        text-align: center;
    }

    .compact-intro {
        padding-top: 76px;
    }

    .intro-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .software-facts {
        grid-column: auto;
        grid-row: auto;
    }

    .intro-actions {
        justify-content: flex-start;
    }

    .primary-shot figcaption {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .privacy-heading {
        display: grid;
        gap: 10px;
    }

    .fact-grid,
    .projection-grid {
        grid-template-columns: 1fr;
    }

    .feature-detail--player,
    .feature-detail--newcomers {
        grid-template-columns: 1fr;
    }

    .fullscreen-feature {
        grid-template-columns: 1fr;
        gap: 22px;
    }

    .fullscreen-shot {
        width: min(100%, 316px);
    }

    .fact-grid article {
        min-height: auto;
    }

    .remote-layout {
        grid-template-columns: minmax(0, 1fr) 140px;
    }

    .hymn-device-grid {
        grid-template-columns: 1fr;
    }

    .hymn-device-card--portrait {
        width: min(270px, 76vw);
        justify-self: center;
    }

    .remote-layout .phone-shot img {
        height: 300px;
    }

    .compact-article-list > a {
        grid-template-columns: 76px 1fr;
    }

    .compact-article-list time {
        display: none;
    }
}

@media (max-width: 520px) {
    .compact-section {
        padding: 26px 0;
    }

    .software-facts {
        grid-template-columns: 1fr;
    }

    .remote-layout {
        grid-template-columns: 1fr;
    }

    .remote-layout .phone-shot {
        width: 100%;
    }

    .remote-layout .phone-shot img {
        height: auto;
    }

    .remote-notes {
        grid-column: auto;
        grid-template-columns: 1fr;
        gap: 0;
    }

    .remote-notes ul {
        grid-template-columns: 1fr;
    }

    .compact-article-list > a {
        grid-template-columns: 1fr;
        gap: 3px;
    }

    .compact-article-list span {
        order: 2;
    }
}
