:root {
  color-scheme: dark;
  --bg: #070606;
  --bg-soft: #0d0b0b;
  --panel: #121010;
  --panel-raised: #171313;
  --text: #f5f2ef;
  --muted: #aaa2a0;
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(255, 255, 255, 0.2);
  --red: #ed1919;
  --red-bright: #ff2a20;
  --red-dark: #8d0b0b;
  --white: #fff;
  --shell: 1440px;
  --header-height: 86px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 104px;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 80% 8%, rgba(146, 10, 10, 0.1), transparent 28rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

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

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

::selection {
  background: var(--red);
  color: var(--white);
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  transform: translateY(-150%);
  border: 1px solid var(--red);
  background: #000;
  color: #fff;
  transition: transform .2s ease;
}

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

.topline {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 6px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  background: #020202;
  color: #a59e9c;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-align: center;
  text-transform: uppercase;
}

.topline a {
  margin-left: 8px;
  color: #fff;
  transition: color .2s ease;
}

.topline a:hover {
  color: var(--red-bright);
}

.status-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--red-bright);
  box-shadow: 0 0 12px var(--red-bright);
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  padding: 8px max(32px, calc((100vw - var(--shell)) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(7, 6, 6, .88);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}

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

.brand-logo {
  width: 56px;
  height: 56px;
  flex: 0 0 56px;
  object-fit: contain;
  filter: drop-shadow(0 8px 18px rgba(212, 15, 15, .25));
}

.brand-name {
  display: grid;
  color: #fff;
  font-size: .98rem;
  font-weight: 900;
  letter-spacing: .13em;
  line-height: 1.05;
  white-space: nowrap;
}

.brand-name small {
  margin-top: 5px;
  color: var(--red-bright);
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .31em;
}

.header-actions {
  grid-column: 2 / -1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(18px, 2.4vw, 40px);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 34px);
}

.main-nav a {
  position: relative;
  padding: 10px 0;
  color: #c9c3c1;
  font-size: .76rem;
  font-weight: 750;
  letter-spacing: .07em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--red-bright);
  transition: transform .28s var(--ease);
}

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

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

.language-switcher {
  display: flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .025);
}

.language-switcher button {
  width: 36px;
  min-height: 31px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #8e8785;
  cursor: pointer;
  font-size: .64rem;
  font-weight: 850;
  letter-spacing: .08em;
  transition: background .2s ease, color .2s ease;
}

.language-switcher button:hover {
  color: #fff;
}

.language-switcher button[aria-pressed="true"] {
  background: var(--red);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 45px;
  height: 42px;
  align-content: center;
  justify-items: center;
  gap: 5px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 19px;
  height: 1px;
  background: #fff;
  transition: transform .25s ease, opacity .25s ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: max(560px, 40vw);
  display: grid;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, .1) 48%, rgba(0, 0, 0, .02) 100%),
    url("assets/blackforge_hero_complete_centered_v2.webp");
  background-position: center bottom;
  background-repeat: no-repeat;
  background-size: 100% auto;
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(180deg, rgba(0, 0, 0, .18), transparent 26%, transparent 72%, rgba(0, 0, 0, .78)),
    radial-gradient(circle at 75% 51%, rgba(255, 20, 10, .11), transparent 28%);
  pointer-events: none;
}

.hero-inner {
  min-height: inherit;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  align-items: center;
  gap: clamp(20px, 5vw, 96px);
  padding-block: clamp(78px, 9vw, 128px) clamp(76px, 8vw, 112px);
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
  color: #d1cac7;
  font-size: .68rem;
  font-weight: 850;
  letter-spacing: .21em;
  text-transform: uppercase;
}

.eyebrow > span:first-child:empty {
  width: 34px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--red-bright);
  box-shadow: 0 0 12px rgba(255, 25, 20, .55);
}

.hero h1 {
  max-width: 790px;
  margin-bottom: 25px;
  color: #fff;
  font-size: clamp(3.2rem, 4.4vw, 5.15rem);
  font-weight: 900;
  letter-spacing: -.058em;
  line-height: .94;
}

.hero h1 em,
.closing h2 em {
  color: transparent;
  font-style: normal;
  -webkit-text-stroke: 1px rgba(255, 255, 255, .58);
  text-stroke: 1px rgba(255, 255, 255, .58);
}

