:root {
    --bg: #090d0f;
    --raised: #101619;
    --panel: #151c1f;
    --panel-hover: #192124;
    --line: rgba(231, 236, 232, 0.12);
    --line-strong: rgba(231, 236, 232, 0.23);
    --text: #f0f2ed;
    --muted: #929c9f;
    --amber: #d8aa3e;
    --amber-bright: #f0ca62;
    --green: #61d18f;
    --modrinth: #5fcf7f;
    --danger: #d5686d;
    --header-height: 68px;
    --page-width: 1240px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 24px);
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    background: var(--bg);
    color: var(--text);
    font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
    letter-spacing: 0;
}

body:has(dialog[open]) {
    overflow: hidden;
}

[hidden] {
    display: none !important;
}

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

button,
input,
select {
    color: inherit;
    font: inherit;
    letter-spacing: 0;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img {
    max-width: 100%;
}

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

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

.site-header {
    position: sticky;
    z-index: 50;
    top: 0;
    height: var(--header-height);
    border-bottom: 1px solid var(--line);
    background: rgba(9, 13, 15, 0.96);
    backdrop-filter: blur(18px);
}

.header-inner {
    height: 100%;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 24px;
}

.brand {
    min-width: 0;
    justify-self: start;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    font-size: 15px;
    font-weight: 760;
}

.brand img {
    width: 38px;
    height: 38px;
    display: block;
    object-fit: contain;
}

.main-nav {
    height: 100%;
    display: flex;
    align-items: stretch;
    gap: 28px;
}

.main-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.main-nav a::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: transparent;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--text);
}

.main-nav a.active::after {
    background: var(--amber);
}

.header-actions {
    min-width: 0;
    height: 40px;
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 9px;
}

.language-picker {
    position: relative;
    width: 84px;
    height: 40px;
    flex: 0 0 84px;
}

