:root {
    --forge-bg: #080e14;
    --forge-surface: #101b25;
    --forge-line: #293c4a;
    --forge-text: #edf4f8;
    --forge-muted: #adc0cd;
    --forge-cyan: #6ce4f3;
    --forge-amber: #ffbc68;
    --bs-body-bg: var(--forge-bg);
    --bs-body-color: var(--forge-text);
    --bs-link-color: var(--forge-cyan);
    --bs-link-hover-color: #b5f6ff;
    --bs-border-color: var(--forge-line);
    scroll-padding-top: 6rem;
}

body { font-family: "Segoe UI", system-ui, sans-serif; font-size: 1rem; line-height: 1.65; }
::selection { background: #6ce4f3; color: #080e14; }
img { max-width: 100%; height: auto; }
a { text-underline-offset: .22em; }
:focus-visible { outline: 3px solid var(--forge-amber); outline-offset: 5px; }
h1, h2, h3, .brand { line-height: 1.1; font-weight: 650; letter-spacing: -.045em; }
h1 { font-size: clamp(2.8rem, 5.4vw, 5.5rem); margin-bottom: 1.6rem; }
h2 { font-size: clamp(2.5rem, 4.2vw, 4rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.4rem; letter-spacing: -.025em; }
p { color: var(--forge-muted); }
.small, small { font-size: .875rem; }
.container { max-width: 1256px; padding-inline: 28px; }
.section-space { padding-block: 104px; }
.section-intro { font-size: 1.18rem; line-height: 1.65; }
.eyebrow { color: var(--forge-cyan); font-size: .875rem; font-weight: 650; letter-spacing: .13em; text-transform: uppercase; margin-bottom: 1.5rem; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 2000; padding: .6rem 1rem; color: #080e14; background: var(--forge-amber); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.site-header { position: sticky; top: 0; z-index: 1030; background: #080e14f5; border-bottom: 1px solid #243440; backdrop-filter: blur(16px); }
.navbar { min-height: 88px; }
.brand { display: inline-flex; gap: .7rem; align-items: center; color: var(--forge-text); font-size: 1.28rem; text-decoration: none; letter-spacing: -.025em; }
.brand img { width: 42px; height: 48px; object-fit: contain; }
.brand-studio { color: var(--forge-cyan); font-weight: 400; }
.navbar .nav-link { color: #c2d0da; font-size: .94rem; padding: .8rem .5rem; }
.navbar .nav-link:hover, .navbar .nav-link:focus { color: #fff; }
.btn { font-weight: 650; font-size: 1rem; padding: .9rem 1.35rem; border-radius: .35rem; line-height: 1.4; transition: background-color .2s, border-color .2s, box-shadow .2s, transform .2s; }
.btn-sm { padding: .65rem 1.2rem; font-size: .94rem; }
.btn-forge { color: #07131a; background: linear-gradient(110deg, #8af0f8, #42c8df); border: 1px solid #a1f6ff; box-shadow: 0 0 24px #33c5df16, inset 0 1px #d9fbff; }
.btn-forge:hover, .btn-forge:focus-visible { color: #07131a; background: #b5f6ff; border-color: #d6fbff; box-shadow: 0 0 28px #33c5df40; }
.btn-outline-light { border-color: #526571; color: #edf4f8; }
.btn-outline-light:hover { background: #1d303d; color: #fff; border-color: #8da7b8; }
.hero { position: relative; padding-top: 48px; overflow: hidden; background: radial-gradient(ellipse at 77% 40%, #12334170, transparent 53%), #080e14; }
.hero::before { content: ""; position: absolute; inset: 0; opacity: .12; background-image: linear-gradient(#63808f35 1px, transparent 1px), linear-gradient(90deg, #63808f35 1px, transparent 1px); background-size: 64px 64px; mask-image: linear-gradient(90deg, transparent 35%, #000); pointer-events: none; }
.hero-copy { position: relative; z-index: 1; padding-block: 30px; }
.hero .eyebrow { letter-spacing: .075em; display: flex; flex-wrap: wrap; gap: .9rem; align-items: center; font-size: .8rem; }
.beta-label { color: var(--forge-amber); border: 1px solid #8b65403d; background: #ffbc680b; padding: .3rem .6rem; border-radius: .25rem; }
h1 em { font-style: normal; color: var(--forge-cyan); }
.hero-description { max-width: 480px; font-size: 1.18rem; margin-bottom: 2rem; }
.hero-note { max-width: 480px; font-size: 1rem; font-weight: 650; color: var(--forge-text); }
.hero-note li { position: relative; padding: .8rem 1.1rem; border: 1px solid #456979; border-left: 3px solid var(--forge-cyan); border-radius: .3rem; background: linear-gradient(115deg, #173f4b 0%, #173f4b 68%, #20313e 68%, #101b25 100%); box-shadow: inset 0 1px #b5f6ff14; }
.forge-hero { position: relative; display: grid; place-items: center; min-height: 580px; }
.forge-art { position: relative; width: 100%; max-width: 600px; filter: drop-shadow(0 14px 45px #0009); }

.forge-halo { position: absolute; width: 75%; aspect-ratio: 1; border-radius: 50%; background: #49ddef10; box-shadow: 0 0 100px #31c5e517; }
.art-caption { text-align: center; font-size: .8rem; color: #92a7b6; margin-top: -.3rem; }
.hero-bottom { border-top: 1px solid #2b3d48; padding-block: 25px; margin-top: 42px; font-size: .875rem; color: #adc0cd; }
.material-note b { color: var(--forge-amber); margin-inline: .8rem; font-weight: 400; }
.workflow-section { background: linear-gradient(#0c151d, #080e14); border-top: 1px solid #142430; }
.workbench { border: 1px solid #405563; border-radius: 12px; overflow: hidden; background: #101b25; box-shadow: 0 20px 80px #0004, inset 0 1px #708b9b33; }
.workbench-bar { padding: 18px 28px; background: linear-gradient(#263541, #15232e); border-bottom: 1px solid #405563; }
.workbench-title { font-weight: 600; }
.demo-label { font-size: .8rem; color: #bfd1dd; }
.workbench-controls { padding: 34px; }
.workflow-tabs { gap: .5rem; border-bottom: 1px solid #304450; padding-bottom: 22px; margin-bottom: 28px; }
.workflow-tabs .nav-link { color: #bcd0df; font-size: .94rem; padding: .6rem .85rem; border: 1px solid transparent; }
.workflow-tabs .nav-link.active { color: #a1f2fc; background: #1a3a47; border-color: #376270; }
.tab-content h3 { margin-bottom: 1rem; }
.tab-content > .tab-pane { min-height: 340px; }
.demo-fields { margin-top: 25px; max-width: 390px; }
.form-label { color: #e3edf4; font-size: .94rem; }
.form-control { background: #080f16; border-color: #49606e; padding: .7rem .9rem; }
.form-control:focus { background: #080f16; border-color: var(--forge-cyan); box-shadow: 0 0 0 .2rem #6ce4f322; color: #fff; }
.form-range::-webkit-slider-thumb { background: var(--forge-cyan); }
.form-range::-moz-range-thumb { background: var(--forge-cyan); }
.form-range::-webkit-slider-runnable-track { background: #3c5362; }
.form-range::-moz-range-track { background: #3c5362; }
#energy-value { color: var(--forge-amber); font-weight: 700; }
.sample-stage { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 20px; padding: 35px; border-left: 1px solid #314653; background: radial-gradient(ellipse at center, #18526640, #08131d 70%); }
.sample-card { position: relative; width: 270px; max-width: 100%; border: 2px solid #7895a4; border-radius: 17px; padding: 10px; background: linear-gradient(135deg, #263b4a, #071722 45%, #2b424d); box-shadow: 0 22px 30px #0007, 0 0 28px #2ec5e01c, inset 0 0 0 3px #0a151e; transform: rotate(3deg); }
.sample-card-top { display: flex; align-items: center; justify-content: space-between; gap: .5rem; padding: 8px; font-size: 1.1rem; font-weight: 650; }
#sample-name { overflow-wrap: anywhere; line-height: 1.2; }
.energy-disc { flex-shrink: 0; display: grid; place-items: center; width: 33px; height: 33px; border-radius: 50%; color: #ffcf85; background: #181e21; border: 1px solid #b78444; box-shadow: 0 0 15px #ff9b2320; }
.sample-card img { width: 100%; padding-inline: 7px; }
.sample-card-bottom { padding: 12px 9px 8px; border-top: 1px solid #4b6876; }
.sample-kind { font-size: .75rem; color: var(--forge-cyan); text-transform: uppercase; letter-spacing: .06em; }
.sample-card-bottom p { color: #e0e9ef; font-size: .94rem; margin: 8px 0; }
.sample-caption { text-align: center; margin: 8px 0 0; color: #9bb4c2; }
.code-label { color: #a9bdcc; font-size: .8rem; margin-top: 24px; }
pre[class*="language-"] { font-size: .9rem; background: #080f16; border: 1px solid #304450; border-radius: 6px; padding: 1rem; margin-block: .6rem 1.25rem; }
.export-lines { margin-top: 1.5rem; }
.export-lines > div { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; padding-block: 14px; border-bottom: 1px solid #304450; }
.export-lines span { color: #b3c7d5; }
.workflow-notes > div { padding-right: 48px; }
.workflow-notes h3 { font-size: 1.3rem; margin-bottom: .8rem; }
.workflow-notes p { margin: 0; }
.ownership-section { position: relative; background: #0e1821; border-block: 1px solid #233744; overflow: hidden; }
.showcase-section { border-top: 1px solid #233744; }
.showcase-empty { display: flex; align-items: center; gap: 55px; padding: 40px 50px; border-block: 1px solid #304653; background: radial-gradient(ellipse at 15% 50%, #164b5b40, transparent 60%); }
.showcase-slot { position: relative; width: 180px; height: 170px; flex-shrink: 0; }
.showcase-slot span { position: absolute; width: 95px; height: 140px; left: 40px; top: 10px; border: 1px solid #83c8d5; border-radius: 8px; background: linear-gradient(135deg, #1e3f4d, #0c1a24); box-shadow: inset 0 0 0 6px #0d2430, 0 8px 20px #0005; }
.showcase-slot span:first-child { transform: translateX(-30px) rotate(-15deg); }
.showcase-slot span:last-child { transform: translateX(30px) rotate(15deg); }
.showcase-media { position: relative; height: 390px; margin-bottom: 30px; border-bottom: 1px solid #38505f; background: radial-gradient(ellipse at 50% 55%, #21526638, transparent 70%); }
.showcase-media figcaption { position: absolute; bottom: 10px; width: 100%; color: #aec3d0; font-size: .8rem; text-align: center; }
.showcase-image { position: absolute; display: block; transition: transform .2s; filter: drop-shadow(0 15px 12px #0008); }
.card-fan .showcase-image { width: 190px; max-width: 40%; left: calc(50% - 95px); top: 28px; }
.card-fan .showcase-image:nth-child(1) { transform: translateX(-100px) rotate(-14deg); }
.card-fan .showcase-image:nth-child(2) { z-index: 2; }
.card-fan .showcase-image:nth-child(3) { transform: translateX(100px) rotate(14deg); }
.showcase-image img { display: block; border-radius: 10px; }
.card-fan .showcase-image:hover, .card-fan .showcase-image:focus-visible { z-index: 3; transform: translateY(-10px); }
.project-emblem .showcase-image { width: 230px; left: calc(50% - 115px); top: 45px; }
.project-emblem::before { content: ""; position: absolute; width: 270px; height: 270px; border: 1px solid #335c70; border-radius: 50%; left: calc(50% - 135px); top: 25px; box-shadow: 0 0 70px #1e86ac20; }
.showcase-section h3 { font-size: 1.8rem; }
.showcase-carousel { border: 1px solid #38505f; border-radius: 10px; overflow: hidden; background: #0c1923; }
.showcase-slide-media { display: flex; justify-content: center; align-items: center; width: 100%; aspect-ratio: 4 / 3; padding: 16px; background: radial-gradient(ellipse, #214454, #08131b 75%); }
.showcase-slide-media img, .showcase-slide-media video { width: 100%; height: 100%; object-fit: contain; min-height: 0; }
.showcase-carousel-controls { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px; border-top: 1px solid #38505f; }
.showcase-video { display: block; width: 100%; max-height: 360px; margin-block: 20px; background: #050b10; border: 1px solid #38505f; border-radius: 8px; }
.text-link { display: inline-block; margin-top: 1rem; font-weight: 600; }
.project-illustration { position: relative; min-height: 460px; display: flex; align-items: center; justify-content: center; }
.project-glow { position: absolute; width: 80%; height: 80%; background: radial-gradient(#6ce4f31b, transparent 70%); }
.file-sheet { border: 1px solid #627c8a; border-radius: 10px; padding: 32px; background: linear-gradient(145deg, #223744, #0c1720); box-shadow: 0 20px 40px #0005, inset 0 1px #acc2cd30; }
.file-sheet-front { position: relative; width: 82%; max-width: 370px; transform: rotate(-5deg); }
.file-sheet-label { font-size: .75rem; font-weight: 600; letter-spacing: .09em; color: #80dce9; }
.file-sheet h3 { margin-block: 25px; font-size: 2.2rem; }
.file-row { display: flex; justify-content: space-between; gap: 1rem; padding: 13px 0; border-top: 1px solid #38505f; font-size: .9rem; color: #c3d5df; }
.file-row b { color: #ffcc8e; font-family: Consolas, monospace; font-weight: 400; }
.file-sheet-back { position: absolute; width: 65%; height: 370px; transform: translate(42px, -20px) rotate(10deg); background: #182733; color: #77ddea; }
.code-strokes { margin-top: 25px; height: 230px; background: repeating-linear-gradient(transparent 0 17px, #49616e 17px 19px, transparent 19px 27px); opacity: .5; }
.accordion { --bs-accordion-bg: transparent; --bs-accordion-border-color: #304450; --bs-accordion-color: #b7c9d6; --bs-accordion-active-bg: transparent; --bs-accordion-active-color: #88eaf5; --bs-accordion-btn-color: #e3edf4; --bs-accordion-btn-focus-box-shadow: 0 0 0 .2rem #6ce4f333; }
.accordion-button { font-size: 1.1rem; padding: 25px 0; font-weight: 550; line-height: 1.45; letter-spacing: 0; }
.accordion-body { padding: 0 35px 25px 0; }
.download-section { position: relative; padding-block: 85px; background: radial-gradient(ellipse at 90% 70%, #16445780, transparent 60%), #0e1b25; border-block: 1px solid #3a5362; overflow: hidden; }
.download-section::before, .feature-section::before { content: ""; position: absolute; width: 210px; height: 3px; top: 0; left: 10%; background: var(--forge-cyan); box-shadow: 0 0 24px var(--forge-cyan); }
.download-section h2 { font-size: clamp(3rem, 5.5vw, 4.8rem); }
.community-links { position: relative; padding-left: 20px; }
.community-links::before { content: ""; position: absolute; top: 65px; bottom: 65px; left: 80px; width: 7px; background: linear-gradient(90deg, #435969, #7e99a7 25%, #142631 45%, #55d6e9 75%, #18242e); }
.illustrated-link { position: relative; display: flex; align-items: center; gap: 22px; color: #e8f3f9; text-decoration: none; margin-block: 24px; font-size: 1.1rem; font-weight: 600; }
.illustrated-link small { display: block; color: #a9bdcc; font-weight: 400; margin-top: 4px; }
.button-art { position: relative; display: block; width: 124px; flex-shrink: 0; aspect-ratio: 1; }
.button-art img { width: 100%; height: 100%; object-fit: contain; }
.button-art .hover-art { position: absolute; inset: 0; opacity: 0; transition: opacity .2s; }
.illustrated-link:hover .hover-art, .illustrated-link:focus-visible .hover-art { opacity: 1; }
.illustrated-link:hover { color: var(--forge-cyan); }
.site-footer { padding-block: 42px; }
.site-footer nav a { color: #b2c5d1; font-size: .875rem; }
@media (min-width: 1400px) { .hero { padding-top: 65px; } }
@media (max-width: 1199.98px) {
    h1 { font-size: 4.3rem; }
    .forge-hero { min-height: 490px; }
    .hero-actions .btn { padding-inline: 1rem; font-size: .94rem; }
}
@media (max-width: 991.98px) {
    .navbar-collapse { padding-block: 16px; }
    .navbar-nav { align-items: flex-start; }
    .navbar-nav .btn { margin-top: 8px; }
    .hero { padding-top: 32px; }
    h1 { font-size: clamp(3rem, 7.5vw, 4.7rem); }
    .hero-copy { max-width: 660px; }
    .hero-description { max-width: 570px; }
    .forge-hero { min-height: 0; max-width: 520px; margin-inline: auto; }
    .hero-bottom { margin-top: 30px; }
    .section-space { padding-block: 72px; }
    .sample-stage { border-left: 0; border-top: 1px solid #314653; }
    .tab-content > .tab-pane { min-height: 315px; }
    .project-illustration { max-width: 550px; margin-inline: auto; }
    .community-links { display: flex; padding-left: 0; gap: 32px; }
    .community-links::before { display: none; }
    .illustrated-link { gap: 12px; flex: 1; font-size: 1rem; }
    .button-art { width: 88px; }
}
@media (max-width: 575.98px) {
    .showcase-empty { flex-direction: column; gap: 20px; padding: 25px 15px; text-align: center; }
    .showcase-media { height: 330px; }
    .card-fan .showcase-image { width: 155px; left: calc(50% - 77.5px); }
    .card-fan .showcase-image:nth-child(1) { transform: translateX(-65px) rotate(-14deg); }
    .card-fan .showcase-image:nth-child(3) { transform: translateX(65px) rotate(14deg); }
    .project-emblem .showcase-image { width: 200px; left: calc(50% - 100px); top: 35px; }
    .project-emblem::before { width: 240px; height: 240px; left: calc(50% - 120px); top: 15px; }
    .container { padding-inline: 22px; }
    .navbar { min-height: 76px; }
    .brand { font-size: 1.04rem; gap: .4rem; }
    .brand img { width: 32px; height: 40px; }
    .navbar-toggler { padding: .35rem; }
    .hero-copy { padding-top: 12px; }
    .hero .eyebrow { font-size: .75rem; gap: .65rem; }
    h1 { font-size: clamp(2.65rem, 10.5vw, 3.7rem); }
    .hero-description, .section-intro { font-size: 1.06rem; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn { padding-block: 1rem; }
    .hero-bottom { font-size: .8rem; }
    .material-note b { margin-inline: .4rem; }
    .section-space { padding-block: 58px; }
    .workbench-bar { padding: 18px 20px; }
    .workbench-controls { padding: 24px 20px; }
    .workflow-tabs { gap: .2rem; }
    .workflow-tabs .nav-link { padding: .6rem .55rem; font-size: .8rem; }
    .tab-content > .tab-pane { min-height: 390px; }
    .workbench-controls h3 { font-size: 1.3rem; }
    .workflow-notes > div { padding-right: 12px; }
    .project-illustration { min-height: 400px; }
    .file-sheet { padding: 25px; }
    .file-sheet-front { width: 86%; }
    .file-sheet-back { height: 335px; transform: translate(20px, -15px) rotate(8deg); }
    .file-sheet h3 { font-size: 1.9rem; }
    .file-row { font-size: .8rem; }
    .community-links { flex-direction: column; gap: 0; }
    .illustrated-link { margin-block: 12px; font-size: 1.05rem; }
    .button-art { width: 100px; }
    .download-section { padding-block: 60px; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* Illustrated feature workshop. */
.feature-section { position: relative; border-top: 1px solid #2b3d48; background: radial-gradient(ellipse at 50% 0, #16313c55, transparent 65%), var(--forge-bg); }
.feature-card { overflow: hidden; border: 1px solid #3b5362; border-radius: 12px; background: linear-gradient(145deg, #172733, #0d1922 70%); box-shadow: 0 12px 30px #0003, inset 0 1px #a8c5d514; }
.feature-art { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: contain; border-bottom: 1px solid #3b5362; background: #09151e; }
.feature-card .card-body { border-top: 2px solid #6ce4f345; }
.feature-card { min-width: 0; }
.feature-section .col:nth-child(even) .card-body { border-top-color: #ffbc6855; }
.feature-card h3 { font-size: 1.4rem; line-height: 1.2; margin-bottom: 1rem; letter-spacing: -.025em; }
.feature-card p { font-size: 1rem; line-height: 1.7; }

.feature-status { display: inline-block; padding: .3rem .6rem; border: 1px solid #8b6540; border-radius: .25rem; color: var(--forge-amber); background: #ffbc680b; font-size: .875rem; font-weight: 600; }

/* Existing community buttons, relocated beneath the welcome artwork. */
.hero-community { padding-left: 0; justify-content: center; flex-direction: row; }
.hero-community::before { display: none; }
.hero-community .illustrated-link { flex: 1 1 235px; max-width: 320px; gap: 12px; margin-block: 8px; font-size: 1rem; }
.hero-community .button-art { width: 88px; }

.btn-feedback { border-color: #756348; background: #ffbc6806; }
.btn-feedback:hover, .btn-feedback:focus-visible { color: #f3dfc4; border-color: #aa8960; background: #ffbc6810; }

.navbar-identity { max-width: calc(100% - 60px); }
.navbar-identity .navbar-brand { margin-right: 0; }
.release-badge { display: inline-block; padding: .35rem .6rem; border: 1px solid #987344; border-radius: .35rem; background: #ffbc6815; color: var(--forge-amber); font-size: .8rem; font-weight: 650; line-height: 1.2; white-space: nowrap; }
.navbar-nav .btn { width: 8.5rem; display: inline-flex; justify-content: center; align-items: center; white-space: nowrap; }

.btn-source { border-color: #716784; background: #b5a1d908; }
.btn-source:hover, .btn-source:focus-visible { color: #e6ddf4; border-color: #9b88b9; background: #b5a1d914; }

.platform-actions { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .75rem; width: 100%; }
.btn-platform { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; width: 100%; padding: .75rem .4rem; color: #c8f7fb; border-color: #538d9b; background: linear-gradient(120deg, #214a57, #122b37); box-shadow: inset 0 1px #a7f3fb18; white-space: nowrap; }
.btn-platform:hover, .btn-platform:focus-visible { color: #effeff; border-color: #82ddea; background: #235365; }
.btn-platform:disabled { color: #95a1a9; border-color: #46515a; background: #19232b; opacity: .5; box-shadow: none; }

.btn-platform .platform-icon { width: 22px; height: 22px; object-fit: contain; flex-shrink: 0; }
.platform-icon-mac { filter: invert(1); }

.navbar-identity .brand-icon img { width: 42px; height: 48px; object-fit: contain; }
.brand-details .brand { white-space: nowrap; }

/* One connected website wordmark; original application images remain unchanged. */
.hero.hero-with-wordmark { padding-top: 12px; }
.mechanical-wordmark { position: relative; width: 100%; max-width: 1000px; aspect-ratio: 2172 / 420; overflow: hidden; margin-bottom: 1rem; }
.mechanical-wordmark img { position: absolute; display: block; width: 100%; max-width: none; height: auto; top: calc(-130 / 420 * 100%); left: 0; }
.forge-display { position: relative; width: 100%; max-width: 600px; container-type: inline-size; }
.forge-display .forge-art { display: block; }
.forge-version { position: absolute; left: 28%; top: 8.1%; width: 44%; height: 5.2%; display: flex; align-items: center; justify-content: center; white-space: nowrap; font-family: Consolas, monospace; font-size: 3cqw; font-weight: 700; line-height: 1; color: #30343a; text-shadow: 0 1px 0 #ffffffb3, 0 -1px 0 #191e2440; }
.platform-choice { position: relative; min-width: 0; overflow: hidden; border-radius: .35rem; }
.platform-planned { position: absolute; top: 5px; right: -25px; width: 90px; padding-block: 1px; transform: rotate(35deg); background: #dd9c48; color: #201509; box-shadow: 0 1px 4px #0006; font-size: .6rem; font-weight: 750; line-height: 1.3; text-align: center; pointer-events: none; }


/* Keep the platform row within the same measure as the welcome heading. */
.hero-copy { --hero-heading-width: 480px; }
.hero-copy #hero-title, .hero-copy .platform-actions { width: 100%; max-width: var(--hero-heading-width); }

/* Registered light-only artwork: the underlying forge never moves or brightens globally. */
.forge-display { isolation: isolate; }
.forge-lights { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; opacity: 0; mix-blend-mode: screen; transition: opacity .8s ease-in-out; }
.forge-version { z-index: 1; }
@media (hover: hover) and (pointer: fine) {
    .forge-display:hover .forge-lights { opacity: .55; transition-duration: .5s; transition-timing-function: ease-out; transition-delay: 0s; }
}

/* Subtle machined surfaces, preserving the existing button and panel geometry. */
.navbar-nav .btn {
    --metal-glow: 108, 228, 243;
    border-color: rgba(var(--metal-glow), .34);
    background-image: repeating-linear-gradient(0deg, #ffffff03 0 1px, transparent 1px 3px), linear-gradient(115deg, #263744, #182630 44%, #22323e 62%, #111c25);
    box-shadow: inset 0 1px #edf7ff1c, inset 0 -1px #0007, 0 0 8px rgba(var(--metal-glow), .025);
    transition: border-color .8s ease-in-out, box-shadow .8s ease-in-out, color .8s ease-in-out;
}
.navbar-nav .btn-feedback { --metal-glow: 255, 188, 104; }
.navbar-nav .btn-source { --metal-glow: 181, 161, 217; }
.navbar-nav .btn:hover, .navbar-nav .btn:focus-visible {
    border-color: rgba(var(--metal-glow), .8);
    box-shadow: inset 0 1px rgba(var(--metal-glow), .28), inset 0 -1px #0007, 0 0 15px rgba(var(--metal-glow), .18);
}
.hero-note li {
    --panel-light: 108, 228, 243;
    border-color: #52616c;
    border-left-color: rgba(var(--panel-light), .85);
    background: repeating-linear-gradient(0deg, #ffffff03 0 1px, transparent 1px 3px), linear-gradient(115deg, #293c47 0%, #1b2b35 67%, #37424b 67.2%, #17232c 100%);
    box-shadow: inset 0 1px #e8f7ff21, inset 0 -1px #0006, inset 3px 0 10px rgba(var(--panel-light), .045);
}

/* Accent-only title illumination with local bloom around the light sources. */
.mechanical-wordmark { isolation: isolate; }
.wordmark-lights { pointer-events: none; opacity: 0; mix-blend-mode: screen; filter: brightness(1.85) saturate(1.15); transition: opacity .8s ease-in-out; }
.mechanical-wordmark::after { content: ""; position: absolute; left: 0; top: calc(-130 / 420 * 100%); width: 100%; height: calc(724 / 420 * 100%); background: url('../img/studio/wordmark-lights-v1.png') center / 100% 100% no-repeat; pointer-events: none; mix-blend-mode: screen; filter: blur(6px) brightness(1.6); opacity: 0; transition: opacity .8s ease-in-out; }
/* Local dimming at selected emitters, never a full-image brightness filter. */
.forge-display::before {
    content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0; transition: opacity .8s ease-in-out;
    background:
        radial-gradient(ellipse 3.4% 2.4% at 22% 6.4%, #161009a6 45%, transparent 100%),
        radial-gradient(ellipse 3.4% 2.4% at 78% 6.4%, #161009a6 45%, transparent 100%),
        radial-gradient(ellipse 1% 6% at 15.2% 48.5%, #071522b8 55%, transparent 100%),
        radial-gradient(ellipse 1% 6% at 84.8% 48.5%, #071522b8 55%, transparent 100%),
        radial-gradient(ellipse 3.7% 2.4% at 22.5% 94%, #161009a6 45%, transparent 100%),
        radial-gradient(ellipse 3.7% 2.4% at 77.5% 94%, #161009a6 45%, transparent 100%),
        radial-gradient(ellipse 6% 1.2% at 50% 95.2%, #071522b8 55%, transparent 100%),
        radial-gradient(ellipse 2.3% 2.3% at 50% 45.2%, #071522a6 15%, transparent 100%),
        radial-gradient(ellipse 9% 1.4% at 50% 69.5%, #161009a6 40%, transparent 100%);
}
.forge-lights { z-index: 2; }
.forge-version { z-index: 3; }
@media (hover: hover) and (pointer: fine) {
    .forge-display::before { opacity: 1; }
    .forge-display:hover::before { opacity: 0; transition-duration: .5s; transition-timing-function: ease-out; transition-delay: 0s; }
    .mechanical-wordmark:hover .wordmark-lights { opacity: 1; transition-duration: .42s; transition-timing-function: ease-out; transition-delay: 0s; }
    .mechanical-wordmark:hover::after { opacity: .85; transition-duration: .42s; transition-timing-function: ease-out; transition-delay: 0s; }
}