.hero-lead {
  max-width: 650px;
  margin-bottom: 32px;
  color: #bfb8b5;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: clamp(.88rem, 1.1vw, 1rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  padding: 13px 22px;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
  transition: transform .25s var(--ease), background .25s ease, border-color .25s ease, color .25s ease;
}

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

.button-primary {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
  box-shadow: 0 12px 30px rgba(167, 0, 0, .16);
}

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

.button-ghost {
  border-color: rgba(255, 43, 32, .8);
  background: rgba(0, 0, 0, .28);
  color: #fff;
}

.button-ghost:hover {
  border-color: #fff;
  background: #fff;
  color: #0a0909;
}

.trust-points {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 24px;
  margin: 0;
  padding: 0;
  color: #c9c2bf;
  font-size: .67rem;
  font-weight: 750;
  letter-spacing: .05em;
  list-style: none;
  text-transform: uppercase;
}

.trust-points li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trust-points li::before {
  width: 5px;
  height: 5px;
  content: "";
  transform: rotate(45deg);
  background: var(--red-bright);
  box-shadow: 0 0 8px rgba(255, 35, 25, .65);
}

.hero-emblem {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: min(100%, 650px);
  visibility: hidden;
  pointer-events: none;
}

.hero-emblem::before {
  position: absolute;
  z-index: -1;
  inset: 24%;
  content: "";
  border-radius: 50%;
  background: rgba(209, 7, 7, .16);
  filter: blur(55px);
}

.hero-emblem img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  filter: drop-shadow(0 35px 35px rgba(0, 0, 0, .68));
}

.scripts-section {
  position: relative;
  padding-block: clamp(86px, 10vw, 150px);
  background:
    linear-gradient(rgba(255, 255, 255, .025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .025) 1px, transparent 1px),
    #090808;
  background-size: 72px 72px;
}

.scripts-section::before {
  position: absolute;
  inset: 0;
  content: "";
  background: radial-gradient(circle at 74% 18%, rgba(118, 0, 0, .14), transparent 28rem);
  pointer-events: none;
}

.scripts-section .shell {
  position: relative;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, .65fr);
  align-items: end;
  gap: 48px;
  margin-bottom: 46px;
}

.section-heading .eyebrow {
  margin-bottom: 14px;
}

.section-heading h2,
.closing h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 4.2vw, 4.8rem);
  font-weight: 900;
  letter-spacing: -.052em;
  line-height: .98;
}

.section-heading > p,
.closing > p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: .95rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.filter {
  min-height: 38px;
  padding: 8px 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .02);
  color: #908986;
  cursor: pointer;
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .11em;
  text-transform: uppercase;
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}

.filter:hover {
  border-color: var(--line-strong);
  color: #fff;
}

.filter.active {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

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

.script-card {
  min-height: 460px;
  display: flex;
  flex-direction: column;
  padding: clamp(27px, 3vw, 42px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(10, 9, 9, .9);
  transition: background .35s ease, transform .35s var(--ease);
}

.script-card:hover {
  z-index: 2;
  background: #131010;
  transform: translateY(-4px);
}

.script-card.featured {
  background:
    linear-gradient(135deg, rgba(160, 8, 8, .22), transparent 46%),
    #110d0d;
}

.script-card[hidden] {
  display: none;
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 38px;
}

.tag {
  display: inline-flex;
  min-height: 25px;
  align-items: center;
  padding: 4px 10px;
  border: 1px solid #3d3735;
  color: #b9b1ae;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .61rem;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.tag-red {
  border-color: rgba(255, 35, 25, .58);
  background: rgba(176, 8, 8, .17);
  color: #ff8e86;
}

.version {
  color: #6f6966;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .61rem;
  letter-spacing: .12em;
}

.script-icon,
.resource-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  border: 1px solid rgba(255, 39, 30, .48);
  background: rgba(113, 0, 0, .11);
  color: #ff5b52;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .74rem;
  font-weight: 800;
}

.script-card h3 {
  margin-bottom: 13px;
  font-size: clamp(1.35rem, 1.8vw, 1.8rem);
  letter-spacing: -.025em;
  line-height: 1.1;
}

.script-card > p {
  min-height: 72px;
  margin-bottom: 23px;
  color: #978f8c;
  font-size: .84rem;
}

.script-card ul {
  display: grid;
  gap: 10px;
  margin: 0 0 30px;
  padding: 0;
  color: #c6bfbc;
  font-size: .75rem;
  list-style: none;
}

.script-card li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.script-card li::before {
  width: 11px;
  height: 1px;
  content: "";
  background: var(--red);
}

.script-card > a,
.script-card > .details-button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
  padding-top: 18px;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: #e3dcda;
  cursor: pointer;
  font-size: .69rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-align: left;
  text-transform: uppercase;
}