.language-flag {
    width: 22px;
    height: 15px;
    flex: 0 0 22px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 2px;
    background: center / cover no-repeat url("flag-pl.svg");
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.language-code {
    min-width: 17px;
    color: #dfe4e1;
    font-size: 11px;
    font-weight: 850;
    line-height: 1;
    text-align: center;
}

.header-download {
    min-width: 92px;
    height: 40px;
    padding: 0 17px;
    border: 1px solid var(--amber);
    border-radius: 4px;
    background: var(--amber);
    color: #17130b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 820;
}

.header-download:hover {
    border-color: var(--amber-bright);
    background: var(--amber-bright);
}

.eyebrow,
.section-label {
    color: var(--amber-bright);
    display: block;
    font-size: 10px;
    font-weight: 850;
    line-height: 1.2;
    text-transform: uppercase;
}

.button {
    min-height: 42px;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 820;
    cursor: pointer;
}

.button-primary {
    border-color: var(--amber);
    background: var(--amber);
    color: #17130b;
}

.button-primary:hover {
    border-color: var(--amber-bright);
    background: var(--amber-bright);
}

.button-primary:disabled {
    border-color: #535a58;
    background: #535a58;
    color: #aeb4b1;
    cursor: not-allowed;
}

.button-quiet {
    border-color: var(--line-strong);
    background: rgba(10, 14, 16, 0.82);
    color: var(--text);
}

.button-quiet:hover {
    border-color: rgba(255, 255, 255, 0.42);
    background: #20282c;
}

.text-link {
    margin-top: 27px;
    color: var(--amber-bright);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 12px;
    font-weight: 820;
}

.text-link:hover {
    color: #f7d979;
}

.home-hero {
    position: relative;
    height: clamp(560px, calc(100dvh - 104px), 680px);
    min-height: 560px;
    overflow: hidden;
    border-bottom: 1px solid var(--line);
    background: #060a0c;
    isolation: isolate;
}

.home-hero-image {
    position: absolute;
    z-index: -2;
    top: 12px;
    right: -10px;
    width: min(1280px, 88vw);
    height: auto;
    max-width: none;
    opacity: 0.86;
    filter: saturate(1.02) brightness(0.94) contrast(1.04) drop-shadow(0 30px 70px rgba(0, 0, 0, 0.36));
}

.home-hero-overlay {
    position: absolute;
    z-index: -1;
    inset: 0;
    background:
        linear-gradient(90deg, #070b0d 0%, rgba(7, 11, 13, 0.99) 34%, rgba(7, 11, 13, 0.9) 48%, rgba(7, 11, 13, 0.26) 74%, rgba(7, 11, 13, 0.68) 100%),
        linear-gradient(0deg, #070b0d 0%, rgba(7, 11, 13, 0.28) 34%, transparent 68%, rgba(7, 11, 13, 0.48) 100%);
    pointer-events: none;
}

.home-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding-bottom: 104px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.home-hero h1 {
    margin: 13px 0 0;
    font-size: 64px;
    font-weight: 830;
    line-height: 0.98;
}

.home-hero-content > p {
    max-width: 570px;
    margin: 18px 0 0;
    color: #c2c9c7;
    font-size: 19px;
    line-height: 1.47;
}

.hero-actions,
.download-actions,
.dialog-actions {
    margin-top: 27px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.release-note {
    min-height: 16px;
    margin-top: 12px;
    color: #849093;
    font-size: 10px;
}

.hero-status {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 92px;
    border-top: 1px solid rgba(255, 255, 255, 0.11);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    background: rgba(7, 11, 13, 0.74);
    backdrop-filter: blur(12px);
}

.hero-status > span {
    min-width: 0;
    padding: 20px 26px;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-status > span:first-child {
    padding-left: 0;
}

.hero-status > span:last-child {
    padding-right: 0;
    border-right: 0;
}

.hero-status strong {
    font-size: 12px;
}

.hero-status small {
    margin-top: 6px;
    overflow: hidden;
    color: #899396;
    font-size: 10px;
    line-height: 1.4;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-section,
.catalogue-section,
.builder-section,
.faq-section {
    padding: 86px 0;
    border-bottom: 1px solid var(--line);
}

.product-section {
    background: #0e1416;
}

.section-intro {
    display: grid;
    grid-template-columns: minmax(300px, 0.76fr) minmax(480px, 1.24fr);
    align-items: end;
    gap: 72px;
}

.section-intro .section-label {
    grid-column: 1;
}

.section-intro h2 {
    grid-column: 1;
    margin: 9px 0 0;
    font-size: 39px;
    line-height: 1.08;
}

.section-intro p {
    grid-column: 2;
    grid-row: 1 / span 2;
    max-width: 620px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.72;
}

.product-lines {
    margin-top: 44px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-lines article {
    min-width: 0;
    min-height: 138px;
    padding: 26px 30px 26px 0;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    align-items: start;
    gap: 16px;
}

.product-lines article:nth-child(2n) {
    padding-right: 0;
    padding-left: 30px;
    border-right: 0;
}

.product-lines article > span,
.builder-flow article > span,
.catalogue-types > a > span {
    padding-top: 2px;
    color: #697477;
    font-size: 9px;
    font-weight: 850;
}

.product-lines strong,
.builder-flow strong {
    font-size: 14px;
}

.product-lines p,
.builder-flow p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

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

.catalogue-layout {
    display: grid;
    grid-template-columns: minmax(320px, 0.74fr) minmax(520px, 1.26fr);
    align-items: start;
    gap: 78px;
}

.catalogue-copy {
    position: sticky;
    top: calc(var(--header-height) + 32px);
}

.catalogue-copy h2,
.builder-heading h2,
.download-layout h2 {
    margin: 9px 0 0;
    font-size: 38px;
    line-height: 1.08;
}

.catalogue-copy > p,
.builder-heading > p,
.download-layout p {
    max-width: 540px;
    margin: 19px 0 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.catalogue-types {
    border-top: 1px solid var(--line);
}

.catalogue-types > a {
    min-height: 92px;
    padding: 18px 5px;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) 24px;
    align-items: center;
    gap: 14px;
}

.catalogue-types > a:hover {
    background: linear-gradient(90deg, rgba(95, 207, 127, 0.07), transparent 78%);
}

.catalogue-types > a:hover > span,
.catalogue-types > a:hover i {
    color: var(--modrinth);
}

.catalogue-types strong,
.catalogue-types small {
    display: block;
}

.catalogue-types strong {
    font-size: 14px;
}

.catalogue-types small {
    margin-top: 6px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.45;
}

.catalogue-types i {
    color: #667174;
    font-style: normal;
    font-size: 17px;
    text-align: right;
}

.builder-section {
    padding-bottom: 0;
    background: #0e1416;
}

.builder-layout {
    display: grid;
    grid-template-columns: minmax(310px, 0.7fr) minmax(520px, 1.3fr);
    align-items: start;
    gap: 80px;
}

.builder-flow {
    border-top: 1px solid var(--line);
}

.builder-flow article {
    min-height: 112px;
    padding: 22px 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 15px;
}

.utility-lines {
    margin-top: 62px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.utility-lines > div {
    min-width: 0;
    min-height: 126px;
    padding: 25px 22px;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.utility-lines > div:first-child {
    padding-left: 0;
}

.utility-lines > div:last-child {
    padding-right: 0;
    border-right: 0;
}

.utility-lines strong {
    font-size: 13px;
}

.utility-lines span {
    margin-top: 8px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.55;
}

.feature-priority-section,
.content-showcase-section,
.smart-features-section,
.visual-details-section {
    padding: 92px 0;
    border-bottom: 1px solid var(--line);
}

.feature-priority-section,
.smart-features-section {
    background: #0e1416;
}

.content-showcase-section {
    background: #090d0f;
}

.visual-details-section {
    background: #0b1012;
}

.feature-section-heading {
    display: grid;
    grid-template-columns: minmax(360px, 0.9fr) minmax(460px, 1.1fr);
    align-items: end;
    gap: 86px;
}

.feature-section-heading h2 {
    max-width: 660px;
    margin: 9px 0 0;
    font-size: 43px;
    line-height: 1.08;
    letter-spacing: 0;
}

.feature-section-heading > p {
    max-width: 650px;
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.72;
}

.feature-kicker {
    color: var(--amber-bright);
    display: block;
    font-size: 9px;
    font-weight: 850;
    letter-spacing: 0;
    text-transform: uppercase;
}

.feature-media {
    position: relative;
    min-width: 0;
    min-height: 260px;
    margin: 0;
    border: 1px solid #30383b;
    border-radius: 6px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        #0a0f11;
    background-size: 30px 30px;
    overflow: hidden;
}

.feature-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: #080c0e;
    display: block;
    object-fit: contain;
}

.feature-media.has-image .media-placeholder {
    display: none;
}

.media-placeholder {
    position: absolute;
    inset: 0;
    padding: 30px;
    color: #687477;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-align: center;
}

.media-placeholder::before {
    content: "";
    width: 42px;
    height: 32px;
    border: 1px solid #4b5659;
    border-radius: 3px;
    background:
        linear-gradient(135deg, transparent 47%, #3b4548 48%, #3b4548 54%, transparent 55%),
        linear-gradient(45deg, transparent 53%, #283235 54%);
}

.media-placeholder strong {
    color: #b3bcba;
    font-size: 11px;
    font-weight: 800;
}

.media-placeholder span {
    max-width: 360px;
    font-size: 9px;
    line-height: 1.55;
}

.library-showcase {
    min-height: 540px;
    margin-top: 52px;
    border: 1px solid var(--line-strong);
    border-radius: 7px;
    background: #111719;
    display: grid;
    grid-template-columns: minmax(330px, 0.72fr) minmax(590px, 1.28fr);
    overflow: hidden;
}

.library-showcase-copy {
    position: relative;
    z-index: 1;
    padding: 48px 42px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.library-showcase-copy h3,
.creator-copy h3,
.smart-feature-lead h3 {
    margin: 10px 0 0;
    font-size: 32px;
    line-height: 1.1;
    letter-spacing: 0;
}

.library-showcase-copy > p,
.creator-copy > p,
.smart-feature-lead > div > p {
    margin: 17px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.72;
}

.showcase-facts {
    margin-top: 30px;
    border-top: 1px solid var(--line);
}

.showcase-facts > div {
    min-height: 76px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: minmax(120px, 0.78fr) minmax(150px, 1.22fr);
    align-items: center;
    gap: 18px;
}

.showcase-facts strong {
    font-size: 10px;
}

.showcase-facts span {
    color: #879194;
    font-size: 9px;
    line-height: 1.5;
}

.feature-media-library {
    min-height: 100%;
    border: 0;
    border-left: 1px solid var(--line);
    border-radius: 0;
    background-color: #080c0e;
}

.feature-media-library::after {
    content: "";
    position: absolute;
    z-index: 2;
    inset: 0;
    pointer-events: none;
    box-shadow: inset 32px 0 42px rgba(6, 9, 10, 0.32);
}

.content-showcase-section .feature-section-heading {
    margin-bottom: 54px;
}

.catalogue-showcase {
    display: grid;
    grid-template-columns: minmax(570px, 1.35fr) minmax(290px, 0.65fr);
    align-items: center;
    gap: 58px;
}

.catalogue-media-stack {
    position: relative;
    min-height: 540px;
}

.feature-media-browse {
    width: 88%;
    min-height: 430px;
    aspect-ratio: 16 / 10;
}

.feature-media-details {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 64%;
    min-height: 310px;
    aspect-ratio: 16 / 10;
    border-color: rgba(95, 207, 127, 0.34);
    box-shadow: -22px -20px 52px rgba(0, 0, 0, 0.48);
}

.catalogue-navigation > p {
    margin: 22px 0 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.65;
}

.feature-content-links {
    margin-top: 18px;
    border-top: 1px solid var(--line);
}

.feature-content-links > a {
    min-height: 49px;
    padding: 0 4px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    font-size: 12px;
    font-weight: 790;
}

.feature-content-links i {
    color: #697477;
    font-style: normal;
    font-size: 15px;
}

.feature-content-links > a:hover {
    color: #91e0a7;
}

.feature-content-links > a:hover i {
    color: var(--modrinth);
    transform: translateX(3px);
}

.catalogue-navigation .text-link {
    margin-top: 28px;
}

.creator-showcase {
    margin-top: 104px;
    padding-top: 68px;
    border-top: 1px solid var(--line);
    display: grid;
    grid-template-columns: minmax(330px, 0.72fr) minmax(570px, 1.28fr);
    align-items: center;
    gap: 70px;
}

.builder-steps {
    margin: 30px 0 0;
    padding: 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.builder-steps li {
    min-height: 84px;
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    align-items: center;
    gap: 13px;
}

.builder-steps li > span,
.smart-text-strip article > span,
.visual-detail-list article > span {
    color: #6b7679;
    font-size: 8px;
    font-weight: 850;
}

.builder-steps strong,
.builder-steps small {
    display: block;
}

.builder-steps strong {
    font-size: 11px;
}

.builder-steps small {
    margin-top: 5px;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.48;
}

.creator-media {
    position: relative;
    min-height: 520px;
}

.creator-media .feature-media:first-child {
    width: 88%;
    min-height: 0;
    aspect-ratio: 16 / 10;
}

.creator-media .feature-media:last-child {
    position: absolute;
    right: 0;
    bottom: 0;
    z-index: 2;
    width: 64%;
    min-height: 0;
    margin: 0;
    border-color: rgba(237, 199, 95, 0.34);
    aspect-ratio: 16 / 10;
    box-shadow: -22px -20px 52px rgba(0, 0, 0, 0.48);
}

.platform-strip {
    margin-top: 72px;
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.platform-strip > div {
    min-width: 0;
    min-height: 114px;
    padding: 24px 26px;
    border-right: 1px solid var(--line);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.platform-strip > div:first-child {
    padding-left: 0;
}

.platform-strip > div:last-child {
    padding-right: 0;
    border-right: 0;
}

.platform-strip span {
    color: var(--amber-bright);
    font-size: 8px;
    font-weight: 850;
    text-transform: uppercase;
}

.platform-strip strong {
    max-width: 310px;
    margin-top: 8px;
    color: #b9c1bf;
    font-size: 11px;
    line-height: 1.5;
}

.smart-features-section .feature-section-heading {
    margin-bottom: 54px;
}

.smart-feature-lead {
    padding: 38px;
    border: 1px solid rgba(95, 207, 127, 0.24);
    border-radius: 7px;
    background: #11191b;
    display: grid;
    grid-template-columns: minmax(300px, 0.76fr) minmax(500px, 1.24fr);
    align-items: center;
    gap: 54px;
}

.smart-feature-lead > div {
    padding-left: 6px;
}

.smart-feature-lead .feature-kicker {
    color: #82d99b;
}

.smart-feature-lead .feature-media {
    min-height: 340px;
    aspect-ratio: 16 / 9;
    border-color: rgba(95, 207, 127, 0.3);
}

.smart-media-grid {
    margin-top: 20px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.smart-media-grid > article {
    min-width: 0;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: #111719;
    overflow: hidden;
}

.smart-media-grid .feature-media {
    min-height: 260px;
    aspect-ratio: 16 / 9;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
}

.smart-media-grid article > div {
    padding: 26px 28px 30px;
}

.smart-media-grid h3 {
    margin: 9px 0 0;
    font-size: 20px;
    line-height: 1.2;
    letter-spacing: 0;
}

.smart-media-grid p {
    margin: 10px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.62;
}

.smart-media-grid article:last-child .feature-kicker {
    color: #e09ba0;
}

.smart-text-strip {
    margin-top: 48px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.smart-text-strip article {
    min-height: 138px;
    padding: 28px 34px 28px 0;
    border-right: 1px solid var(--line);
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: start;
    gap: 14px;
}

.smart-text-strip article:last-child {
    padding-right: 0;
    padding-left: 34px;
    border-right: 0;
}

.smart-text-strip h3,
.visual-detail-list h3 {
    margin: 0;
    font-size: 14px;
    letter-spacing: 0;
}

.smart-text-strip p,
.visual-detail-list p {
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.6;
}

.visual-details-section .feature-section-heading {
    margin-bottom: 54px;
}

.visual-showcase {
    display: grid;
    grid-template-columns: minmax(560px, 1.3fr) minmax(330px, 0.7fr);
    align-items: center;
    gap: 64px;
}

.visual-showcase > .feature-media {
    min-height: 520px;
    aspect-ratio: 16 / 10;
    border-color: rgba(237, 199, 95, 0.3);
}

.visual-detail-list {
    border-top: 1px solid var(--line);
}

.visual-detail-list article {
    min-height: 112px;
    padding: 21px 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}

.visual-detail-list article:first-child h3 {
    color: var(--amber-bright);
}

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

.faq-layout {
    display: grid;
    grid-template-columns: minmax(270px, 0.56fr) minmax(520px, 1fr);
    align-items: start;
    gap: 76px;
}

.faq-heading {
    position: sticky;
    top: calc(var(--header-height) + 28px);
}

.faq-heading h2 {
    margin: 9px 0 0;
    font-size: 38px;
    line-height: 1;
}

.faq-heading p {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

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

.faq-list details {
    border-bottom: 1px solid var(--line);
}

.faq-list summary {
    position: relative;
    min-height: 61px;
    padding: 17px 34px 17px 0;
    list-style: none;
    display: flex;
    align-items: center;
    font-size: 13px;
    font-weight: 760;
    cursor: pointer;
}

.faq-list summary::-webkit-details-marker {
    display: none;
}

.faq-list summary::after {
    content: "+";
    position: absolute;
    right: 3px;
    color: var(--amber-bright);
    font-size: 20px;
    font-weight: 400;
}

.faq-list details[open] summary::after {
    content: "\2212";
}

.faq-list details p {
    margin: -2px 44px 20px 0;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.68;
}

.download-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--line);
    background: var(--raised);
}

.download-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.download-layout h2 {
    font-size: 30px;
}

.download-layout p {
    margin-top: 10px;
}

.download-actions {
    flex: 0 0 auto;
    margin-top: 0;
}

.browse-main {
    min-height: calc(100vh - var(--header-height));
    padding: 38px 0 76px;
    background: #101518;
}

.browse-heading {
    min-height: 82px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 46px;
}

.browse-heading h1 {
    margin: 8px 0 0;
    font-size: 39px;
    line-height: 1;
}

.browse-heading > p {
    max-width: 510px;
    margin: 0 0 2px;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.6;
}

.browse-content {
    margin-top: 24px;
}

.content-type-tabs {
    min-height: 44px;
    margin-bottom: 14px;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 25px;
    overflow-x: auto;
    scrollbar-color: #495256 #101518;
    scrollbar-width: thin;
}

.content-type-tabs button {
    position: relative;
    min-width: max-content;
    min-height: 44px;
    padding: 0 1px;
    border: 0;
    background: transparent;
    color: #879194;
    font-size: 11px;
    font-weight: 800;
    cursor: pointer;
}

.content-type-tabs button::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: transparent;
}

.content-type-tabs button:hover {
    color: var(--text);
}

.content-type-tabs button[aria-pressed="true"] {
    color: #8cdea4;
}

.content-type-tabs button[aria-pressed="true"]::after {
    background: var(--modrinth);
}

.browse-toolbar {
    margin-bottom: 13px;
    padding-bottom: 17px;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: minmax(250px, 1.55fr) repeat(2, minmax(132px, 0.72fr)) minmax(168px, 0.88fr);
    align-items: end;
    gap: 10px;
}

.search-field {
    min-width: 0;
}

.search-field input {
    width: 100%;
    height: 40px;
    padding: 0 12px;
    border: 1px solid var(--line);
    border-radius: 4px;
    outline: 0;
    background: #171d20;
    color: var(--text);
    font-size: 11px;
}

.search-field input::placeholder {
    color: #697376;
}

.search-field input:focus {
    border-color: rgba(95, 207, 127, 0.62);
}

.browse-select {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.browse-select > span {
    color: #7f898c;
    font-size: 8px;
    font-weight: 820;
    text-transform: uppercase;
}

.browse-select select {
    width: 100%;
    height: 40px;
    padding: 0 30px 0 11px;
    border: 1px solid var(--line);
    border-radius: 4px;
    outline: 0;
    background: #171d20;
    color: var(--text);
    font-size: 10px;
    cursor: pointer;
}

.browse-select select:focus {
    border-color: rgba(95, 207, 127, 0.62);
}

.browse-select.is-disabled {
    opacity: 0.42;
    pointer-events: none;
}

.browse-summary {
    min-height: 31px;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    color: #7f898c;
    font-size: 10px;
}

.browse-summary a:hover {
    color: #9fe2b3;
}

.modrinth-grid,
.browse-loading {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 15px;
}

.project-card {
    min-width: 0;
    min-height: 326px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 7px;
    background: #171d20;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: border-color 150ms ease, transform 150ms ease, background 150ms ease;
}

.project-card:hover,
.project-card:focus-within {
    border-color: rgba(95, 207, 127, 0.44);
    background: #1a2124;
    transform: translateY(-2px);
}

.project-card-cover {
    position: relative;
    height: 118px;
    flex: 0 0 118px;
    border: 0;
    background-color: #252c2f;
    background-image:
        linear-gradient(0deg, #171d20 0%, rgba(23, 29, 32, 0.78) 24%, rgba(23, 29, 32, 0.18) 58%, rgba(23, 29, 32, 0) 100%),
        var(--project-cover);
    background-position: center;
    background-size: cover;
    cursor: pointer;
}

.project-card-cover:hover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(3, 6, 7, 0.08);
}

.project-card-icon,
.project-icon-fallback {
    position: absolute;
    z-index: 1;
    left: 14px;
    bottom: -24px;
    width: 52px;
    height: 52px;
    border: 2px solid #171d20;
    border-radius: 5px;
    background: #293134;
    color: #78dc97;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    object-fit: cover;
    font-size: 20px;
    font-weight: 900;
}

.project-card-icon {
    display: block;
}

.project-card-body {
    min-height: 0;
    padding: 34px 14px 14px;
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 9px;
}

.project-card-heading {
    min-width: 0;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
}

.project-card-title {
    min-width: 0;
}

.project-card-title strong,
.project-card-title span {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-card-title strong {
    color: var(--text);
    font-size: 14px;
    font-weight: 820;
}

.project-card-title span,
.project-card-downloads {
    color: #7f898c;
    font-size: 9px;
}

.project-card-downloads {
    flex: 0 0 auto;
    padding-top: 2px;
}

.project-card-downloads::before {
    content: "\2193";
    margin-right: 3px;
    color: var(--modrinth);
}

.project-card-description {
    min-height: 34px;
    margin: 0;
    overflow: hidden;
    color: #929b9e;
    display: -webkit-box;
    font-size: 10px;
    line-height: 1.55;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.project-card-tags,
.project-detail-badges,
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.project-badge,
.tag {
    min-height: 20px;
    padding: 0 6px;
    border: 1px solid rgba(255, 255, 255, 0.13);
    border-radius: 3px;
    color: #aeb6b6;
    display: inline-flex;
    align-items: center;
    font-size: 8px;
    font-weight: 820;
}

.project-badge.modrinth {
    border-color: rgba(95, 207, 127, 0.28);
    background: rgba(95, 207, 127, 0.08);
    color: #84dc9d;
}

.project-card-actions {
    width: 100%;
    margin-top: auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 7px;
}

.project-card-actions .button {
    min-width: 0;
    min-height: 34px;
    padding: 0 8px;
    overflow: hidden;
    font-size: 9px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-card-actions .project-details-button {
    border-color: rgba(95, 207, 127, 0.38);
    background: rgba(57, 148, 85, 0.12);
    color: #8de2a6;
}

.project-card-actions .project-details-button:hover {
    border-color: rgba(95, 207, 127, 0.66);
    background: rgba(57, 148, 85, 0.2);
}

.browse-loading span {
    height: 326px;
    border: 1px solid var(--line);
    border-radius: 7px;
    background: linear-gradient(90deg, #171d20, #242c2f, #171d20);
    background-size: 220% 100%;
    animation: loading 1.2s linear infinite;
}

@keyframes loading {
    to {
        background-position: -220% 0;
    }
}

.browse-error {
    min-height: 240px;
    border: 1px solid rgba(213, 104, 109, 0.32);
    background: rgba(213, 104, 109, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 9px;
    text-align: center;
}

.browse-error strong {
    font-size: 16px;
}

.browse-error span {
    color: var(--muted);
    font-size: 11px;
}

.browse-error .button {
    margin-top: 8px;
}

.pagination {
    min-height: 44px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.pagination button {
    min-width: 34px;
    height: 34px;
    padding: 0 9px;
    border: 1px solid #30383b;
    border-radius: 4px;
    background: #151b1e;
    color: #9ba4a6;
    font-size: 9px;
    font-weight: 820;
    cursor: pointer;
}

.pagination button:hover:not(:disabled) {
    border-color: rgba(95, 207, 127, 0.5);
    background: #1c2427;
    color: var(--text);
}

.pagination button.active {
    border-color: rgba(95, 207, 127, 0.62);
    background: rgba(95, 207, 127, 0.1);
    color: #93e2aa;
}

.pagination button:disabled {
    opacity: 0.34;
    cursor: default;
}

.pagination button.active:disabled {
    opacity: 1;
}

.pagination span {
    width: 18px;
    color: #687275;
    text-align: center;
}

.site-footer {
    padding: 27px 0;
    border-top: 1px solid var(--line);
    background: #080b0d;
}

.footer-inner {
    min-height: 54px;
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 32px;
}

.footer-brand {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-brand img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.footer-brand strong,
.footer-brand span {
    display: block;
}

.footer-brand strong {
    font-size: 12px;
}

.footer-brand span,
.copyright {
    margin-top: 3px;
    color: #697376;
    font-size: 10px;
}

.footer-inner nav {
    display: flex;
    gap: 22px;
}

.footer-inner nav a {
    color: #8e989b;
    font-size: 11px;
    font-weight: 650;
}

.footer-inner nav a:hover {
    color: var(--text);
}

dialog {
    padding: 0;
    border: 1px solid var(--line-strong);
    border-radius: 7px;
    background: #111719;
    color: var(--text);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.68);
}

dialog::backdrop {
    background: rgba(2, 4, 5, 0.84);
    backdrop-filter: blur(5px);
}

.dialog-close {
    position: absolute;
    z-index: 5;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 3px;
    background: rgba(7, 10, 11, 0.84);
    color: #dbe0dd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 23px;
    line-height: 1;
    cursor: pointer;
}

.dialog-close:hover {
    border-color: rgba(255, 255, 255, 0.42);
    background: #232b2f;
}

.download-dialog {
    width: min(760px, calc(100% - 32px));
    max-height: min(88vh, 820px);
    padding: 34px;
    overflow: auto;
    scrollbar-color: #495256 #0b0f11;
    scrollbar-width: thin;
}

.download-dialog h2 {
    margin: 8px 0 0;
    font-size: 31px;
    line-height: 1.08;
}

.download-dialog > p {
    margin: 18px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.65;
}

.smartscreen-notice {
    position: relative;
    margin-top: 20px;
    padding: 15px 17px 15px 20px;
    border: 1px solid rgba(255, 190, 48, 0.34);
    background: rgba(255, 176, 23, 0.08);
}

.smartscreen-notice::before {
    content: "";
    position: absolute;
    top: -1px;
    bottom: -1px;
    left: -1px;
    width: 4px;
    background: var(--amber-bright);
}

.smartscreen-notice strong {
    color: #ffd66f;
    display: block;
    font-size: 13px;
    line-height: 1.35;
}

.smartscreen-notice p {
    margin: 6px 0 0;
    color: #c7c1af;
    font-size: 11px;
    line-height: 1.55;
}

.smartscreen-notice b {
    color: #f2efe7;
    font-weight: 750;
}

.smartscreen-help-link {
    width: fit-content;
    max-width: 100%;
    margin-top: 11px;
    color: #f0ca65;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 10px;
    font-weight: 800;
    line-height: 1.45;
}

.smartscreen-help-link:hover,
.smartscreen-help-link:focus-visible {
    color: #fff0bd;
    outline: 0;
}

.smartscreen-help-link span:last-child {
    flex: 0 0 auto;
}

.terms-preview {
    height: min(320px, 36vh);
    min-height: 210px;
    margin-top: 18px;
    border: 1px solid var(--line);
    background: #0b0f11;
    color: #aeb6b7;
    overflow: auto;
    font-size: 11px;
    line-height: 1.6;
    scrollbar-color: #495256 #0b0f11;
    scrollbar-width: thin;
}

.terms-preview-heading {
    position: sticky;
    z-index: 2;
    top: 0;
    min-height: 44px;
    padding: 0 15px;
    border-bottom: 1px solid var(--line);
    background: rgba(15, 20, 22, 0.97);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.terms-preview-heading strong {
    color: #e4e8e6;
    font-size: 11px;
}

.terms-preview-heading a {
    color: var(--amber-bright);
    font-size: 10px;
    font-weight: 700;
    white-space: nowrap;
}

.terms-preview-section {
    padding: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.terms-preview-section:last-child {
    border-bottom: 0;
}

.terms-preview-section h2 {
    margin: 0;
    color: #dde2df;
    font-size: 13px;
    line-height: 1.4;
}

.terms-preview-section p {
    margin: 8px 0 0;
    color: #aeb6b7;
    font-size: 11px;
    line-height: 1.65;
}

.terms-preview-section ul {
    margin: 9px 0 0;
    padding-left: 18px;
}

.terms-preview-section li + li {
    margin-top: 6px;
}

.terms-preview-section a {
    color: var(--amber-bright);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.terms-check {
    margin-top: 18px;
    display: grid;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    color: #c1c8c6;
    font-size: 12px;
    line-height: 1.45;
}

.terms-check input {
    width: 16px;
    height: 16px;
    margin: 1px 0 0;
    accent-color: var(--amber);
}

.terms-check a {
    color: var(--amber-bright);
}

.project-detail-dialog {
    width: min(1260px, calc(100% - 30px));
    height: min(900px, calc(100dvh - 30px));
    max-width: none;
    max-height: none;
    overflow: hidden;
    background: #101518;
}

.project-detail-shell {
    height: 100%;
    padding: 0 30px 38px;
    overflow: auto;
    scrollbar-color: #465054 #101518;
    scrollbar-width: thin;
}

.project-detail-topbar {
    position: sticky;
    z-index: 12;
    top: 0;
    min-height: 58px;
    border-bottom: 1px solid var(--line);
    background: rgba(16, 21, 24, 0.96);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    backdrop-filter: blur(12px);
}

.project-detail-back {
    min-height: 38px;
    padding: 0 10px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #9aa3a5;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-size: 10px;
    font-weight: 820;
    cursor: pointer;
}

.project-detail-back > span:first-child {
    font-size: 17px;
    font-weight: 500;
}

.project-detail-back:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text);
}

.project-detail-provider {
    color: #6f797c;
    font-size: 8px;
    font-weight: 820;
    text-transform: uppercase;
}

.project-detail-loading {
    padding-top: 12px;
}

.project-detail-loading-hero {
    min-height: 260px;
    border-radius: 6px;
    background: linear-gradient(90deg, #1b2225, #293134, #1b2225);
    background-size: 200% 100%;
    animation: loading 1.1s ease-in-out infinite;
}

.project-detail-loading-lines {
    width: min(690px, 80%);
    padding-top: 30px;
    display: grid;
    gap: 12px;
}

.project-detail-loading-lines i {
    height: 12px;
    border-radius: 3px;
    background: linear-gradient(90deg, #1b2225, #293134, #1b2225);
    background-size: 200% 100%;
    animation: loading 1.1s ease-in-out infinite;
}

.project-detail-loading-lines i:nth-child(1) {
    width: 58%;
}

.project-detail-loading-lines i:nth-child(2) {
    width: 94%;
}

.project-detail-loading-lines i:nth-child(3) {
    width: 76%;
}

.project-detail-error {
    min-height: 460px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #879194;
    text-align: center;
}

.project-detail-error strong {
    color: var(--text);
    font-size: 17px;
}

.project-detail-error span {
    max-width: 540px;
    font-size: 11px;
    line-height: 1.6;
}

.project-detail-error .button {
    margin-top: 8px;
}

.project-detail-content {
    padding-top: 12px;
}

.project-detail-hero {
    position: relative;
    min-height: 260px;
    padding: 34px;
    border: 1px solid rgba(10, 14, 16, 0.95);
    border-radius: 6px;
    background-color: #151b1e;
    background-image: var(--project-hero-image);
    background-position: center;
    background-size: cover;
    background-clip: border-box;
    background-origin: border-box;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 26px;
    overflow: hidden;
    isolation: isolate;
}

.project-detail-hero-shade {
    position: absolute;
    inset: -3px;
    background:
        linear-gradient(90deg, rgba(10, 14, 16, 0.93) 0%, rgba(10, 14, 16, 0.72) 40%, rgba(10, 14, 16, 0.27) 72%, rgba(10, 14, 16, 0.04) 100%),
        linear-gradient(0deg, rgba(10, 14, 16, 0.82) 0%, rgba(10, 14, 16, 0.08) 68%);
    box-shadow: inset 0 0 0 3px rgba(10, 14, 16, 0.16);
}

.project-detail-identity,
.project-detail-actions {
    position: relative;
    z-index: 1;
}

.project-detail-identity {
    min-width: 0;
    max-width: 780px;
    display: flex;
    align-items: flex-end;
    gap: 22px;
}

.project-detail-icon {
    width: 96px;
    height: 96px;
    flex: 0 0 96px;
    border: 2px solid rgba(255, 255, 255, 0.17);
    border-radius: 7px;
    background: #273033;
    color: #71d58f;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-size: 32px;
    font-weight: 900;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.3);
}

.project-detail-icon img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.project-detail-title-copy {
    min-width: 0;
}

.project-detail-badges {
    margin-bottom: 9px;
}

.project-detail-title-copy h2 {
    margin: 0;
    color: var(--text);
    font-size: 32px;
    font-weight: 800;
    line-height: 1.08;
    overflow-wrap: anywhere;
}

.project-detail-author {
    margin-top: 5px;
    color: #8fd4a2;
    display: block;
    font-size: 10px;
    font-weight: 760;
}

.project-detail-title-copy p {
    max-width: 680px;
    margin: 10px 0 0;
    color: #b3bbba;
    font-size: 11px;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.project-detail-actions {
    min-width: 170px;
    display: grid;
    gap: 8px;
}

.project-detail-actions .button {
    width: 100%;
    min-height: 38px;
    background-color: rgba(15, 20, 22, 0.86);
    backdrop-filter: blur(8px);
}

.project-detail-actions .button-primary {
    background: var(--amber);
}

.project-detail-actions .button-primary:hover {
    background: var(--amber-bright);
}

.project-detail-tabs {
    min-height: 49px;
    margin: 8px 0 22px;
    border-bottom: 1px solid var(--line);
    display: flex;
    gap: 24px;
}

.project-detail-tabs button {
    position: relative;
    min-height: 48px;
    padding: 0 1px;
    border: 0;
    background: transparent;
    color: #879194;
    font-size: 10px;
    font-weight: 820;
    cursor: pointer;
}

.project-detail-tabs button::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 2px;
    background: transparent;
}

.project-detail-tabs button:hover,
.project-detail-tabs button.active {
    color: var(--text);
}

.project-detail-tabs button.active::after {
    background: var(--amber);
}

.project-detail-layout {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 292px;
    align-items: start;
    gap: 34px;
}

.project-detail-main,
.project-detail-panel {
    min-width: 0;
}

.project-detail-body {
    max-width: 840px;
    color: #b7bebd;
    font-size: 11px;
    line-height: 1.72;
    overflow-wrap: anywhere;
}

.project-detail-body h1,
.project-detail-body h2,
.project-detail-body h3,
.project-detail-body h4,
.project-detail-body h5,
.project-detail-body h6 {
    margin: 28px 0 10px;
    color: var(--text);
    font-weight: 760;
    line-height: 1.28;
}

.project-detail-body h1:first-child,
.project-detail-body h2:first-child,
.project-detail-body h3:first-child,
.project-detail-body h4:first-child {
    margin-top: 0;
}

.project-detail-body h1 {
    font-size: 21px;
}

.project-detail-body h2 {
    font-size: 18px;
}

.project-detail-body h3 {
    font-size: 15px;
}

.project-detail-body h4 {
    font-size: 13px;
}

.project-detail-body h5,
.project-detail-body h6 {
    font-size: 11px;
}

.project-detail-body p {
    margin: 0 0 15px;
}

.project-detail-body ul,
.project-detail-body ol {
    margin: 0 0 16px;
    padding-left: 20px;
}

.project-detail-body li {
    margin: 4px 0;
}

.project-detail-body blockquote {
    margin: 0 0 16px;
    padding: 10px 14px;
    border-left: 2px solid var(--amber);
    background: rgba(211, 166, 63, 0.06);
    color: #aeb6b4;
}

.project-detail-body blockquote > :last-child {
    margin-bottom: 0;
}

.project-detail-body pre {
    max-width: 100%;
    margin: 0 0 16px;
    padding: 13px 14px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #0c1113;
    overflow: auto;
}

.project-detail-body code {
    padding: 2px 4px;
    border-radius: 3px;
    background: #1b2225;
    color: var(--amber-bright);
    font-family: Consolas, monospace;
    font-size: 10px;
}

.project-detail-body pre code {
    padding: 0;
    background: transparent;
    color: #c7cfcc;
}

.project-detail-body a {
    color: #7bd79a;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.project-detail-body hr {
    height: 1px;
    margin: 24px 0;
    border: 0;
    background: var(--line);
}

.project-body-table-wrap {
    max-width: 100%;
    margin: 0 0 18px;
    overflow: auto;
}

.project-detail-body table {
    width: 100%;
    border-collapse: collapse;
    font-size: 10px;
}

.project-detail-body th,
.project-detail-body td {
    padding: 8px 10px;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.project-detail-body th {
    background: #171e21;
    color: #e5e9e4;
}

.project-detail-body input[type="checkbox"] {
    margin: 0 6px 0 0;
    accent-color: var(--amber);
}

.project-body-image {
    width: auto;
    height: auto;
    max-width: 100%;
    margin: 2px 0 18px;
    border-radius: 5px;
    display: block;
}

.project-detail-section-heading {
    min-height: 44px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.project-detail-section-heading h3 {
    margin: 0;
    color: var(--text);
    font-size: 16px;
}

.project-detail-section-heading span {
    color: #778184;
    font-size: 10px;
}

.project-version-list {
    display: grid;
}

.project-version-row {
    min-height: 74px;
    padding: 12px 2px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 18px;
}

.project-version-row.release {
    background: linear-gradient(90deg, rgba(95, 207, 127, 0.045), transparent 52%);
}

.project-version-row.beta {
    background: linear-gradient(90deg, rgba(237, 199, 95, 0.045), transparent 52%);
}

.project-version-row.alpha {
    background: linear-gradient(90deg, rgba(201, 93, 99, 0.04), transparent 52%);
}

.project-version-copy {
    min-width: 0;
    display: grid;
    gap: 6px;
}

.project-version-copy > div {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-version-copy strong {
    overflow: hidden;
    color: #e4e7e1;
    font-size: 12px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-version-copy > span {
    overflow: hidden;
    color: #7d8789;
    font-size: 9px;
    line-height: 1.45;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-version-channel {
    min-height: 19px;
    padding: 0 5px;
    border: 1px solid rgba(104, 200, 136, 0.28);
    border-radius: 3px;
    color: #7bd79a;
    display: inline-flex;
    align-items: center;
    font-size: 7px;
    font-weight: 900;
    text-transform: uppercase;
}

.project-version-channel.beta {
    border-color: rgba(237, 199, 95, 0.32);
    color: var(--amber-bright);
}

.project-version-channel.alpha {
    border-color: rgba(201, 93, 99, 0.35);
    color: #dc969b;
}

.project-version-date {
    color: #879194;
    font-size: 9px;
    white-space: nowrap;
}

.project-gallery-grid {
    padding-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.project-gallery-item {
    min-width: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--text);
    text-align: left;
    cursor: pointer;
}

.project-gallery-image {
    width: 100%;
    height: 220px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: #0c1113;
    display: block;
    object-fit: contain;
    transition: border-color 140ms ease, filter 140ms ease;
}

.project-gallery-item:hover .project-gallery-image {
    border-color: rgba(237, 199, 95, 0.58);
    filter: brightness(0.88);
}

.project-gallery-item strong,
.project-gallery-item small {
    display: block;
}

.project-gallery-item strong {
    margin-top: 9px;
    overflow: hidden;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-gallery-item small {
    min-height: 28px;
    margin-top: 4px;
    overflow: hidden;
    color: #7f898c;
    display: -webkit-box;
    font-size: 9px;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.project-info-panel {
    position: sticky;
    top: 70px;
    padding: 20px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #13191c;
}

.project-facts {
    margin: 14px 0 0;
    padding-top: 8px;
    border-top: 1px solid var(--line);
}

.project-facts > div {
    min-height: 29px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    align-items: center;
    gap: 10px;
}

.project-facts dt,
.project-facts dd {
    min-width: 0;
    margin: 0;
    font-size: 9px;
}

.project-facts dt {
    color: #788285;
}

.project-facts dd {
    overflow: hidden;
    color: #c3cac7;
    font-weight: 730;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-info-group {
    margin-top: 17px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.project-info-group > strong {
    color: #8d9799;
    font-size: 9px;
    font-weight: 820;
    text-transform: uppercase;
}

.project-info-group .tag-list {
    margin-top: 9px;
}

.project-link-list {
    margin-top: 17px;
    padding-top: 10px;
    border-top: 1px solid var(--line);
    display: grid;
}

.project-link-list a {
    min-height: 34px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    color: #9ca5a7;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 9px;
    font-weight: 720;
}

.project-link-list a::after {
    content: "\2197";
    color: #657073;
}

.project-link-list a:hover {
    color: #8ee2a7;
}

.project-detail-empty {
    min-height: 180px;
    color: #7f898c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    text-align: center;
}

.project-gallery-lightbox {
    position: absolute;
    z-index: 30;
    inset: 0;
    padding: 38px 74px 28px;
    background: rgba(4, 7, 8, 0.97);
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr) 48px;
    align-items: center;
    gap: 16px;
}

.project-gallery-lightbox figure {
    min-width: 0;
    height: 100%;
    margin: 0;
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    align-items: center;
}

.project-gallery-lightbox figure img {
    width: 100%;
    height: 100%;
    min-height: 0;
    display: block;
    object-fit: contain;
}

.project-gallery-lightbox figcaption {
    min-height: 58px;
    padding-top: 12px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 4px 18px;
}

.project-gallery-lightbox figcaption strong,
.project-gallery-lightbox figcaption span {
    display: block;
}

.project-gallery-lightbox figcaption strong {
    font-size: 12px;
}

.project-gallery-lightbox figcaption span {
    grid-column: 1;
    color: #8f999c;
    font-size: 10px;
    line-height: 1.5;
}

.project-gallery-lightbox figcaption small {
    grid-column: 2;
    grid-row: 1 / span 2;
    color: #7d878a;
    font-size: 10px;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
    border: 1px solid var(--line-strong);
    background: #151c1f;
    color: #dce1de;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.gallery-lightbox-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    font-size: 23px;
}

.gallery-lightbox-nav {
    width: 44px;
    height: 56px;
    border-radius: 4px;
    font-size: 30px;
}

.gallery-lightbox-nav:hover:not(:disabled),
.gallery-lightbox-close:hover {
    border-color: rgba(237, 199, 95, 0.58);
    background: #20282c;
}

.gallery-lightbox-nav:disabled {
    opacity: 0.25;
    cursor: default;
}

:focus-visible {
    outline: 2px solid var(--amber-bright);
    outline-offset: 3px;
}

@media (max-width: 1040px) {
    .home-hero-image {
        right: -130px;
        width: 1120px;
    }

    .feature-section-heading,
    .library-showcase,
    .catalogue-showcase,
    .creator-showcase,
    .smart-feature-lead,
    .visual-showcase {
        grid-template-columns: 1fr;
    }

    .feature-section-heading {
        align-items: start;
        gap: 24px;
    }

    .feature-section-heading > p {
        max-width: 760px;
    }

    .library-showcase-copy {
        padding: 42px;
    }

    .feature-media-library {
        min-height: 520px;
        border-top: 1px solid var(--line);
        border-left: 0;
    }

    .catalogue-showcase {
        align-items: start;
        gap: 42px;
    }

    .catalogue-navigation {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        column-gap: 38px;
    }

    .catalogue-navigation .feature-kicker,
    .catalogue-navigation .feature-content-links {
        grid-column: 1;
    }

    .catalogue-navigation > p,
    .catalogue-navigation .text-link {
        grid-column: 2;
    }

    .catalogue-navigation > p {
        grid-row: 1 / span 2;
        margin-top: 0;
    }

    .catalogue-navigation .text-link {
        align-self: end;
    }

    .creator-showcase {
        align-items: start;
        gap: 46px;
    }

    .creator-copy {
        max-width: 720px;
    }

    .smart-feature-lead {
        gap: 34px;
    }

    .smart-feature-lead > div {
        max-width: 720px;
        padding-left: 0;
    }

    .visual-showcase {
        align-items: start;
        gap: 40px;
    }

    .visual-detail-list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .visual-detail-list article {
        padding-right: 24px;
    }

    .visual-detail-list article:nth-child(2n) {
        padding-right: 0;
        padding-left: 24px;
        border-left: 1px solid var(--line);
    }

    .section-intro,
    .catalogue-layout,
    .builder-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .section-intro p {
        grid-column: 1;
        grid-row: auto;
    }

    .catalogue-copy {
        position: static;
    }

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

    .utility-lines > div,
    .utility-lines > div:first-child,
    .utility-lines > div:last-child {
        padding: 24px 22px;
        border-right: 1px solid var(--line);
        border-bottom: 1px solid var(--line);
    }

    .utility-lines > div:nth-child(2n) {
        border-right: 0;
    }

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

    .search-field {
        grid-column: 1 / -1;
    }

    .modrinth-grid,
    .browse-loading {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-detail-layout {
        grid-template-columns: minmax(0, 1fr) 260px;
        gap: 24px;
    }
}

@media (max-width: 760px) {
    :root {
        --header-height: 60px;
    }

    .page-width,
    .header-inner {
        width: min(100% - 28px, var(--page-width));
    }

    .header-inner {
        grid-template-columns: 1fr auto;
        gap: 12px;
    }

    .brand img {
        width: 34px;
        height: 34px;
    }

    .brand span {
        font-size: 13px;
    }

    .main-nav {
        display: none;
    }

    .header-actions {
        height: 38px;
        gap: 7px;
    }

    .language-picker {
        width: 80px;
        height: 38px;
        flex-basis: 80px;
    }

    .language-flag {
        width: 20px;
        height: 14px;
        flex-basis: 20px;
    }

    .header-download {
        min-width: 82px;
        height: 38px;
        padding-inline: 14px;
    }

    .home-hero {
        height: min(570px, calc(100dvh - 28px));
        min-height: 500px;
    }

    .home-hero-image {
        top: 4px;
        right: auto;
        left: 50%;
        width: 690px;
        transform: translateX(-50%);
        filter: saturate(0.98) brightness(0.88) contrast(1.04);
        -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 31%, rgba(0, 0, 0, 0.35) 49%, transparent 64%);
        mask-image: linear-gradient(180deg, #000 0%, #000 31%, rgba(0, 0, 0, 0.35) 49%, transparent 64%);
    }

    .home-hero-overlay {
        background: linear-gradient(0deg, #070b0d 0%, rgba(7, 11, 13, 0.98) 41%, rgba(7, 11, 13, 0.14) 76%, rgba(7, 11, 13, 0.24) 100%);
    }

    .home-hero-content {
        justify-content: flex-end;
        padding-bottom: 38px;
    }

    .home-hero h1 {
        font-size: 46px;
    }

    .home-hero-content > p {
        max-width: 520px;
        font-size: 15px;
    }

    .hero-actions {
        width: 100%;
    }

    .hero-actions .button {
        flex: 1 1 160px;
    }

    .hero-status {
        display: none;
    }

    .feature-priority-section,
    .content-showcase-section,
    .smart-features-section,
    .visual-details-section {
        padding: 58px 0;
    }

    .feature-section-heading h2 {
        font-size: 30px;
    }

    .feature-section-heading > p {
        font-size: 12px;
    }

    .library-showcase {
        min-height: 0;
        margin-top: 34px;
    }

    .library-showcase-copy {
        padding: 30px 24px;
    }

    .library-showcase-copy h3,
    .creator-copy h3,
    .smart-feature-lead h3 {
        font-size: 25px;
    }

    .showcase-facts > div {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .feature-media-library {
        min-height: 330px;
    }

    .content-showcase-section .feature-section-heading,
    .smart-features-section .feature-section-heading,
    .visual-details-section .feature-section-heading {
        margin-bottom: 36px;
    }

    .catalogue-media-stack {
        min-height: 400px;
    }

    .feature-media-browse {
        width: 100%;
        height: 285px;
        min-height: 0;
        aspect-ratio: auto;
    }

    .feature-media-details {
        width: 76%;
        height: 220px;
        min-height: 0;
        aspect-ratio: auto;
    }

    .catalogue-navigation {
        display: block;
    }

    .catalogue-navigation > p {
        margin-top: 22px;
    }

    .creator-showcase {
        margin-top: 66px;
        padding-top: 48px;
    }

    .creator-media {
        min-height: 400px;
    }

    .creator-media .feature-media:first-child {
        width: 100%;
        height: 285px;
        min-height: 0;
        aspect-ratio: auto;
    }

    .creator-media .feature-media:last-child {
        width: 76%;
        height: 220px;
        min-height: 0;
        margin-top: 0;
        aspect-ratio: auto;
    }

    .platform-strip {
        grid-template-columns: 1fr;
        margin-top: 52px;
    }

    .platform-strip > div,
    .platform-strip > div:first-child,
    .platform-strip > div:last-child {
        min-height: 92px;
        padding: 18px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .platform-strip > div:last-child {
        border-bottom: 0;
    }

    .smart-feature-lead {
        padding: 26px 22px 22px;
    }

    .smart-feature-lead .feature-media {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .smart-media-grid {
        grid-template-columns: 1fr;
    }

    .smart-media-grid .feature-media {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .smart-text-strip {
        grid-template-columns: 1fr;
        margin-top: 34px;
    }

    .smart-text-strip article,
    .smart-text-strip article:last-child {
        min-height: 120px;
        padding: 24px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .smart-text-strip article:last-child {
        border-bottom: 0;
    }

    .visual-showcase > .feature-media {
        min-height: 0;
        aspect-ratio: 16 / 10;
    }

    .visual-detail-list {
        grid-template-columns: 1fr;
    }

    .visual-detail-list article,
    .visual-detail-list article:nth-child(2n) {
        min-height: 104px;
        padding: 20px 0;
        border-left: 0;
    }

    .product-section,
    .catalogue-section,
    .builder-section,
    .faq-section {
        padding: 56px 0;
    }

    .section-intro h2,
    .catalogue-copy h2,
    .builder-heading h2,
    .download-layout h2 {
        font-size: 29px;
    }

    .product-lines {
        grid-template-columns: 1fr;
    }

    .product-lines article,
    .product-lines article:nth-child(2n) {
        min-height: 116px;
        padding: 22px 0;
        border-right: 0;
    }

    .catalogue-types > a {
        min-height: 84px;
    }

    .utility-lines {
        grid-template-columns: 1fr;
        margin-top: 46px;
    }

    .utility-lines > div,
    .utility-lines > div:first-child,
    .utility-lines > div:last-child,
    .utility-lines > div:nth-child(2n) {
        min-height: 106px;
        padding: 21px 0;
        border-right: 0;
    }

    .faq-layout {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .faq-heading {
        position: static;
    }

    .download-layout {
        align-items: stretch;
        flex-direction: column;
        gap: 23px;
    }

    .download-actions {
        flex-direction: column;
    }

    .browse-main {
        padding: 30px 0 54px;
    }

    .browse-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .browse-heading h1 {
        font-size: 34px;
    }

    .browse-heading > p {
        max-width: 620px;
    }

    .browse-toolbar {
        grid-template-columns: 1fr;
    }

    .search-field {
        grid-column: auto;
    }

    .modrinth-grid,
    .browse-loading {
        grid-template-columns: 1fr;
    }

    .pagination {
        flex-wrap: wrap;
    }

    .site-footer .footer-inner {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 20px;
    }

    .footer-inner nav {
        flex-wrap: wrap;
        gap: 12px 20px;
    }

    .download-dialog {
        width: calc(100% - 18px);
        max-height: calc(100dvh - 18px);
        padding: 24px 20px;
    }

    .download-dialog h2 {
        font-size: 25px;
    }

    .smartscreen-notice {
        padding: 13px 14px 13px 17px;
    }

    .terms-preview {
        height: min(280px, 34vh);
        min-height: 180px;
    }

    .terms-preview-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 2px;
        padding-top: 9px;
        padding-bottom: 9px;
    }

    .dialog-actions .button {
        flex: 1 1 145px;
    }

    .project-detail-dialog {
        width: 100%;
        height: 100dvh;
        border: 0;
        border-radius: 0;
    }

    .project-detail-shell {
        padding: 0 14px 28px;
    }

    .project-detail-provider {
        display: none;
    }

    .project-detail-content {
        padding-top: 8px;
    }

    .project-detail-hero {
        min-height: 390px;
        padding: 24px 20px;
        align-items: flex-start;
        flex-direction: column;
        justify-content: flex-end;
        gap: 20px;
    }

    .project-detail-hero-shade {
        background:
            linear-gradient(0deg, rgba(10, 14, 16, 0.97) 0%, rgba(10, 14, 16, 0.8) 51%, rgba(10, 14, 16, 0.12) 100%),
            linear-gradient(90deg, rgba(10, 14, 16, 0.68), rgba(10, 14, 16, 0.16));
    }

    .project-detail-identity {
        align-items: flex-start;
        flex-direction: column;
        gap: 14px;
    }

    .project-detail-icon {
        width: 76px;
        height: 76px;
        flex-basis: 76px;
    }

    .project-detail-title-copy h2 {
        font-size: 26px;
    }

    .project-detail-actions {
        width: 100%;
        min-width: 0;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .project-detail-actions .button {
        min-width: 0;
        padding: 0 10px;
        font-size: 9px;
    }

    .project-detail-tabs {
        overflow-x: auto;
    }

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

    .project-info-panel {
        position: static;
        order: -1;
    }

    .project-gallery-grid {
        grid-template-columns: 1fr;
    }

    .project-gallery-image {
        height: 210px;
    }

    .project-gallery-lightbox {
        padding: 54px 10px 18px;
        grid-template-columns: 34px minmax(0, 1fr) 34px;
        gap: 6px;
    }

    .gallery-lightbox-nav {
        width: 34px;
        height: 48px;
    }

    .project-gallery-lightbox figcaption {
        grid-template-columns: 1fr auto;
    }
}

@media (max-width: 430px) {
    .brand span {
        display: none;
    }

    .project-card-actions {
        grid-template-columns: 1fr;
    }

    .project-detail-actions {
        grid-template-columns: 1fr;
    }

    .project-detail-hero {
        min-height: 430px;
    }
}

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

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}

/* Home page: open, player-focused feature layout. */
.player-core-section,
.player-tools-section,
.player-details-section {
    border-bottom: 1px solid var(--line);
}

.player-core-section {
    padding: 86px 0 0;
    background: #0d1214;
}

.player-core-continuation {
    padding: 0 0 82px;
}

.player-tools-section {
    padding: 84px 0;
    background: #090d0f;
}

.player-details-section {
    padding: 78px 0 86px;
    background: #0d1214;
}

.player-section-heading {
    display: grid;
    grid-template-columns: minmax(340px, 0.9fr) minmax(440px, 1.1fr);
    align-items: end;
    gap: 80px;
}

.player-section-heading h2 {
    max-width: 650px;
    margin: 9px 0 0;
    font-size: 41px;
    line-height: 1.09;
    letter-spacing: 0;
}

.player-section-heading > p {
    max-width: 610px;
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.7;
}

.player-feature-row {
    margin-top: 52px;
    padding: 68px 0;
    border-top: 1px solid var(--line-strong);
    display: grid;
    grid-template-columns: minmax(290px, 0.72fr) minmax(560px, 1.28fr);
    align-items: center;
    gap: 64px;
}

.player-core-continuation .player-feature-row {
    margin-top: 0;
}

.player-feature-row-reverse {
    grid-template-columns: minmax(560px, 1.28fr) minmax(290px, 0.72fr);
}

.player-feature-copy {
    min-width: 0;
}

.player-feature-copy h3,
.player-builder-row h3 {
    max-width: 520px;
    margin: 10px 0 0;
    font-size: 31px;
    line-height: 1.12;
    letter-spacing: 0;
}

.player-feature-copy > p,
.player-builder-row .player-feature-copy > p {
    max-width: 510px;
    margin: 16px 0 0;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.72;
}

.player-feature-media {
    min-height: 0;
    aspect-ratio: 16 / 10;
    border-radius: 5px;
    box-shadow: 0 22px 52px rgba(0, 0, 0, 0.3);
}

.player-inline-facts {
    margin-top: 27px;
    display: flex;
    flex-wrap: wrap;
    gap: 11px 25px;
}

.player-inline-facts span {
    padding-left: 11px;
    border-left: 2px solid var(--amber);
    color: #bbc3c1;
    font-size: 9px;
    font-weight: 760;
    line-height: 1.4;
}

.player-category-links {
    margin-top: 25px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px 22px;
}

.player-category-links a {
    padding: 7px 0 5px;
    border-bottom: 1px solid #445054;
    color: #c8cecc;
    font-size: 10px;
    font-weight: 780;
}

.player-category-links a:hover {
    border-color: var(--modrinth);
    color: #89dfa2;
}

.player-feature-copy > .text-link {
    margin-top: 27px;
}

.player-builder-row {
    padding: 70px 0;
    border-top: 1px solid var(--line-strong);
    display: grid;
    grid-template-columns: minmax(290px, 0.72fr) minmax(560px, 1.28fr);
    align-items: center;
    gap: 64px;
}

.player-steps {
    margin: 0;
    padding: 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    list-style: none;
}

.player-steps li {
    min-width: 0;
    min-height: 150px;
    padding: 25px 23px;
    border-right: 1px solid var(--line);
}

.player-steps li:first-child {
    padding-left: 0;
}

.player-steps li:last-child {
    padding-right: 0;
    border-right: 0;
}

.player-steps li > span,
.player-tool-list article > span {
    color: var(--amber-bright);
    font-size: 8px;
    font-weight: 850;
}

.player-steps strong,
.player-steps small {
    display: block;
}

.player-steps strong {
    margin-top: 15px;
    font-size: 11px;
}

.player-steps small {
    margin-top: 7px;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.55;
}

.player-platform-line {
    padding: 24px 0;
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.player-platform-line span {
    min-width: 0;
    padding: 0 25px;
    border-right: 1px solid var(--line);
    color: #aeb7b5;
    font-size: 9px;
    font-weight: 730;
    line-height: 1.5;
}

.player-platform-line span:first-child {
    padding-left: 0;
}

.player-platform-line span:last-child {
    padding-right: 0;
    border-right: 0;
}

.player-tool-list {
    margin-top: 50px;
    border-bottom: 1px solid var(--line-strong);
}

.player-tool-list article {
    min-height: 92px;
    padding: 23px 0;
    border-top: 1px solid var(--line-strong);
    display: grid;
    grid-template-columns: 42px minmax(260px, 0.8fr) minmax(340px, 1.2fr);
    align-items: center;
    gap: 25px;
}

.player-tool-list h3,
.player-tool-list p,
.player-detail-list h3,
.player-detail-list p {
    margin: 0;
}

.player-tool-list h3 {
    font-size: 15px;
    line-height: 1.3;
}

.player-tool-list p {
    max-width: 650px;
    color: var(--muted);
    font-size: 10px;
    line-height: 1.62;
}

.player-detail-list {
    margin-top: 48px;
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.player-detail-list article {
    min-width: 0;
    min-height: 150px;
    padding: 27px 24px;
    border-right: 1px solid var(--line);
}

.player-detail-list article:first-child {
    padding-left: 0;
}

.player-detail-list article:last-child {
    padding-right: 0;
    border-right: 0;
}

.player-detail-list h3 {
    font-size: 12px;
    line-height: 1.35;
}

.player-detail-list p {
    margin-top: 9px;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.58;
}

@media (max-width: 1040px) {
    .player-section-heading,
    .player-feature-row,
    .player-feature-row-reverse,
    .player-builder-row {
        grid-template-columns: 1fr;
    }

    .player-section-heading {
        align-items: start;
        gap: 18px;
    }

    .player-feature-row,
    .player-builder-row {
        gap: 34px;
    }

    .player-feature-copy > p,
    .player-builder-row .player-feature-copy > p {
        max-width: 680px;
    }

    .player-tool-list article {
        grid-template-columns: 36px minmax(0, 1fr);
        gap: 7px 18px;
    }

    .player-tool-list article > p {
        grid-column: 2;
    }

    .player-detail-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .player-detail-list article:nth-child(2) {
        border-right: 0;
    }

    .player-detail-list article:nth-child(-n + 2) {
        border-bottom: 1px solid var(--line);
    }

    .player-detail-list article:nth-child(3) {
        padding-left: 0;
    }
}

@media (max-width: 760px) {
    .player-core-section {
        padding-top: 58px;
    }

    .player-core-continuation {
        padding-top: 0;
        padding-bottom: 58px;
    }

    .player-tools-section,
    .player-details-section {
        padding: 58px 0;
    }

    .player-section-heading h2 {
        font-size: 30px;
    }

    .player-section-heading > p {
        font-size: 11px;
    }

    .player-feature-row {
        margin-top: 37px;
        padding: 46px 0;
        gap: 25px;
    }

    .player-core-continuation .player-feature-row {
        margin-top: 0;
    }

    .player-feature-copy h3,
    .player-builder-row h3 {
        font-size: 25px;
    }

    .player-feature-copy > p,
    .player-builder-row .player-feature-copy > p {
        font-size: 10px;
    }

    .player-feature-media {
        width: 100%;
        aspect-ratio: 16 / 10;
    }

    .player-inline-facts {
        align-items: flex-start;
        flex-direction: column;
    }

    .player-builder-row {
        padding: 46px 0;
        gap: 29px;
    }

    .player-steps {
        grid-template-columns: 1fr;
    }

    .player-steps li,
    .player-steps li:first-child,
    .player-steps li:last-child {
        min-height: 0;
        padding: 20px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .player-steps li:last-child {
        border-bottom: 0;
    }

    .player-steps strong {
        margin-top: 9px;
    }

    .player-platform-line {
        grid-template-columns: 1fr;
        padding: 0;
    }

    .player-platform-line span,
    .player-platform-line span:first-child,
    .player-platform-line span:last-child {
        padding: 15px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .player-platform-line span:last-child {
        border-bottom: 0;
    }

    .player-tool-list {
        margin-top: 36px;
    }

    .player-tool-list article {
        min-height: 0;
        padding: 21px 0;
        grid-template-columns: 26px minmax(0, 1fr);
        gap: 7px 10px;
    }

    .player-tool-list h3 {
        font-size: 13px;
    }

    .player-tool-list p {
        font-size: 9px;
    }

    .player-detail-list {
        margin-top: 35px;
        grid-template-columns: 1fr;
    }

    .player-detail-list article,
    .player-detail-list article:first-child,
    .player-detail-list article:nth-child(3),
    .player-detail-list article:last-child {
        min-height: 0;
        padding: 20px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .player-detail-list article:last-child {
        border-bottom: 0;
    }
}

/* Short home story: two client views and three quick reasons to use it. */
.home-showcase-section,
.home-discover-section {
    border-bottom: 1px solid var(--line);
}

.home-showcase-section {
    padding: 94px 0 92px;
    background: #0d1214;
}

.home-discover-section {
    padding: 86px 0 92px;
    background: #090d0f;
}

.home-showcase {
    display: grid;
    grid-template-columns: minmax(300px, 0.62fr) minmax(600px, 1.38fr);
    align-items: center;
    gap: 58px;
}

.home-showcase-reverse {
    grid-template-columns: minmax(600px, 1.38fr) minmax(300px, 0.62fr);
}

.home-showcase-copy {
    min-width: 0;
}

.home-showcase-copy h2 {
    max-width: 520px;
    margin: 10px 0 0;
    font-size: 43px;
    line-height: 1.08;
    letter-spacing: 0;
}

.home-showcase-copy > p {
    max-width: 510px;
    margin: 19px 0 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.72;
}

.home-showcase-copy > .text-link {
    margin-top: 30px;
}

.home-showcase-media {
    min-height: 0;
    aspect-ratio: 1280 / 828;
    border-radius: 5px;
    box-shadow: 0 24px 56px rgba(0, 0, 0, 0.34);
}

.home-showcase-media.has-image {
    aspect-ratio: auto;
}

.home-showcase-media.has-image img {
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    background: transparent;
    object-fit: contain;
}

.home-showcase-media.has-image::after {
    content: "";
    position: absolute;
    z-index: 1;
    inset: -1px;
    background:
        linear-gradient(90deg, rgba(7, 11, 13, 0.58) 0%, rgba(7, 11, 13, 0.14) 1.8%, transparent 4.8%, transparent 96%, rgba(7, 11, 13, 0.32) 100%),
        linear-gradient(180deg, rgba(7, 11, 13, 0.3) 0%, transparent 4%, transparent 95%, rgba(7, 11, 13, 0.38) 100%);
    pointer-events: none;
}

.home-showcase-points {
    margin: 31px 0 0;
    padding: 0;
    border-top: 1px solid var(--line);
    list-style: none;
}

.home-showcase-points li {
    padding: 15px 0;
    border-bottom: 1px solid var(--line);
}

.home-showcase-points strong,
.home-showcase-points span {
    display: block;
}

.home-showcase-points strong {
    font-size: 11px;
    line-height: 1.4;
}

.home-showcase-points span {
    margin-top: 4px;
    color: #818c8f;
    font-size: 9px;
    line-height: 1.52;
}

.home-feature-strip {
    margin-top: 82px;
    border-top: 1px solid var(--line-strong);
    border-bottom: 1px solid var(--line-strong);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-feature-strip article {
    min-width: 0;
    min-height: 144px;
    padding: 28px 28px;
    border-right: 1px solid var(--line);
}

.home-feature-strip article:first-child {
    padding-left: 0;
}

.home-feature-strip article:last-child {
    padding-right: 0;
    border-right: 0;
}

.home-feature-strip h3,
.home-feature-strip p {
    margin: 0;
}

.home-feature-strip h3 {
    font-size: 14px;
    line-height: 1.35;
}

.home-feature-strip p {
    margin-top: 10px;
    color: var(--muted);
    font-size: 9px;
    line-height: 1.62;
}

@media (max-width: 1040px) {
    .home-showcase,
    .home-showcase-reverse {
        grid-template-columns: 1fr;
        gap: 38px;
    }

    .home-showcase-copy > p {
        max-width: 680px;
    }

}

@media (max-width: 760px) {
    .home-showcase-section {
        padding: 58px 0 62px;
    }

    .home-discover-section {
        padding: 58px 0 64px;
    }

    .home-showcase,
    .home-showcase-reverse {
        gap: 29px;
    }

    .home-showcase-copy h2 {
        font-size: 32px;
    }

    .home-showcase-copy > p {
        margin-top: 15px;
        font-size: 11px;
    }

    .home-showcase-points {
        margin-top: 25px;
    }

    .home-showcase-media {
        width: 100%;
    }

    .home-feature-strip {
        margin-top: 52px;
        grid-template-columns: 1fr;
    }

    .home-feature-strip article,
    .home-feature-strip article:first-child,
    .home-feature-strip article:last-child {
        min-height: 0;
        padding: 22px 0;
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .home-feature-strip article:last-child {
        border-bottom: 0;
    }

    .home-hero-image {
        opacity: 0.82;
    }

    .home-hero-overlay {
        background:
            linear-gradient(0deg, #070b0d 0%, rgba(7, 11, 13, 0.98) 43%, rgba(7, 11, 13, 0.24) 78%, rgba(7, 11, 13, 0.52) 100%),
            linear-gradient(90deg, rgba(7, 11, 13, 0.58) 0%, transparent 16%, transparent 84%, rgba(7, 11, 13, 0.58) 100%);
    }
}