.script-card > a span:last-child,
.script-card > .details-button span:last-child {
  color: var(--red-bright);
  transition: transform .2s ease;
}

.script-card > a:hover span:last-child,
.script-card > .details-button:hover span:last-child {
  transform: translate(2px, -2px);
}

.resources {
  padding-block: clamp(88px, 10vw, 150px);
}

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

.resource-card {
  position: relative;
  min-height: 610px;
  display: flex;
  flex-direction: column;
  padding: clamp(30px, 3.2vw, 48px);
  overflow: hidden;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--panel);
}

.resource-card::after {
  position: absolute;
  right: -80px;
  bottom: -100px;
  width: 260px;
  height: 260px;
  content: "";
  border: 1px solid rgba(255, 255, 255, .045);
  border-radius: 50%;
  box-shadow: 0 0 0 38px rgba(255, 255, 255, .018), 0 0 0 76px rgba(255, 255, 255, .01);
  pointer-events: none;
}

.resource-number {
  position: absolute;
  top: 24px;
  right: 28px;
  color: rgba(255, 255, 255, .09);
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 2.5rem;
  font-weight: 800;
}

.resource-card .resource-icon {
  margin-bottom: 52px;
}

.resource-card > .eyebrow {
  margin-bottom: 12px;
  color: #ee3b33;
}

.resource-card h3 {
  max-width: 320px;
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 2.7vw, 3rem);
  letter-spacing: -.045em;
  line-height: 1;
}

.resource-card > p:not(.eyebrow) {
  margin-bottom: 30px;
  color: #9e9693;
  font-size: .87rem;
}

.doc-list {
  display: grid;
  margin-top: auto;
  border-top: 1px solid var(--line);
}

.doc-list button {
  min-height: 54px;
  display: grid;
  grid-template-columns: 28px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: #c9c1be;
  cursor: pointer;
  font-size: .76rem;
  text-align: left;
}

.doc-list button > span:first-child {
  color: #6f6865;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .62rem;
}

.doc-list button i {
  color: var(--red-bright);
  font-style: normal;
}

.doc-list button:hover {
  color: #fff;
}

.support-flow {
  display: grid;
  gap: 1px;
  margin: auto 0 24px;
  padding: 0;
  background: var(--line);
  list-style: none;
}

.support-flow li {
  min-height: 56px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 14px;
  background: #100e0e;
  color: #c9c1be;
  font-size: .76rem;
}

.support-flow li > span:first-child {
  width: 24px;
  height: 24px;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  border: 1px solid rgba(255, 39, 30, .52);
  color: #ff5b52;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .61rem;
}

.text-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  color: #fff;
  cursor: pointer;
  font-size: .69rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-align: left;
  text-transform: uppercase;
}

.text-button span:last-child {
  color: var(--red-bright);
}

.release-box {
  display: grid;
  gap: 7px;
  margin-top: auto;
  margin-bottom: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  background: rgba(0, 0, 0, .22);
}

.release-box > span,
.release-box small {
  color: #7c7472;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.release-box strong {
  font-size: .95rem;
}

.store-button {
  width: 100%;
}

.closing {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .6fr);
  align-items: end;
  gap: 50px;
  padding-block: 0 clamp(95px, 11vw, 160px);
}

.closing .eyebrow {
  margin-bottom: 14px;
}

.site-footer {
  padding-block: 38px;
  border-top: 1px solid var(--line);
  background: #030303;
}

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

.footer-inner .brand-logo {
  width: 46px;
  height: 46px;
  flex-basis: 46px;
}

.footer-inner .brand-name {
  font-size: .8rem;
}

.footer-inner > p {
  margin: 0;
  color: #706967;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .67rem;
  letter-spacing: .08em;
  text-align: center;
  text-transform: uppercase;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #a49d9a;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.footer-links a:hover {
  color: #fff;
}

body.modal-open {
  overflow: hidden;
}

.product-modal[hidden] {
  display: none;
}

.product-modal {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(14px, 3vw, 42px);
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .86);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 1260px);
  max-height: min(900px, calc(100svh - 48px));
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  overflow: auto;
  border: 1px solid rgba(255, 255, 255, .18);
  background:
    linear-gradient(135deg, rgba(128, 5, 5, .11), transparent 34%),
    #0b0909;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .72);
}

.modal-close {
  position: absolute;
  z-index: 5;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, .17);
  background: rgba(5, 4, 4, .82);
  color: #fff;
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}

.modal-close:hover {
  transform: rotate(4deg);
  border-color: var(--red-bright);
  background: var(--red);
}

.modal-media {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(24px, 3vw, 44px);
  border-right: 1px solid var(--line);
  background:
    linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px),
    #070606;
  background-size: 54px 54px;
}

.modal-media-stage {
  position: relative;
  min-height: 440px;
  display: grid;
  flex: 1;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #030303;
}

.modal-image-panel,
.modal-video-panel {
  position: absolute;
  inset: 0;
}

.modal-image-panel[hidden],
.modal-video-panel[hidden] {
  display: none;
}

.modal-preview-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .62;
  filter: saturate(.9) contrast(1.07);
}

.modal-image-panel::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 20%, rgba(0, 0, 0, .1) 55%, rgba(0, 0, 0, .78));
  pointer-events: none;
}

.modal-preview-mark {
  position: absolute;
  z-index: 2;
  bottom: 28px;
  left: 28px;
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid var(--red-bright);
  background: rgba(0, 0, 0, .76);
  color: #fff;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 1rem;
  font-weight: 850;
  letter-spacing: .08em;
  box-shadow: 0 0 34px rgba(224, 12, 12, .18);
}

.modal-video-panel {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 13px;
  padding: 32px;
  background:
    radial-gradient(circle, rgba(140, 0, 0, .2), transparent 46%),
    #050404;
  color: #fff;
  text-align: center;
}

.modal-video-panel strong {
  font-size: 1.1rem;
}

.modal-video-panel small {
  max-width: 380px;
  color: var(--muted);
}

.modal-play {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  padding-left: 4px;
  border: 1px solid var(--red-bright);
  border-radius: 50%;
  background: rgba(138, 0, 0, .22);
  color: var(--red-bright);
  font-size: 1.25rem;
  box-shadow: 0 0 40px rgba(255, 25, 20, .14);
}

.media-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 12px;
}

.media-tabs button {
  min-height: 45px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  background: #0d0b0b;
  color: #88817f;
  cursor: pointer;
  font-size: .65rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.media-tabs button[aria-selected="true"] {
  border-color: var(--red);
  background: var(--red);
  color: #fff;
}

.modal-product-info {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: clamp(34px, 4vw, 64px);
}

.modal-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 48px 38px 0;
}

.modal-tag,
.modal-version {
  color: #aaa2a0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .62rem;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.modal-tag {
  padding: 5px 10px;
  border: 1px solid rgba(255, 43, 32, .5);
  color: #ff7169;
}

.modal-product-icon {
  width: 55px;
  height: 55px;
  display: grid;
  place-items: center;
  margin-bottom: 27px;
  border: 1px solid var(--red-bright);
  background: rgba(149, 0, 0, .13);
  color: #ff5d54;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .77rem;
  font-weight: 850;
}

.modal-product-info > .eyebrow {
  margin-bottom: 12px;
  color: #b6aeab;
}

.modal-product-info > h2 {
  margin-bottom: 17px;
  font-size: clamp(2.2rem, 3.4vw, 4rem);
  letter-spacing: -.05em;
  line-height: .96;
}

.modal-description {
  margin-bottom: 30px;
  color: #aaa29f;
  font-size: .9rem;
}

.modal-features {
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.modal-features h3 {
  margin-bottom: 18px;
  color: #fff;
  font-size: .67rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.modal-features ul {
  display: grid;
  gap: 11px;
  margin: 0;
  padding: 0;
  color: #c7bfbc;
  font-size: .78rem;
  list-style: none;
}

.modal-features li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-features li::before {
  width: 13px;
  height: 1px;
  content: "";
  background: var(--red-bright);
}

.modal-buy-box {
  margin-top: auto;
  padding-top: 32px;
}

.modal-buy-box p {
  margin-bottom: 15px;
  color: #7f7775;
  font-size: .7rem;
}

.modal-buy-button {
  width: 100%;
}

.toast {
  position: fixed;
  z-index: 300;
  right: 22px;
  bottom: 22px;
  max-width: min(390px, calc(100vw - 44px));
  padding: 16px 19px;
  transform: translateY(24px);
  border: 1px solid rgba(255, 43, 32, .65);
  background: rgba(10, 8, 8, .96);
  color: #fff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .45);
  opacity: 0;
  pointer-events: none;
  font-size: .78rem;
  transition: opacity .25s ease, transform .25s var(--ease);
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

.has-js .reveal {
  transform: translateY(22px);
  opacity: 0;
  transition: opacity .7s ease, transform .8s var(--ease);
}

.has-js .reveal.visible {
  transform: translateY(0);
  opacity: 1;
}

noscript {
  display: block;
  padding: 14px 24px;
  border-top: 1px solid var(--red);
  background: #160707;
  color: #fff;
  text-align: center;
}

.not-found-page {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 40px 24px;
  background-image:
    linear-gradient(90deg, rgba(0, 0, 0, .52), rgba(0, 0, 0, .18)),
    url("assets/blackforge_hero_background.webp");
  background-position: center;
  background-size: cover;
}

.not-found-card {
  width: min(100%, 760px);
  padding: clamp(30px, 6vw, 72px);
  border: 1px solid var(--line-strong);
  background: rgba(5, 4, 4, .86);
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  text-align: center;
}

.not-found-card .brand {
  justify-content: center;
  margin-bottom: 38px;
}

.not-found-card h1 {
  margin-bottom: 15px;
  font-size: clamp(3.7rem, 10vw, 7.4rem);
  letter-spacing: -.07em;
  line-height: .9;
}

.not-found-card > p {
  max-width: 540px;
  margin: 0 auto 28px;
  color: var(--muted);
}

.not-found-card .language-switcher {
  width: max-content;
  margin: 22px auto 0;
}

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

@media (max-width: 1180px) {
  .site-header {
    gap: 18px;
  }

  .header-actions {
    gap: 20px;
  }

  .main-nav {
    gap: 17px;
  }

  .main-nav a {
    font-size: .67rem;
  }

  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(300px, .7fr);
  }

  .hero h1 {
    font-size: clamp(3rem, 5.8vw, 4.7rem);
  }

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

  .resource-card:last-child {
    grid-column: 1 / -1;
    min-height: 500px;
  }
}

@media (max-width: 900px) {
  :root {
    --header-height: 76px;
  }

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

  .site-header {
    grid-template-columns: minmax(0, 1fr) auto;
    padding-inline: 20px;
  }

  .site-header > .brand {
    grid-column: 1;
    grid-row: 1;
  }

  .site-header .brand-logo {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  .nav-toggle {
    grid-column: 2;
    grid-row: 1;
    display: grid;
  }

  .header-actions {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    display: none;
    align-items: stretch;
    padding: 20px;
    border-bottom: 1px solid var(--line);
    background: rgba(7, 6, 6, .98);
  }

  .site-header.nav-open .header-actions {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 20px;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 4px;
  }

  .main-nav a {
    padding: 10px 12px;
    border: 1px solid var(--line);
  }

  .main-nav a::after {
    display: none;
  }

  .hero {
    min-height: auto;
    background-position: center bottom;
  }

  .hero-inner {
    min-height: 760px;
    grid-template-columns: minmax(0, 1.05fr) minmax(250px, .62fr);
    gap: 8px;
    padding-block: 82px 74px;
  }

  .hero-emblem {
    width: min(100%, 420px);
  }

  .hero h1 {
    font-size: clamp(2.7rem, 6.6vw, 3.8rem);
  }

  .section-heading,
  .closing {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 22px;
  }

  .section-heading > p,
  .closing > p {
    max-width: 600px;
  }

  .product-modal {
    align-items: start;
    padding: 12px;
  }

  .modal-dialog {
    max-height: calc(100svh - 24px);
    grid-template-columns: 1fr;
  }

  .modal-media {
    min-height: 450px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .modal-media-stage {
    min-height: 350px;
  }

  .modal-product-info {
    min-height: 560px;
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
  }

  .footer-inner > p {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
  }
}

@media (max-width: 680px) {
  .topline {
    justify-content: flex-start;
    overflow: hidden;
    padding-inline: 16px;
    white-space: nowrap;
  }

  .topline span:nth-child(2) {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .topline a {
    margin-left: auto;
  }

  .site-header .brand-name {
    font-size: .8rem;
  }

  .site-header .brand-name small {
    font-size: .49rem;
  }

  .site-header.nav-open .header-actions {
    grid-template-columns: 1fr;
  }

  .main-nav {
    grid-template-columns: 1fr 1fr;
  }

  .language-switcher {
    width: max-content;
  }

  .hero {
    background-image:
      linear-gradient(90deg, rgba(0, 0, 0, .2) 0%, rgba(0, 0, 0, .1) 48%, rgba(0, 0, 0, .02) 100%),
      url("assets/blackforge_hero_background.webp");
    background-position: center bottom;
    background-size: 100% auto;
  }

  .hero::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .56));
  }

  .hero-inner {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 20px;
    padding-block: 66px 72px;
  }

  .hero-copy {
    grid-row: 2;
  }

  .hero-emblem {
    grid-row: 1;
    width: min(66vw, 330px);
    margin: -20px auto -24px;
    transform: none;
    visibility: visible;
  }

  .hero h1 {
    font-size: clamp(2.4rem, 11vw, 3.35rem);
    line-height: .97;
  }

  .hero-lead {
    font-size: .8rem;
  }

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

  .button {
    width: 100%;
  }

  .trust-points {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .script-grid,
  .resource-grid {
    grid-template-columns: 1fr;
  }

  .script-card,
  .resource-card,
  .resource-card:last-child {
    grid-column: auto;
    min-height: auto;
  }

  .script-card {
    padding: 30px 26px;
  }

  .script-card > p {
    min-height: auto;
  }

  .resource-card {
    padding: 32px 26px;
  }

  .resource-card .resource-icon {
    margin-bottom: 40px;
  }

  .doc-list,
  .support-flow,
  .release-box {
    margin-top: 30px;
  }

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

  .footer-links {
    flex-wrap: wrap;
  }

  .footer-inner > p {
    grid-column: auto;
    grid-row: auto;
  }

  .modal-media {
    min-height: 340px;
    padding: 18px;
  }

  .modal-media-stage {
    min-height: 250px;
  }

  .modal-product-info {
    min-height: 520px;
    padding: 30px 24px;
  }

  .modal-meta {
    margin-right: 46px;
    margin-bottom: 26px;
  }

  .modal-product-info > h2 {
    font-size: 2.3rem;
  }

  .modal-preview-mark {
    bottom: 18px;
    left: 18px;
    width: 58px;
    height: 58px;
  }
}

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

  .brand-name {
    display: none;
  }

  .site-header .brand-logo {
    width: 52px;
    height: 52px;
    flex-basis: 52px;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10.8vw, 3.05rem);
  }

  .trust-points {
    grid-template-columns: 1fr;
  }

  .section-heading h2,
  .closing h2 {
    font-size: 2.45rem;
  }

  .filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

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

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }

  .has-js .reveal {
    transform: none;
    opacity: 1;
  }
}

.forge-spark-canvas {
  position: fixed;
  z-index: 700;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

html,
body,
body * {
  cursor: url("assets/blackforge_hammer_cursor.cur?v=2") 5 5,
    url("assets/blackforge_hammer_cursor.png?v=2") 5 5,
    auto !important;
}

a,
button,
[role="button"],
input,
select,
textarea,
label {
  cursor: url("assets/blackforge_hammer_cursor.cur?v=2") 5 5,
    url("assets/blackforge_hammer_cursor.png?v=2") 5 5,
    pointer !important;
}
